procmail
[Top] [All Lists]

How can I forward an email?

2010-07-07 14:14:43
Howdy :-)

I'm using debian stable with procmail (v3.22-16) and postfix (v2.5.5-1.1).

cat /etc/procmailrc

SHELL=/bin/bash
DEFAULT=$HOME/Maildir/
MAILDIR=$HOME/Maildir

(my mail forders are: $HOME/Maildir/cur new tmp)

cat /etc/postfix/main.cf

[...]
mailbox_command = /usr/bin/procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/
MAILDIR=$HOME/Maildir
[...]

In /home/user1/ I've .procmailrc so:

SHELL=/bin/bash
DEFAULT=$HOME/Maildir/
MAILDIR=$HOME/Maildir/
LOGFILE=$HOME/procmail.log
VERBOSE=on
#:0:
#* ^(From)*.*yahoo.com*
user2

I don't understand why user2 doesn't receive nothing..

what it the exact rule to forward (or better, duplicate an email) and send
it also another email address?

thanks

Pol

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>