procmail
[Top] [All Lists]

Re: beginner's question

2006-10-07 07:05:42
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Zbigniew Szalbot skrev:
First of all thanks for your kindness to be willing to help me!

On Tue, 3 Oct 2006, David R. Linn wrote:

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'"

Unfortunately, none of the above seems to work. Maybe I will get more luck
asking on the exim list but thank you again for your help.

Warm regards,

--
Zbigniew Szalbot

____________________________________________________________
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

Hi,
dont know if you have tryed it, but I have useed both:

"|/usr/bin/procmail -f-"
and
"|IFS=' '&&exec /usr/bin/procmail -t ||exit 75 #USERNAME"

/ernst-magne

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFJ681DnAPBn+/v/gRAmBoAKCQ9lc6eT/67Fhg+Cb2tNyG2sig4wCgtLwl
1zTAdA4GX8wdSK7kF/11bds=
=+ml8
-----END PGP SIGNATURE-----


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