[plug] ProcMail

John Breen wombat at wa.apana.org.au
Wed Mar 14 11:23:27 WST 2001


Thanks Tony.

I (belatedly) found the procmailrc man page on the web, and was going to try
something like

:0
* ^Subject: dummy_subject
{
!wombat
|/root/bin/process.pl
}



----- Original Message -----
From: "Anthony J. Breeds-Taurima" <tony at cantech.net.au>
To: <plug at plug.linux.org.au>
Sent: Wednesday, March 14, 2001 11:13 AM
Subject: Re: [plug] ProcMail


> On Wed, 14 Mar 2001, John Breen wrote:
>
> > Sorry if it's not strictly a Linux question but...
> >
> > I need to get procmail to cc all messages with a known subject line to
my
> > email address, as well as running a perl script.
> >
> > What's there at present is something like
> >
> > :0
> > * ^Subject: dummy_subject
> > |/root/bin/process.pl
>
> -----
> :0 c
> * ^Subject: dummy_subject
> |/root/bin/process.pl
> -----
> Note the "c" on line 1:
>
> This will tell procmail to make a carbon copy of the message that matches
this
> rule.
>
> What happens is one copy of the message gets delivered via
> /root/bin/process.pl and the other passes through the rest of your
.procmailrc
> hopefully ending up in you normal email.
>
> HTH
>
> Yours Tony.
>
> /*
>  * "The significant problems we face cannot be solved at the
>  * same level of thinking we were at when we created them."
>  * --Albert Einstein
>  */
>
>
>




More information about the plug mailing list