procmail
[Top] [All Lists]

Re: Forward file problems

1998-09-10 11:44:58
I've got procmail running, but in my .forward file I'm trying to set it 
up so that all email coming in gets sent to a general account and a copy 
stays in the original account.

Mail to Joe, gets sent to Help and a copy stays in Joe.

\joe
help

will make a copy in joe's inbox and send a copy to user help.

"|IFS=' '&&p=/usr/local/bin/procmail&&test -f $p&&exec $p -Yf-||exit 75 #joe#"
help

will run procmail for user joe and send a copy to user help.

--
Geir Johannessen          #  joge(_at_)stud(_dot_)ntnu(_dot_)no
E B Schieldropsvei 35-25  #  http://www.stud.ntnu.no/~joge/
N-7033 TRONDHEIM, NORWAY  #  Tlf private +47-73888989, job +47-73598048
"All great discoveries are made by mistake."

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