This is a discussion on [courier-users] mailfilter and not or within the Courier-Imap forums, part of the Mail Servers and Related category; Hi, need to filter incoming mail for a single user so that any mail coming from user@domain.com *and* ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
need to filter incoming mail for a single user so that any mail coming from user@domain.com *and* includes the string "very important message" in the body gets cc'd to user2@ domain.com then delivers the message normally. I have worked most of it out but my filter seems to do "or" not "and" now I am stuck. tia if ( /^From:.user@domain.com/:h && /very important message/:b ) { exception { cc "!user2@domain.com" } } to "./Maildir/." ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |