Re: post-delivery mail filtering

2000-04-21 Thread John Hasler
Brian J. Stults writes:
> Or perhaps there's a better tool for filtering in this manner.

Take a look at mailagent.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Re: post-delivery mail filtering

2000-04-21 Thread Oswald Buddenhagen
> I would like to be able to take an existing mail spool file (e.g.
> /var/spool/mail/USER) and pass it to slocal for processing.  If I simply
> do this...
> 
> cat MAILFILE | /usr/lib/mh/slocal -user USER
> 
> ...all the messages get interpreted as one big message (no surprise
> there, as slocal is designed to be run from .forward).  So, is there a
> way to split the mail file into individual messages and filter them
> through slocal?  Or perhaps there's a better tool for filtering in this
> manner.
> 
formail -s /usr/lib/mh/slocal -user USER NEWMAILFILE
should do the trick.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Linux - the last service pack you'll ever need.


post-delivery mail filtering

2000-04-21 Thread Brian J. Stults
I would like to be able to take an existing mail spool file (e.g.
/var/spool/mail/USER) and pass it to slocal for processing.  If I simply
do this...

cat MAILFILE | /usr/lib/mh/slocal -user USER

...all the messages get interpreted as one big message (no surprise
there, as slocal is designed to be run from .forward).  So, is there a
way to split the mail file into individual messages and filter them
through slocal?  Or perhaps there's a better tool for filtering in this
manner.


Thanks.

-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452