Wed, 15 May 2002

Mailings // at 23:59

I discovered the wonders of fetchmail today. Must get around to setting up one IMAP server and then slurping all my older mail into it, especially stuff from the myriad of mailing lists.

For slurping old mail from an IMAP store somewhere:

fetchmail -a -p imap --folder folder-name --user me \
  -m "/usr/bin/procmail -d %T" mailserver

Or just use a $HOME/.fetchmailrc a bit like:

poll mail.domain proto IMAP user ME mda \
  "/usr/bin/procmail -d %T" fetchall folder folder-name

Also got my digest split up and stored as individual mail items. Use procmail recipes of either:

| formail +1 -ds >>undigested-folder

to store on local folders, or:

| formail +1 -d -s $DELIVER undigested-folder

for folders on an IMAP server, where $DELIVER is the wrapper script around the Cyrus deliver program.

Made with PyBlosxom