Whilst I’m awaiting the resurrection of my /home drive I’ve had to resort to collecting my mail and storing it under a temporary account.
I decided to make a few changes to skynet based on the fact my spambayes db was stored on /home along with my .procmailrc so SpamAssassin was integrated with sendmail and maildrop was set as the system-wide LDA.
Here is a fun line from my new (and still developing) .mailfilter file.
if ( /^List-Id:.+\<freebsd-(.*)\.freebsd\.org\>$/ )
TARGET="FreeBSD."$MATCH1""
Which automatically puts FreeBSD mailing list items in to their own folder.
To clear up what was in my ever growing Inbox, it was a simple case of running
for file in *; do cat $file | maildrop; done
in a copy of ~/Mail/cur
Whilst its not quite as defined as my old .procmailrc I think I may like maildrop …