in message <[EMAIL PROTECTED]>, wrote Sven Guckes thusly... > > === http://www.math.fu-berlin.de/~guckes/setup/procmailrc ... > # 981009 - catch messages from gateway address on gbnet.net: > :0 > * ^TOmutt(-dev|-users)?@(ns.)?gbnet.net > IN.MUTT > > # 000710 - catch messages from gateway address on sonytel.be > :0 > * ^[EMAIL PROTECTED] > IN.MUTT > > # 000710 - added yahoogroups.com > :0 > * ^TOmutt(-dev|-users)?@.*(cs.hmc.edu|mutt.org|yahoogroups.com) > IN.MUTT
all these can be easily combined as one OR'd recipe (assuming mbox)... :0: # 000710 - catch messages from gateway address on sonytel.be * 2147483647^0 ^TOmutt-users@mail\.sonytel\.be # # 981009 - catch messages from gateway address on gbnet.net: * 2147483647^0 ^TOmutt(-dev|-users)?@(ns.)?gbnet\.net # # 000710 - added yahoogroups.com * 2147483647^0 ^TOmutt(-dev|-users)?@.*(cs\.hmc\.edu|mutt\.org|yahoogroups\.com) # ---- # below is the obvious combination of above two... #* 2147483647^0 ^TOmutt(-dev|-users)?@((ns.)?gbnet\.net|.*(cs\.hmc\.edu|mutt\.org|yahoogroups\.com)) # ---- IN.MUTT ..and, from procmailsc(5)... MISCELLANEOUS As soon as `plus infinity' (2147483647) is reached, any subsequent weighted conditions will simply be skipped As soon as `minus infinity' (-2147483647) is reached, the condition will be considered as `no match' and the recipe will terminate early. ...see various procmail man & web pages and mailing list for other details. - parv --