[maildropl] Re: can't manage to filter..
Brought to you by:
mrsam
From: Sam V. <mr...@co...> - 2003-05-15 22:40:19
|
Jonathan Nichols writes: > I'm trying to sort mail from na...@na... - and I can't seem to get it > working! > > I've tried: > #Mail from NANOG > if (/^(To|Cc):.*!na...@me.../) > if (/^(To|Cc):.*!na...@na.../) > if (/^Delivered-To:.*!nanog*@*merit.edu/) > if (/^Delivered-To:.*!nanog*@*nanog.org/) > if (/^X-Loop:.*!nanog/) > { > to "$HOME/.maildir/.NANOG" > } > > ... and when something is CC'd to either of the addresses, it drops it > into INBOX. Of course. Unless a message matches ALL of the regular expressions above, the to statement will never be executed. > I've tried everything that I could think of, none of which > have worked. > > Any suggestions? Thanks! Look up the || operator. |