OT: Converting MBOX back to qf/df files

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Wed Mar 23 10:39:19 GMT 2005


Paul

you'll need to split the mbox into individual emails first with split or
cplit...

csplit -n 4 $MAIL /^From\ / {9999}
or
split -p ^From\ $MAIL

then feed those emails into sendmail with something a 'sendmail -ti <
message' for each of the emails produced from the [c]split.

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


Paul Houselander wrote:
> Hi
>
> Off topic question but hoped someone would advise if it was possible.
>
> I had a problem yesterday with my pop server which resulted in me delivering
> customers email into a catchall account so they could just quickly read
> there entire domains mail via a webmail application.
>
> Ive sorted the pop problem now and wanted to know if its possible to convert
> the mbox back into queue files for normal delivery.
>
> Ive not been able to find any info so was hoping someone here may know if
> its possible.
>
> Thanks
>
> Paul Houselander
>
> ------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!

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

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 MAQ (http://www.mailscanner.biz/maq/) 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