[Wlug] Procmail Question
Charles R. Anderson
cra@WPI.EDU
Fri, 8 Nov 2002 10:34:33 -0500
On Fri, Nov 08, 2002 at 09:48:14AM -0500, Marc Hughes wrote:
HughesM> This will do an AND between the two conditions ... Is there an easy way
HughesM> to OR between them? ... Or do I need to make a separate rule for each
HughesM> and every condition? And an even further note... What are the thoughts
HughesM> on some of these anti-spam tools that work with procmail? Any
HughesM> favorites?
They are just perl regexps, so you can use '|'
* (^From.*jenny@axte84\.com)|(^Subject.*MILLION OPT-IN EMAIL ADDRESSES)
Another useful feature is the 'E'lse tag, which executes only if the
previous rule did NOT match:
:0:
* ^From: president@whitehouse.gov
vip
:0E:
non-vip
--
Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/
PGP Key ID: 49BB5886
Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886