Subject: Re: filtering email via perl?

2001-06-07 Thread USM Bish
Not quite sure about a perl substitute for procmail. In case python suffices, there is a pretty decent e-mail filter called getmail hosted on freshmeat in python. The tarball is about 33k only. The docs are good. Worth a try I have been using it for a few months now. No probs :) USM Bish

Re: Subject: Re: filtering email via perl?

2001-06-07 Thread Martin Würtele
On Wed, Jun 06, 2001 at 11:47:10AM -0300, John R Lenton wrote: if you use exim, read /usr/share/doc/exim/filter.txt.gz an example: # debian-user if $message_headers contains debian-user@lists.debian.org then save /home/john/Mail/Linux/debian-user finish endif

Re: Subject: Re: filtering email via perl?

2001-06-07 Thread will trillich
On Wed, Jun 06, 2001 at 04:53:23PM +0200, Martin W?rtele wrote: On Wed, Jun 06, 2001 at 11:47:10AM -0300, John R Lenton wrote: if you use exim, read /usr/share/doc/exim/filter.txt.gz an example: # debian-user if $message_headers contains debian-user@lists.debian.org then

Re: Subject: Re: filtering email via perl?

2001-06-07 Thread Dave Sherohman
On Wed, Jun 06, 2001 at 03:04:02PM -0500, will trillich wrote: query: does seen save ... stop processing as if you'd said finish? seen save is actually redundant. seen finish stops processing as if you'd said save, which is to say that exim considers dlivery to be complete. finish

Re: Subject: Re: filtering email via perl?

2001-06-07 Thread John R Lenton
On Wed, Jun 06, 2001 at 03:04:02PM -0500, will trillich wrote: query: does seen save ... stop processing as if you'd said finish? yes, and they're both redundant: save ... would be sufficient. If you're really paranoid, you'd use seen save ... *and* finish :) Actually, I put the

Re: Subject: Re: filtering email via perl?

2001-06-07 Thread John R Lenton
On Tue, Jun 05, 2001 at 10:25:26AM -0500, will trillich wrote: okay. procmail and i are getting a divorce. we just don't see eye-to-eye any more. i've seen people post actual perl code here, which somehow filters their email. is that mailagent? (i don't want to give command-line