procmail
[Top] [All Lists]

Re: empty line required at end of body?

2004-03-10 09:31:02
On Wed, Mar 10, 2004 at 08:12:46AM -0800, Gary Funck wrote:


In this filter action,

# Delete the body, and add a message
:0 fbi
| echo; echo "Dangerous file attachment deleted."; echo

the first 'echo' is there only for aesthetic reasons. It isn't needed,
because
there will be a preceding blank line already which terminates the
mail header. I added the final 'echo' though with belief that
a well-formed message body must always end with a blank line.
Is that the case?

'echo' will normally append a newline (unless -n is specified), so the
last 'echo' isn't necessary.

Scott
-- 
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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