Re: filtering email via perl?

2001-06-07 Thread will trillich
On Tue, Jun 05, 2001 at 12:59:17PM -0500, Dave Sherohman wrote: 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 don't know what MTA you use, but if you're on speaking terms with exim, it's

Re: filtering email via perl?

2001-06-07 Thread will trillich
exim filter is pretty nice. nearly spot-on what i was looking for. and yet... On Wed, Jun 06, 2001 at 10:23:07PM +0200, Mark Weinem wrote: Filtering e-mail with perl: * mailagent http://search.cpan.org/search?mode=distquery=mailagent okay, i've got mailagent, and i can

Re: filtering email via perl?

2001-06-07 Thread Dave Sherohman
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 don't know what MTA you use, but if you're on speaking terms with exim, it's got a pretty good set of filtering capabilities that you can just put

filtering email via perl?

2001-06-07 Thread will trillich
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 access to you average script-kiddie, so mailagent makes me nervous...) how can

Re: filtering email via perl?

2001-06-07 Thread D-Man
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. You might want to try 'filter' then, it's part of the elm distribution. I don't know if it is packaged for Debian or not. | i've seen people post

Re: filtering email via perl?

2001-06-07 Thread Erik Steffl
will trillich wrote: ... how can i use perl to break emails into various mailfolders? I remember seeing something fairly capable in perl journal, don't remember the name, check the cpan.org erik

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: filtering email via perl?

2001-06-07 Thread Mark Weinem
On Wed, 06 Jun 2001, will trillich wrote: I don't know what MTA you use, but if you're on speaking terms with exim, it's got a pretty good set of filtering capabilities that you can just put into .forward. Not perl, though. but it uses the same regex engine that perl does, and the syntax

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: filtering email via perl?

2001-06-07 Thread Mark Weinem
On Tue, 05 Jun 2001, USM Bish wrote: 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 getmail is a POP3 mail retriever ... It is intended as a replacement

Re: filtering email via perl?

2001-06-07 Thread ANDREW PERRIN
The appropriate perl places are www.cpan.org; look particularly for the Mail:: modules. They'll do all you need. Also, there's often an ad in the Perl Journal for some commercial product that uses perl as a filtering language; I haven't looked at it though.

Re: filtering email via perl?

2001-06-07 Thread Walt Mankowski
On Tue, Jun 05, 2001 at 10:25:26AM -0500, will trillich wrote: how can i use perl to break emails into various mailfolders? Take a look at Mail::Audit, available on CPAN. The author, Simon Cozens, has written an introduction that's available online at

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