Convert 'store'd emails mbox format

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Tue Jul 5 09:11:07 IST 2005


Martin Hepworth wrote:
> All
> I've got lots of emails on my server that are in the 
> quarantine/<date>nonspam directories. These seem to in some odd format - 
> they ain't rfc 862 format as they start with...
> 
> Received: from smtp.nildram.co.uk ([195.112.4.54])
>         by towers.solid-state-logic.com with esmtp (Exim (FreeBSD))
>         id 1DoKty-00015S-4n
>         for someusers at solid-state-logic.com; Fri, 01 Jul 2005 13:45:50 +010
> 
> 
> BUT (there's always a but aint there ;-) I need to get these into rfc862 
> format so I can cat them together in one big mbox file and pop them into 
> Thunderbird (or whatever) so I can look at them as if I has recieved 
> them myself.
> 
> Any ideas of perl/shell/.. wizardry that would do this???
> 
> -- 
> Martin Hepworth
> Snr Systems Administrator
> Solid State Logic
> Tel: +44 (0)1865 842300
> 

All

sorted it myself - had the quarantine as queue files to setup another 
instance of MS, and had the archive go an mbox file, then reinserted the 
queue files into the inbound queue dir of the new dir...and Robert's you 
mother's brother..

Nice...

--
Martin Hepworth
Snr 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.	

**********************************************************************

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list