Brian Candler wrote:
Therefore if you receive an E-mail message via POP3, and wish to append
it to a Unix mbox file, then it is your own responsibility to add the
separator. If you're appending to the file using 'cat' (which is a
dangerous thing to do, considering all the issues of mailbox locking)
you can easily echo a From line as well.
formail adds an appropriate From line by default when you pipe a message
through it, so it's better to replace "cat" with "formail" than to add an
echo and try to figure out the right address and date format to echo.
Generally anyone who has procmail installed also has formail.
--
==============================| "A slice of life isn't the whole cake
Rob Funk <rfunk(_at_)funknet(_dot_)net> | One tooth will never make a full
grin"
http://www.funknet.net/rfunk | -- Chris Mars, "Stuck in Rewind"