procmail
[Top] [All Lists]

Re: Sendmail having trouble calling procmail

1998-04-22 11:48:15
On Wed, Apr 22, 1998 at 06:53:15PM +0200, Ralph SOBEK wrote:

      Sometimes we have network problems such that the call of
procmail in my .forward file:

      "|/usr/local/bin/procmail -t -f -"

causes sendmail to abort with a mailer 1 error, because procmail was
inaccessible due to automount network problems.

    Yup.  You don't have an alternative code to return to
sendmail if procmail fails.

Is there a safe way to just have the mail fallback to the main
mailbox?  What is that "|| exit 75" code that I see in some examples?

    The "|| exit 75" returns a temporary (instead of permanent)
error to sendmail, causing it to queue the message and attempt
to deliver it to your mailbox again at a later time.

    Trust me, you want this, for precisely the reasons you have
noted.

-- 
Brad Knowles                           _                       _ 
brad(_at_)colltech(_dot_)com                     |_| C o l l e c t i v e |_|
http://www.colltech.com               |_     technologies      _|
"Managing Systems and Networks"         [] A Pencom Company  []