procmail
[Top] [All Lists]

Re: Forward e-mail ?

2007-01-24 05:20:19
Ok. I have set the SENDMAIL=/usr/lib/sendmail

and get no errors.

What I have hard to find out is what SENDMAILFLAGS should be...

I use postfix.....



Ruud H.G. van Tol wrote:
Magnus Holmberg schreef:

I have this in my .procmailrc:

:0 c
* ^To(_dot_)*root\(_at_)mydomain\(_dot_)com
! wqclatre(_at_)anotherdomain(_dot_)com

OK, but what else (that could cause your problem) is in your procmailrc?


:0
* ^To(_dot_)*root\(_at_)mydomain\(_dot_)com
$MAILDIR/

Delivery paths are relative to MAILDIR already, so a ./ would mean the
same.


But the forwarding to ! wqclatre(_at_)anotherdomain(_dot_)com don't work

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

Can someone help me out?

See 'man procmailrc', SENDMAIL and SENDMAILFLAGS. Maybe your procmail is
compiled without proper settings of those?


____________________________________________________________
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>