[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] New fetchmail conduit?




> 	I wouldn't bother, personally. Mailbox format is exceedingly
> simple: just a "From " line, a bunch of header lines (with some simple
> sanity-checking), a blank line, and the body of the message. Hardly
> worth installing a new module.

	There's always the various Mail::Mbox perl modules also.

	It's important to note that the string is 'From ' and not 'From:'
(note the space after the From, both strings should be included in each
message). Also, things get complicated when someone forwards a mail message
in the body of another, and includes the headers in that forwarded message
(bounce messages frequently do this). Your regex must be smart enough to be
able to exclude this as a new message.



/d



-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.