Chances are, this error is caused by the "From ..." line added by your
MTA.  You can either configure the MTA not to add this line, or you can
add this to the top of your procmailrc:

:0hfw
| /usr/bin/formail -I "From "

hope that helps :)


On Mon, 17 Feb 2003, Louis LeBlanc wrote:

> Hey all.  I'm having some trouble with delivery using a new
> sendmail/procmail/deliver scheme.
>
> Everything seems to go fine up to the call to deliver.  procmail is
> executing as the recipient uid (running in explicit delivery mode) and
> calling deliver at the end of processing.
>
> This is how deliver is being called from ~/.procmailrc:
>
> :0 w
> * FOLDER ?? .
> | /usr/local/cyrus/bin/deliver -q -m "$FOLDER" -- "$LOGNAME"
>
> # Only if there was no extension do we try this
> :0 wE
> | /usr/local/cyrus/bin/deliver -q -- "$LOGNAME"
>
> # Whichever one we tried, failed
> EXITCODE = $?
> HOST
>
>
> This is what shows up in the procmail log:
>
> procmail: Executing "/usr/local/cyrus/bin/deliver,-q,--,leblanc"
> procmail: Program failure (65) of "/usr/local/cyrus/bin/deliver"
> procmail: Assigning "LASTFOLDER=/usr/local/cyrus/bin/deliver -q -- leblanc"
> procmail: Assigning "EXITCODE=65"
> procmail: Assigning "HOST"
>
>
> I vaguely remember seeing exitcode discussed here, but I'm not sure.
> It isn't discussed in the deliver manpage at all either.
>
> I don't think it can have anything to do with being called as the
> recipient, because I've run tests where I save a message to a flat
> file then pipe it directly into the call as above.  No problems.
>
> Anyone have any ideas?
>
> TIA
> Lou
> --
> Louis LeBlanc               [EMAIL PROTECTED]
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> http://www.keyslapper.org                     ԿԬ
>
> Reisner's Rule of Conceptual Inertia:
>   If you think big enough, you'll never have to do it.
>
>
>

Reply via email to