On 5/30/19 9:20 PM, Chip Davis wrote:
> 
> About 12 hours after I put that RE in place, I got another one from a
> different domain in '.icu'.  It was held for moderation, not
> automatically discarded.
> 
> I have:
>   8 email addresses in accept_these_nonmembers
>   0 email addresses in hold_these_nonmembers
>   0 email addresses in reject_these_nonmembers
>   ^@.*\.icu$ in discard_these_nonmembers
>   'Hold' for generic_nonmember_action
>   'Yes' for forward_auto_discards
> but it seemed to make no difference; the UCE was still held for moderation.


The *_these_nonmembers checks only check one address which is what
Mailman considers the sender of the message. What address this is
depends on a config setting. The doc says:

>         This can return either the From: header, the Sender: header or the
>         envelope header (a.k.a. the unixfrom header).  The first non-empty
>         header value found is returned.  However the search order is
>         determined by the following:
> 
>         - If mm_cfg.USE_ENVELOPE_SENDER is true, then the search order is
>           Sender:, From:, unixfrom
> 
>         - Otherwise, the search order is From:, Sender:, unixfrom

So in your case, it may not be checking the From:


> I'm going to try putting "from: .*@.*\.icu" in header_filter_rules and
> see if that makes any difference.


It probably should to be "^from: .*@.*\.icu\s" to avoid matching
something like

Subject: mail from: u...@server.icu not discarded

or

From: u...@sub.icure.com


-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to