[wellylug] Mail processing
Jamie Dobbs
jamie.dobbs at paradise.net.nz
Tue May 6 15:34:49 NZST 2003
Ewen
An agent that will save each message to a unique file is exactly what I
want. I can probably get around the file naming issue (as I don't reallyc
are waht they are called, just that I can find them).
I'm currently looking at doing this on a Mandrake 9.1 box (as thats what I
have here at work to do it on), so now all I need to do is find an MDA that
does what I need ... does anyone have any ideas?
----- Original Message -----
From: "Ewen McNeill" <ewen at naos.co.nz>
To: <wellylug at lists.naos.co.nz>
Sent: Tuesday, May 06, 2003 3:29 PM
Subject: Re: [wellylug] Mail processing
> In message <007d01c3137e$fac61b40$7832be9b at systems1>, "Jamie Dobbs"
writes:
> >I want to have a Linux box set up to periodically poll an email server
> >(using fetchmail) then when it finds and downloads emails I want to have
the
> >body of each email saved into a uniquely named file which I will then run
> >some Perl scripts over before outputting the processed file via. the
serial
> >port.
>
> Assuming you don't actually care what the files are called (or can
> process them later to rename them), why not use either:
> - a mail delivery agent which handles mail directories; or
> - the MH mail system which will import a mbox mailbox into
> one-message-per-file
>
> That way you'd not even need to deal with a shell script, etc. FWIW,
> IIRC the MH mail system comes with a delivery-to-unique-file-in-directory
> thing (I normally use "inc" to convert a mbox file to individual files).
>
> Ewen
>
> --
> Wellington Linux Users Group Mailing List: wellylug at lists.naos.co.nz
> To Leave: http://lists.naos.co.nz/mailman/listinfo/wellylug
>
More information about the wellylug
mailing list