[plug] Recommended local mail access method

Cameron Patrick cameron at patrick.wattle.id.au
Mon Nov 1 13:51:19 WST 2004


Craig Ringer wrote:

> I've written a Python script for use at that POST that can read an mbox
> or a maildir and upload it to the mail server. It's smart enough to
> write out any messages that failed to upload to a separate mbox file. It
> tells you what it's doing and gives you details on each failed message.
> It supports importing a list of mailboxes, and supports IMAP proxy-auth
> (so you can log in as the admin but essentially "be" a user). It also
> corrects a few common problems with messages, such as incorrect use of
> just LF or just CR instead of CRLF.

FWIW the standard way of storing mail messages in Maildirs or mboxes
on UNIX systems is with just LF.  IMAP and SMTP want CRLF-terminated
lines though.

Cameron.




More information about the plug mailing list