checking the "to" field for mailing lists
Marc Herbert <[email protected]> Sun, 6 Mar 2005 14:44:11 +0100 (CET)
| Newsgroups | gmane.mail.spam.active-spam-killer.general |
|---|---|
| Message-ID | <Pine.LNX.4.58.0503061440260.5475@fcat> |
On Sat, 5 Mar 2005, Sergio P. Cesar wrote:
> > On Tue, 1 Mar 2005, Sergio Cesar wrote:
> >
> >> Can someone tell me what was the idea in checking "from" "to" "subject"
> >> in
> >> the __infile block of askmessage.py?
> >
> >> Under what circunstance will ASK look at anything besides "from",
> >
> > Don't know/remember about "subject" but the "to" field is critical
> > to receive mailing-lists.
> The mailing lists are checked by the "is_mailing_list_message" block based
> on header match:
> re.match(".*(majordomo|listserv|listproc|netserv|owner|bounce|mmgr|autoanswer|request|noreply|nobody).*@",
> self.msg.getheader("From",''), re.IGNORECASE)):
So you think ASK lets in any message that looks like a mailing list
message ?
My ASK configuration intensively uses the "to" field to let in
only messages of mailing lists I actually subscribe to.
--
So einfach wie möglich. Aber nicht einfacher -- Albert Einstein
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click