fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Where's my From line gone?

2004-04-28 09:03:18
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"