On Wed, Jan 24, 2007 at 09:54:12AM +0100, Magnus Holmberg wrote:
I have this in my .procmailrc:
:0 c
* ^To(_dot_)*root\(_at_)mydomain\(_dot_)com
! wqclatre(_at_)anotherdomain(_dot_)com
:0
* ^To(_dot_)*root\(_at_)mydomain\(_dot_)com
$MAILDIR/
But the forwarding to ! wqclatre(_at_)anotherdomain(_dot_)com don't work
Do you have rights to $SENDMAIL ? What is the value of
$SENDMAIL ?
LOG = "The \$SENDMAIL here is
`ls -lL $SENDMAIL`
"
In the log I get:
procmail: Match on "^To:(_dot_)*root\(_at_)mydomain\(_dot_)com"
procmail: Executing ",wqclatre(_at_)anotherdomain(_dot_)com"
procmail: Assigning "LASTFOLDER= wqclatre(_at_)anotherdomain(_dot_)com"
procmail: Match on "^To:(_dot_)*root\(_at_)mydomain\(_dot_)com"
/bin/sh: : No such file or directory
You've set $MAILDIR to someplace that doesn't exist. Fix it.
Also, you do not need to quote the @ symbol in procmail.
(That doesn't cause an error, though.)
Dallman
____________________________________________________________
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