At 02:09 2001-12-01 +0400, George Chelidze did say:
when I send test mail to my account with the following body:
Content-Type: audio/x-wav;
name="DOC.DOC.pif"
Note this is a very SMALL message. Send yourself a large message that
contains this text, and you'll watch the problem manifest in your test message.
Within the invocation of formail you're using, formail has no reason to
read the whole message - it's reading just the headers so it can get what
it needs. Buffering allows the small message body to "go along for the
ride", and doesn't generate a write error. A larger message body (or if
you had more headers) however would not fit into the read buffer, and would
cause the write error to appear.
it works fine and I get back my warning message. but when it handles
infected message, I get the error in my logs. I cant understand what is the
difference and why I get this error. Maybe someone can help me with it. here
are logs:
See 'man procmailrc'. Check the clue in your log.
Add 'i' to the flags on the recipe invoking formail. 'h' would probably be
appropriate as well, since you know you're discarding the body in the
process of generating your reply - so why unncessarily provide it to the
filter?
procmail: Error while writing to " (formail -r -I"Subject: Virus Alert";\
^^^^^^^^^^^
-Sean ( I can't help myself ) Straw
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail