procmail
[Top] [All Lists]

Re: shell errors

2013-09-10 09:28:24

On 10 Sep 2013, at 02:32 , Erik Christiansen 
<dvalin(_at_)internode(_dot_)on(_dot_)net> wrote:

If the logging doesn't cast enough light, I'd comment each one out in
turn, to rule it out. (Or half to begin with, to halve the search.)
If none of them are the culprit, things become even more interesting.

The bash error was the read herring<1> that made tracking this down difficult. 
This is the line that caused the failure very late in the .procmailrc (the line 
is near the top):

TRAP='echo ""; formail -bl "$LASTFOLDER" ;echo "    Spam: $SPAM; echo 
"Deliverd: $LONGDATE$NL";'

It should read

TRAP='echo ""; formail -bl "$LASTFOLDER" ;echo "    Spam: $SPAM"; echo 
"Deliverd: $LONGDATE$NL";'


<1> that's a pun! A twisted, torturous pun!

That TRAP was overridden in nearly all cases, so it was only when a message 
fell through all the recipes to the end that it triggered. I found it before it 
triggered.

-- 
Were it not for frustration and humiliation
I suppose the human race would get ideas above its station.
   -Ogden Nash


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