On Tue, Nov 30, 2004 at 09:04:36AM +0000, NM Public wrote:
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>
He might not even need a lockfile at all, depending on whether
the script minds being accessed simulaneously. Usually it
wouldn't be a problem.
--
dman
____________________________________________________________
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