procmail
[Top] [All Lists]

Re: multiple addresses ?

1999-11-20 12:16:17
On Sat, 20 Nov 1999, James Stevenson wrote:

js> Hi
js> 
js> how can i get procmail to tell if there is more than one address
js> in a to box and do something if there is a certin address in there ?
js> 

  You could simply check for that particular address with the following,
then act upon it as you want.

:0
* ^TOaddress(_at_)someplace(_dot_)com
{
  your actions here
}

  Add a lock if your simply going to direct it to a mailfolder. If your
looking for a particular qty of addresses in the To line, there have been
several posts in the recent past regarding this. Don't recall where the
archives are though, sorry.

js> thanks
js>     James
js> 

-- 
        S.Toms - tomas(_at_)primenet(_dot_)com - New homepage coming soon
                   SuSE Linux v6.2+ - Kernel 2.2.13

Adolescence, n.:
        The stage between puberty and adultery.

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