[plug] mail forwarding.

Andrew Francis lists at sullust.net
Sun May 19 10:14:54 WST 2002


On Sun, May 19, 2002 at 10:05:41AM +0800, Andrew Francis wrote:
> Formail (which usually comes with procmail) has an option to split up a
> mailbox and pipe each message to a command. So something along the lines
> of (completely untested btw :)
> 
> cat /var/spool/mail/mymailspool | procmail -s /usr/bin/sendmail -oi <myaddress>

Doh. That should be formail, not procmail.

-- 
Andrew Francis          | To email me, get | ASCII ribbon campaign ( ) 
Perth, Australia        | the real address |    against HTML email  X
http://www.sullust.net/ | from my homepage |   http://arc.pasp.de/ / \



More information about the plug mailing list