Beg your patience with me. I am willing and trying to learn but these are
my first steps with procmail under FreeBSD 6.1. I have put the following
in the .forward file:
"|exec /usr/local/bin/procmail || exit 75"
And I get this error when I try to send mail to a user where procmail
should do some action:
2006-10-03 14:51:03 1GUjji-0008lE-Oc ** |exec /usr/local/bin/procmail ||
exit 75 <ADDRESS_GOES_HERE> R=userforward
T=address_pipe_local:
"exec" command not found for address_pipe_local transport
Perhaps I should also add that I use exim 4.63.
Sadly, there is a lot of ancient advice about procmail still floating
around the Internet. The advice above was written in the context of
Sendmail calling /bin/sh to handle writes to pipes (i.e. the "prog"
mailer in sendmail). The string following the "|" symbol is actually
a shell command, i.e. "execute /usr/local/bin/procmail or exit with
a status of 75 if you are unable to do so".
It looks like exim is trying the execute the "exec" command by finding
and invoking a program named "exec" but there is no such program; "exec"
is a command built-in to the Bourne shell and its workalikes.
Try changing your .forward entry to
"|/usr/local/bin/procmail"
or
"|/bin/sh -c 'exec /usr/local/bin/procmail || exit 75'"
____________________________________________________________
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