procmail
[Top] [All Lists]

Syntax help?

1997-12-23 10:04:28
What's wrong with this picture?

:0:
* ^(To|Cc):.*(staff(_at_)\|
              info(_at_)\|
              support@)
| $FORMAIL -A"X-Sorted: Staff" >>$STAFFOLDER

I mostly do my recipe-building via the cut and paste method so I'm sure
I've missed something basic; sorry to bug you people with it but I'd
appreciate some info on why the above won't fly, and tips on how to 
make it more elegant would be welcomed as well. The reason I haven't 
included the full domain names is that mail to staff@ etc can arrive to
two or three separate domains, but I want it all to sort into the same
folder.

To those of you who celebrate it - a Merry Christmas and a great new year.

        Kimmo.
--
---------------------------------+-------------------------------------+
          Kimmo Jaskari          | ÅLCOM - Ålands Datakommunikation Ab |
   Email: kimmo(_at_)alcom(_dot_)aland(_dot_)fi   |        
staff(_at_)alcom(_dot_)aland(_dot_)fi         |
 http://www.alcom.aland.fi/kimmo |      Phone: +358-(0)18-12122        |
---------------------------------+-------------------------------------+


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