procmail
[Top] [All Lists]

Re: execute a shell script that process the incoming mail

2004-11-30 02:11:42
On 30 Nov 2004 robert guru (sos_linux(_at_)hotmail(_dot_)com) wrote:
The shell script will do some treatement to the incoming mail, the incoming mail must be as an input for that shell script

:0:
* ^Subject: polyjob
| my_shell_script  (the new mail as a parametre)


Instead of using :0: for the first line, use something like this:

  :0 fw: my_shell_script.lock

This is similar to the SpamAssassin recipe that's in this section of my Procmail Quick Start:

 <http://www.ii.com/internet/robots/procmail/qs/#SA>

This section includes links to details about these flags.

Hope this helps,
NM

--
Infinite Ink: <http://www.ii.com/>
Reverse Spam Filtering: <http://www.ii.com/internet/messaging/spam/>
Procmail Quick Start: <http://www.ii.com/internet/robots/procmail/qs/>
IMAP Service Providers: <http://www.ii.com/internet/messaging/imap/isps/>

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>