Hi Philip,
To my knowledge, the matching is a simple glob which does NOT work on
subdomains.
You might be able to do *@*.ceipalmm.com and *@ceipalmm.com
Regards,
KAM
On 4/24/2023 4:34 PM, Philip Prindeville wrote:
Oh, and this is on Fedora, so I'm running 3.4.6...
On Apr 24, 2023, at 2:32 PM, Philip Prindeville
<[email protected]> wrote:
Hi,
I have the following line:
whitelist_from_rcvd *@ceipalmm.com mailgun.net
And tried it on a message that had:
Return-Path: <[email protected]>
But it didn't get whitelisted. If I change the pattern above to
"*@mg2.ceipalmm.com" it works. I thought the matching included subdomains, and
seem to remember that working.
But just ran a simple test and that's not the case.
Is this a bug? Looking at Mail/SpamAssassin/Plugin/WLBLEval.pm I see:
if ($rdns =~ /(?:^|\.)\Q${domain}\E$/i) { $match=1; last }
So I *thought* that was what was happening, but testing says otherwise.
Insights?
Thanks,
-Philip
--
Kevin A. McGrail
[email protected]
Member, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171