Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Piping messages to a program

Status
Not open for further replies.

ecancil

Programmer
Jan 24, 2006
1
US
Hi, I need to pipe emails sent to a specific email address to a program written in perl, on my server. Is there an easy way to do this?
Thank you
Eric
 
Simplest: put "| program" in ~/.forward

More complex: use Procmail.
 
To follow up on what lgarner said, you can also put "| program" into the aliases file, avoiding the need to create a user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top