[sclug] Mailfile message boundaries

Rus Foster rghf at fsck.me.uk
Sat Oct 25 09:05:45 UTC 2003


On Sun, 29 Jun 2003, Patrick Kirk wrote:

> Hi all,
>
> Spamassassin is doing a great job for me but one of my bugbears is that
> reporting the ones that slip through to Spamcop is too much hassle.  so
> I've written up a little script that takes all the files in the Spam
> mailfile and emails them to a reporting address at Spamcop.
>
> Problem is that IMAP mailfiles are a single huge test document.  So you
> need a way to split the file into messages.

Assuming that you are using mbox rather than Maildir (as you imply)
http://www.qmail.org/man/man5/mbox.html should help

Rgds

rus
--
www: http://www.65535.net       | Hosting - Shell Accounts
MSNM: support at 65535.net		| Virtual Servers from just $15/mo
e: rghf at 65535.net               | Community: http://www.65535.org
t: +44 (0) 7092016595           | 10% Donation on every FreeBSD product



More information about the Sclug mailing list