Thomas Gramstad wrote:

>I want to add a spam filter rule that automatically deletes all
>mail from all subdomains of com.br. I have tried the syntaxes
>from: [email protected]
>and
>from: ....@*.com.br ,
>but neither seems to work.


I'm not sure why the first one doesn't 'work'. it will match

From: [email protected]
From: [email protected]
Subject: asking about From: headers and @comobravo

and lots of others. The second is even more liberal if it's not a typo.

Try

  ^From:....@.]com\.br($|>)

See <http://docs.python.org/library/re.html#regular-expression-syntax>.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to