On Fri, 25 Oct 1996, Alexander Bergolth wrote:
Is it possibe to copy any incoming mail into a folder in my
home-directory but also leave it in "/var/spool/mail/..." using procmail
in .forward?
Put this in your .procmailrc:
MAILDIR=$HOME
:0c:
my_mailfile
:0:
$ORGMAIL
How can I start procmail via .forward and which entries in .procmailrc
are necessary?
The .forward file is mentioned in the man page. It should read:
"|IFS=' '&&exec /usr/local/bin/procmail -f-||exit 75 #YOUR_USERNAME"
(Replace YOUR_USERNAME by your login.)
--
Guy Geens <guy(_dot_)geens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be>: Ph.D.
student at ELIS -- TFCG / IMEC
Home Page: http://www.elis.rug.ac.be/ELISgroups/tfcg/staff/gg.html
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use
keyserver)