[nflug] Automated Email Processing - Retrieve Emails and save
along with attachements on Samba share
erek at blumenthals.com
Thu May 15 10:40:01 EDT 2008
I would do this by configuring fetchmail to send all of your AOL
messages to a local alias set up in your MTA. The alias should be
configured to pipe all the messages into a perl script (or scripting
language of your choice).
In sendmail, you would add a line to /etc/aliases like
"archiver: "|/usr/local/bin/archiver", and then run newaliases and
Then set up your script to do whatever it needs to to the
message...either save it as a text file, which is easy, or write a PDF,
which is harder (latex intermediary?).
I'm assuming this printout system is to satisfy some sort of legal
requirement. If this is the case, make sure that everything is
documented in layman's terms, and depending on the severity of the
issue, get an independent person to sign off on the configuration and
write up an affidavit that effect. (IANAL applies)
On Tue, 2008-05-13 at 16:34 -0400, Ronald Wechter wrote:
> Looking for suggestions on what to use to retrieve emails (from an AOL
> account) and save the contents to a text/pdf file along with its
> attachment if exists. There are so many avenues I could take and am
> welcoming any suggestions.
> So far fetchmail/procmail or getmail are the couple of daemons that I
> am currently looking into.
> Links to How To's / Procmail documentation would be helpful too!
> nflug mailing list
> nflug at nflug.org
More information about the nflug