[Mailman-Users] Easy question for this crowd
Mark Sapiro
mark at msapiro.net
Fri May 31 10:11:29 EDT 2019
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: user at server.icu not discarded
or
From: user at sub.icure.com
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list