Elliot Wilen | 1 Jun 2007 02:29
Favicon

unsubscribing users through web interface

After successfully migrating the mail server to CGate Pro, I'm now learning the ins & outs of the LIST module
so I can retire Macjordomo and the old Mac that's still running it.

One thing I'm seeing is that when someone is subscribed to a mailing list, I can't get them to disappear from
the list of subscribers even after I check their name and hit the "unsubscribe" button. All that happens is
their Mode becomes "unsub".

I assume this does mean that they're treated as "not subscribed" for any reason (i.e., posting and
receiving messages from the list)?

But is there also a way to purge them entirely?

Thanks in advance.

Elliot Wilen
--

-- 
Network Administrator
Postmaster
MPR Associates, Inc.
Berkeley, CA

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

(Continue reading)

Brian Gibson | 1 Jun 2007 03:08

Re: unsubscribing users through web interface

There is a setting called "Cleanup List every" within each mailing 
list and by default it is set to 24 hours. You are right, when it says 
that someone is listed as "unsub" in the Mode column it means they 
will not get any new messages.

I thought this settings was a little corny the first time I ran into 
but it has been useful in a few situations where I removed people and 
had to quickly resubscribe them...... who knew?

On 31 May 2007 17:29:34 -0700
  Elliot Wilen <ewilen <at> mprinc.com> wrote:
> After successfully migrating the mail server to CGate Pro, I'm now 
>learning the ins & outs of the LIST module so I can retire Macjordomo 
>and the old Mac that's still running it.
> 
> One thing I'm seeing is that when someone is subscribed to a mailing 
>list, I can't get them to disappear from the list of subscribers even 
>after I check their name and hit the "unsubscribe" button. All that 
>happens is their Mode becomes "unsub".
> 
> I assume this does mean that they're treated as "not subscribed" for 
>any reason (i.e., posting and receiving messages from the list)?
> 
> But is there also a way to purge them entirely?
> 
> Thanks in advance.
> 
> Elliot Wilen
> -- 
> Network Administrator
(Continue reading)

Favicon

Re: Timeout for Java API ?

Hello,
  Pascal Robert on 31.05.2007 19:51 wrote:

> We are using the Java API in a custom control panel that we did, and I 
> was told that after a couple of minutes, people lost their connection.  
> I get those errors :
> 
> com.stalker.CGPro.CGProException: ListAccounts cimmaintenance.com: Can't 
> read from stream, Connection reset
> 
> and :
> 
> [2007-05-31 11:13:42 EDT] <WorkerThread0> 
> com.webobjects.foundation.NSForwardException for 
> java.lang.NullPointerException
>     at com.stalker.CGPro.CGProCLI.parseResponseNoExc(CGProCLI.java:210)
>     at com.stalker.CGPro.CGProCLI.parseResponse(CGProCLI.java:231)
>     at com.stalker.CGPro.CGProCLI.logout(CGProCLI.java:69)
> 
> On the server side, I get :
> 
> 11:13:41.69 3 PWD-00059([192.168.3.143]) read failed. Error Code=read 
> time-out
> 11:13:41.69 2 PWD-00059([192.168.3.143]) 'postmaster <at> cimmaintenance.com' 
> disconnected ([192.168.3.143:62042])
> 11:13:41.76 4 PWD-00059([192.168.3.143]) closing connection
> 11:13:41.76 4 PWD-00059([192.168.3.143]) releasing stream
> 11:13:56.00 5 PWD stream thread finished
> 
> How can I let the connection open for an hour ?
(Continue reading)

ish Support | 1 Jun 2007 08:06
Picon
Favicon

Re: External Processing

Hello

FreeBSD SERVER.com.au 4.11-RELEASE FreeBSD 4.11-RELEASE #1: Mon Mar 28 02:05:24 EST 2005     

Server OS: FreeBSD  
Server Hardware: Intel (32-bit)  
Server Version: 4.3.12  
MAPI Version: 1.1.22

my scripting experience is limited, this I am trying to run is a bash script.

what would be a good test script?

thanks


On 29/05/2007, at 5:29 PM, Technical Support wrote:

Hello,

ish Support wrote:
Hello
0:35:27.58 2 QUEUE([1350015]) from <est <at> testdomain.com.au <mailto:est <at> testdomain.com.au>>, 2026 bytes (<49432.203.29.62.183.1180398926.squirrel <at> est <at> testdomain.com.au>)
10:35:27.58 2 ENQUEUERRULES [1350015] rule(est <at> testdomain.com.au <mailto:est <at> testdomain.com.au>) action #1: launching external task: /var/CommuniGate/Scripts/findalias
10:35:27.70 1 ENQUEUERRULES [1350015] rule(est <at> testdomain.com.au <mailto:est <at> testdomain.com.au>) action #1: external task failed: Error Code=external processing failed
10:35:27.70 1 ENQUEUER-01([1350015]) Server rules failed: Error Code=external processing failed
Same error, same problem. :0
As far as can I tell, this is an execution problem, because I have the script echoing some output into a log first thing and nothing is in that log, so it's not even  been run/executed.

What is the OS and CGPro version?

Can you try setting up some test CGI scripts and see if those can be run at all?

Thanks for your assistance.
On 28/05/2007, at 4:54 PM, Technical Support wrote:
Hello,

ish Support wrote:
Hello
I am trying to get some e-mails processed by an external script but it constantly fails/does not work.
11:43:45.95 2 ENQUEUERRULES [1347473] rule(list.ish.com.au) action #1: launching external task: | /var/CommuniGate/Scripts/./findalias >> /var/log/cgate.log
11:43:46.07 1 ENQUEUERRULES [1347473] rule(list.ish.com.au) action #1: external task failed: Error Code=external processing failed
11:43:46.07 1 ENQUEUER-01([1347473]) Server rules failed: Error Code=external processing failed
now, as this states
"The specified command is executed in a separate OS process (task).
The message text (the header and the body) is sent to the task as that task standard input (stdin).
Note: the task must read the entire stdin data stream, otherwise the Execute command fails."
the command as you can see I have in the cgate rule is "| /var/CommuniGate/Scripts/./findalias >> /var/log/cgate.log" so, my thoughts are that this will take the stdin and process that e-mail, obviously with this error it's not doing that.

The syntax

| /var/CommuniGate/Scripts/./findalias >> /var/log/cgate.log

is not acceptable by CGPro. CGPro expects a name for the external task, nothing more (including _shell_ output redirection commands.)

Try to create a shell script out of this and pass only the path to that script. The pipe symbol is not needed (it's assumed, unless the rule action parameter includes [FILE] prefix.)

what I need to know is, what should the command look like, or how do I get this to process correctly feeding STDIN into that script.
thanks


-- 
Best regards,
Dmitry Akindinov

=======================================================================
When answering to letters sent to you by the tech.support staff, make
sure the original message you have received is included into your
reply.

#############################################################
This message is sent to you because you are subscribed to
 the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

-------------------------->
ish
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001

Pascal Robert | 1 Jun 2007 14:07
Picon
Favicon

Re: Timeout for Java API ?


Le 07-05-31 à 21:16, Technical Support, Stalker Labs a écrit :

> Hello,
>  Pascal Robert on 31.05.2007 19:51 wrote:
>
>> We are using the Java API in a custom control panel that we did,  
>> and I was told that after a couple of minutes, people lost their  
>> connection.  I get those errors :
>> com.stalker.CGPro.CGProException: ListAccounts cimmaintenance.com:  
>> Can't read from stream, Connection reset
>> and :
>> [2007-05-31 11:13:42 EDT] <WorkerThread0>  
>> com.webobjects.foundation.NSForwardException for  
>> java.lang.NullPointerException
>>     at com.stalker.CGPro.CGProCLI.parseResponseNoExc(CGProCLI.java: 
>> 210)
>>     at com.stalker.CGPro.CGProCLI.parseResponse(CGProCLI.java:231)
>>     at com.stalker.CGPro.CGProCLI.logout(CGProCLI.java:69)
>> On the server side, I get :
>> 11:13:41.69 3 PWD-00059([192.168.3.143]) read failed. Error  
>> Code=read time-out
>> 11:13:41.69 2 PWD-00059([192.168.3.143])  
>> 'postmaster <at> cimmaintenance.com' disconnected ([192.168.3.143:62042])
>> 11:13:41.76 4 PWD-00059([192.168.3.143]) closing connection
>> 11:13:41.76 4 PWD-00059([192.168.3.143]) releasing stream
>> 11:13:56.00 5 PWD stream thread finished
>> How can I let the connection open for an hour ?
>
> What for? If you're doing nothing then you should close the  
> connection.

I have people that create accounts with the control panel, go get a  
coffee, and try to create new accounts after :-)

> >  I didn't see any
>> settings for setting the timeout in the API or the PWD settings on  
>> the server.
>
> The PWD timeout is 5 minutes, and you can't change it. To keep a  
> connection open you should send something to the server every 4  
> minutes.

I guess the other solution would be to create a connection for every  
action and close it when it done, but it will add a small delay ?

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

Jeff Wark | 1 Jun 2007 15:44
Favicon

Scanning outgoing email for spam

We are currently looking at scanning outgoing email for spam due to a couple compromised computers that
caused a bit of grief.

I was just wondering if anyone had a method for doing it.  If mail from a local, client IP address is determined
to be spam, what 
would you do with it at that point?

Options:
1.  Reject it -- bounce back to the legitimate customer and they can modify and resend it...rare.
2.  Reject it -- bounce it back to some poor guy whose email address just happened to be used by the virus that is
sending the 
email...probable.
3.  Discard it -- bad if the email would otherwise fall under option 1...disappearing email is what makes me
dislike hotmail.com
4.  Tag as spam and send -- Still in the same boat as doing nothing because 10000 emails will get sent and we'll
be blacklisted 
anyways.

Geez, this makes me want a 'holding queue' in CommuniGate that can be sanity checked and cleared or released
as required.  That 
would be cool.

Jeff Wark
TBayTel Internet

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

Hanz Makmur | 1 Jun 2007 15:45
Picon
Favicon

mail loops due bad MX

I have been getting mail loops which should not have happened in the  
first place.

The log files show as follow:

08:15:42.554 1 QUEUE([58084777]) too many hops(50). aborting all  
active addresses
08:15:42.554 1 QUEUE([58084777]) Enqueueing failed: Error Code=mail  
loop: too many hops (too many 'Received:' header fields)
08:15:42.554 1 DEQUEUER [58084777] SYSTEM(networkguardian.com) 
moritzsherill <at> networkguardian.com failed: mail loop: too many hops  
(too many 'Received:' header fields)

#host -tmx networkguardian.com networkguardian.com mail is handled by  
0 127.0.1.50.

If you look at the mx record of networkguardian.com you see it points  
back to illegal number. It seems the name expired 30-MAY-07 and the  
people who handled the DNS unwisely assign the MX to 127.0.1.50.
see https://secure.registerapi.com/order/renew/auto.php? 
domain=networkguardian.com&siteid=&campn=expired

Suggestions on how to prevent such loops?

Hanz

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

Lyle Giese | 1 Jun 2007 15:57
Favicon

Re: mail loops due bad MX

You have a listener on 127.0.0.1/8. (yes, the loopback address is a /8
in reality) So your OS thinks 127.0.1.50 points back to itself, but
CGPro does not and tries to send it to 127.0.1.50, which is itself.

And 127.0.1.50 is not an illegal ip address. You could null route
networkguardian.com, but that does not fix the underlying issue.

My question would be, do you need an smtp listener on 127.0.0.1?

Lyle

Hanz Makmur wrote:
> I have been getting mail loops which should not have happened in the
> first place.
>
> The log files show as follow:
>
> 08:15:42.554 1 QUEUE([58084777]) too many hops(50). aborting all
> active addresses
> 08:15:42.554 1 QUEUE([58084777]) Enqueueing failed: Error Code=mail
> loop: too many hops (too many 'Received:' header fields)
> 08:15:42.554 1 DEQUEUER [58084777]
> SYSTEM(networkguardian.com)moritzsherill <at> networkguardian.com failed:
> mail loop: too many hops (too many 'Received:' header fields)
>
> #host -tmx networkguardian.com networkguardian.com mail is handled by
> 0 127.0.1.50.
>
> If you look at the mx record of networkguardian.com you see it points
> back to illegal number. It seems the name expired 30-MAY-07 and the
> people who handled the DNS unwisely assign the MX to 127.0.1.50.
> see
> https://secure.registerapi.com/order/renew/auto.php?domain=networkguardian.com&siteid=&campn=expired
>
>
> Suggestions on how to prevent such loops?
>
> Hanz
>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list <CGatePro <at> mail.stalker.com>.
> To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
> To switch to the DIGEST mode, E-mail to
> <CGatePro-digest <at> mail.stalker.com>
> To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
> Send administrative queries to <CGatePro-request <at> mail.stalker.com>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

Picon

Re: Scanning outgoing email for spam

Try Microworld MailScan 5 for CGatePro...

-----Mensaje original-----
De: CommuniGate Pro Discussions [mailto:CGatePro <at> mail.stalker.com] En
nombre de Jeff Wark
Enviado el: Viernes, 01 de Junio de 2007 08:44 a.m.
Para: CommuniGate Pro Discussions
Asunto: Scanning outgoing email for spam

We are currently looking at scanning outgoing email for spam due to a
couple compromised computers that caused a bit of grief.

I was just wondering if anyone had a method for doing it.  If mail from
a local, client IP address is determined to be spam, what would you do
with it at that point?

Options:
1.  Reject it -- bounce back to the legitimate customer and they can
modify and resend it...rare.
2.  Reject it -- bounce it back to some poor guy whose email address
just happened to be used by the virus that is sending the
email...probable.
3.  Discard it -- bad if the email would otherwise fall under option
1...disappearing email is what makes me dislike hotmail.com 4.  Tag as
spam and send -- Still in the same boat as doing nothing because 10000
emails will get sent and we'll be blacklisted anyways.

Geez, this makes me want a 'holding queue' in CommuniGate that can be
sanity checked and cleared or released as required.  That would be cool.

Jeff Wark
TBayTel Internet

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com> To switch to
the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro <at> mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off <at> mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest <at> mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index <at> mail.stalker.com>
Send administrative queries to  <CGatePro-request <at> mail.stalker.com>


Gmane