procmail
[Top] [All Lists]

Re: Formail /"mail" will not send mail out

2008-10-10 21:04:56
At 18:36 2008-10-10 +0200, Remien, Carsten wrote:
Hi Sean,

thanks a lot, it works now:

I have enabled the Shell in the global /etc/procmailrc file, and changed a little bit in the script.

IMO, the global /etc/procmailrc is NOT the place to set the shell for the heck of it, esp since you'd be overriding the shell which valid users would expect to have (when so equipped). When /etc/procmailrc needs a shell, I'd PRESERVE the original SHELL, then restore it on completion of the rcfile:

ORGSHELL=$SHELL
SHELL=/bin/sh
...
SHELL=$ORGSHELL
ORGSHELL=


---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

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