procmail
[Top] [All Lists]

Re: procmail and sendmail problem? messages in 'mailq'

1996-09-13 14:46:17
"Timothy J. Luoma" <luomat(_at_)nerc(_dot_)com> writes:

I'm having trouble, I think, but I can't figure out exactly what's
wrong.  I'm also not sure what to give as dianostic information, so if
I've left something out, please bear with me. 


I've got a .forward setup to run 'procmail' :

"|IFS=' '&&p=/usr/local/bin/procmail&&test -f $p&&exec $p -Yf-||exit 
75 #luomat"

(that's all one long line in .forward)

I've got a bunch of messages piling up in the mailq, and they seem to
be saying something about that .forward 

VAA10755     1906 Tue Sep 10 21:58 <uucp(_at_)antigone(_dot_)com>
                (Deferred)
                                  "|IFS='
'&&p=/usr/local/bin/procmail&&test -f
...


This would occur if /usr/local/bin/procmail didn't exist, was the wrong
type of binary (i.e., was compiled under the wrong OS), or if procmail
exited with a non-zero exit code.  What happens if you type:

        echo 'From: someone' | /usr/local/bin/procmail -Yf-

on the machine handling mail?  If if says "Command not found", then you
need to fix the path to procmail in the .forward file.  If it says
something like "not an executable" or "invalid file format", then you
need to recompile procmail on the correct machine.  If it finds it,
then you need to stare at your .procmailrc to see why it's failing
to deliver the message.

Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>