OT: spam filter

Martin Hepworth martinh at solid-state-logic.com
Mon Jul 10 09:06:38 IST 2006

Alex Neuman wrote:
> Can a bunch of messages in a directory be turned into an mbox file? I've 
> god a folder (looks like cyrus maildir) that I need to turn into an mbox 
> file.
> Any suggestions?
>> Off the top of my head it seems to suggest a combination of "formail"
>> and "procmail".  Parse the mbox with formail to break it up into
>> individual messages, then pump them though spamassassin and depending on
>>  what spamassassin finds, either dump to another mbox or delete (using
>> procmail).  There are probably other ways, but it's 6:15am and I haven't
>> had my coffee yet :P

'cat' all the emails together and that's your mbox file...assuming all 
the emails are in plain text in the first place..

Martin Hepworth
Senior Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	


More information about the MailScanner mailing list