Thread: Automated Email
View Single Post
  #4   Spotlight this post!  
Unread 11-01-2005, 15:22
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,560
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Automated Email

Quote:
Originally Posted by Timothy D. Ginn
The way it's done for the mailman software is like this (in my case its in /etc/aliases, but that can vary depending on system setup):

test: "|/usr/lib/mailman/mail/mailman post test"
(with other aliases setup in a similar way passing different paramaters to the mailman binary).
I thought of recommending that method, but it depends on whether the message also needs to be delivered to the mailbox, besides running the script.

If you only need to run a script when the e-mail is sent, the mailman method will work. If the e-mail needs to be delivered and also the script run, procmail is probably your best bet.