(conversion possible?) quarantined HAM in queue files

Glenn Steen glenn.steen at gmail.com
Fri Apr 27 15:09:29 IST 2007


On 27/04/07, Bart van den Heuvel <bart at zokahn.com> wrote:
> is there any way to convert these RFC822 files to something usefull.
> I can open them with postcat and that seems display the file ok.
>
> I read somewhere that you can also use postcat to convert the files into
> eml files of maybe even use a combo postcat and a mail program to send the
> files on their way.
>
> Any pointers on this? The files are still stuck i'm affraid...

If they are indeed the rfc822 file format, then they already are in
what you'd call .eml format, more or less. If so, then you can read
them with more (or less;-), feed them into sendmail (the command) as
detailed in the wiki (I should know this, I wrote that entry;-) ... If
you do
file /path/to/spam/<whatever filename>
what does it say? It should be something like:
# file /var/spool/MailScanner/quarantine/20070427/spam/A0613CCB0B.3AA2E
/var/spool/MailScanner/quarantine/20070427/spam/A0613CCB0B.3AA2E: RFC
822 mail text
#

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list