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!

Sendmail & treatment rules for incoming messagges

Status
Not open for further replies.

sbix

IS-IT--Management
Nov 19, 2003
493
CA
Hi everybody,
I need to write a program/shell script activated by the reception of a mail from a specific user@host.
I could poll in a cyclic fashion the mailbox, but i'd prefer a sort of "event-driven" solution.
So I'd like to know if there's a way to write something like the Outlook Express rules, which executes something on the reception of a specific message from a specif user@host.
Any ideas?
 
I think you could do that by passing the mail through procmail
where you can define what you want

I do this with my Linux server and it works fine for me.

Norm
 
uhm ... procmail looks interesting .... thx Norm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top