[CentOS] Receive, process and send email

Jim Wildman jim at rossberry.com
Sun Sep 20 18:56:56 UTC 2009


On Mon, 21 Sep 2009, CSB wrote:

> We wish to do the following:
> 1. receive an email with an attachment
> 2. process the email body to get some information from it
> 3. send an outbound email to an email address based on the information
> derived from step 2. The email will include the attachment received in step
> 1
>
> I'm not sure where to start with this one so any suggestions would be
> appreciated.
>

procmail is a good place to start.  There are multiple man pages and
examples.  Experiment with a throw away account til you get it figured
out. It is easy to do strange and unexpected things...

----------------------------------------------------------------------
Jim Wildman, CISSP, RHCE       jim at rossberry.com http://www.rossberry.com
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine



More information about the CentOS mailing list