Quarantined email testing/troubleshooting

Scott Silva ssilva at sgvwater.com
Fri Jan 23 18:44:35 GMT 2009


on 1-22-2009 8:50 AM Julian Field spake the following:
> You can't just use df and/or qf files as if they were RFC822 messages.
> They're not.
> However, they *nearly* are, when used as a pair.
> Many years ago (2002 is the date stamp on the file) I wrote a script
> which would take an entire quarantine directory (or a string of
> directory names) full of qf* and df* files, and generate an mbox file
> from them, which could then be simply fed to sa-learn with 1 command to
> learn the whole lot at one go by using the "--mbox" command-line option
> to sa-learn.
> It's at
> www.mailscanner.info/files/4/df2mbox
> It's a fairly simple shell script, I'm sure you can hack it around if
> you want to do something slightly different with it.
> 
> Usage example:
> Say you have a quarantine directory
> /var/spool/MailScanner/quarantine/<date-here> and each of those
> <date-here> subdirectories contains a whole bunch of qf and df files in
> the same directory. You can just do
>     cd /var/spool/MailSanner/quarantine
>     df2mbox *
> and it will go and get on with it, and give you a pile of mbox files as
> a result.
> 
The requested URL /files/4/df2mbox was not found on this server.

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090123/11aae441/signature.bin


More information about the MailScanner mailing list