I use IMail Server Web Messaging v7.15 and I want to define a
rule that recognizes messages that contain my full name in the
"Cc:" or "Resent-To:" lines (i.e. messages containing lines such
as

  (1)
     Cc: Friedhelm Waitzmann <[EMAIL PROTECTED]>
     Resent-To: Friedhelm Waitzmann <[EMAIL PROTECTED]>
  (2)
     Cc: some other <[EMAIL PROTECTED]>,
         Friedhelm Waitzmann <[EMAIL PROTECTED]>
     Resent-To: some other <[EMAIL PROTECTED]>,
         Friedhelm Waitzmann <[EMAIL PROTECTED]>

) in order to distinguish these messages from spam that only
contains my email address but not my full name.

I tried

   Header contains (cc|resent-to)\:.*\WFriedhelm\sWaitzmann\W

but it does not work. If I delete the first \W, i.e.

   Header contains (cc|resent-to)\:.*Friedhelm\sWaitzmann\W

it does recognize the messages containing my full name, but it
also recognizes messages containing

  (3)
     Cc: SOME LITTERFriedhelm Waitzmann <[EMAIL PROTECTED]>

The condition

   Header contains (cc|resent-to)\:\sFriedhelm\sWaitzmann\W

is not an option, because it does not recognize the header lines
(2).

Does anybody know a conditions that recognizes (1) and (2) but
not (3)?

Thanks in advance,
Friedhelm.

To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to