procmail
[Top] [All Lists]

Re: body striped from forwarded messages

2007-10-15 12:59:45
David Gessel schreef:

I was trying to amend Nic's Spam-X script to add some preprocessing
and spam checking.  It was working fine - that is delivering mail to
appropriate folders and doing spam checks -  but then an odd thing
started happening (really, for no apparent reason).  If any of the
pre-filtering was triggered (by the grep tests, see the script below)
it caused the mail to be delivered (to the correct folder) without
any body (that is just the message head, the body blank).  The
save_all file showed the full message (no mail was lost) but the
delivered message had nobody.


Brrr, what a very unattractive setup this is. I am very much tempted to
say you should throw it away.



Pay attention to these lines:

procmail: Extraneous filter-flag ignored
procmail: Assigning "FROM="
procmail: Executing "$FORMAIL -rzxTo:|$TR / _"


And to these:

procmail: Match on ! "^Content-Length:"
procmail: Executing "/usr/local/bin/formail,-a,Content-Length:
0000000000"



Just two of all the questions that came up:
- why set a PATH and later just clear it again?
- why deliver to $DEFAULT with and without locking?


/me away, washing hands

-- 
Groet, Ruud
____________________________________________________________
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>