This is a discussion on Re: enchanced whitelist_from_rcvd ? - SpamAssassin ; Henrik K wrote: > On Fri, Nov 07, 2008 at 02:38:22PM +0100, Per Jessen wrote: >> Henrik K wrote: >> >>> On Fri, Nov 07, 2008 at 02:22:08PM +0100, Per Jessen wrote: >>>> Yes, I saw that in the code ...
Henrik K wrote:
> On Fri, Nov 07, 2008 at 02:38:22PM +0100, Per Jessen wrote:
>> Henrik K wrote:
>>> On Fri, Nov 07, 2008 at 02:22:08PM +0100, Per Jessen wrote:
>>>> Yes, I saw that in the code - still, having a
>>>> would be very useful, people relay via their providers quite a lot.
>>>> I guess I'll have to write something up.
>>> If the originator is static IP, add whole path to trusted_networks and
>>> use ALL_TRUSTED.
>> I prefer to use that only for our own networks. That I whitelist one
>> domain from a certain server(s) doesn't mean I want to whitelist
> Then instead of asking for a lacking addition to a poor whitelisting method
> (in this case), we should enhance whitelist_from_rcvd to process received
> whitelist_from_rcvd *@foobar.xyz 18.104.22.168 22.214.171.124
why? I wouldn't put 30 IPs there...
if user trusts his MTA, then rdns can be trusted, and there is no point
to go the IP way (note that if user doesn't trust MTA, then the IP can't
> Perhaps it could even work with hostnames as long as they stay inside
why link that to trusted_networks?
> And perhaps it could support basic wildcards instead of regexps.
That's probably the best option.
That said, it is not very satisfactory. mixing perl regexps and
"globbing" comes as a surprise to pcre users...