X-Spam header missing regardless of low sa_tag_level_deflt but scores present in logs

Benny Pedersen me at junc.eu
Wed Aug 17 17:35:01 CEST 2022


Bert Van de Poel skrev den 2022-08-17 15:21:
> Oh, I just found something! My old config used some SQL tables and I
> just noticed $sql_select_policy in there. Might that be what was
> fixing this before? I'm finding lots of dubious looking forums and
> tutorials about this variable, but no official documentation. It's not
> mentioned on https://www.ijs.si/software/amavisd/amavisd-new-docs.html
> at all.
> 
> 
> On 17/08/2022 15:10, Bert Van de Poel wrote:
>> Hi Benny,
>> 
>> I had been wondering if I would see the same people here as on the 
>> spamassassin users list ;)
>> 
>> The only domain reference that I have in both my current configuration 
>> and the one I had on Debian 8 is the file "05-domain_id":
>> use strict;
>> 
>> # $mydomain is used just for convenience in the config files and it is 
>> not
>> # used internally by amavisd-new except in the default X_HEADER_LINE 
>> (which
>> # Debian overrides by default anyway).
>> 
>> chomp($mydomain = `head -n 1 /etc/mailname`);
>> 
>> # amavisd-new needs to know which email domains are to be considered 
>> local
>> # to the administrative domain.  Only emails to "local" domains are 
>> subject
>> # to certain functionality, such as the addition of spam tags.
>> #
>> # Default local domains to $mydomain and all subdomains.  Remember to
>> # override or redefine this if $mydomain is changed later in the 
>> config
>> # sequence.
>> 
>> @local_domains_acl = ( ".$mydomain" );

is this not only subdomains ?

@local_domains_acl = ( ".$mydomain" "$mydomain" );

is imho more correct

>> 
>> 1;  # ensure a defined return
>> 
>> 
>> /etc/mailname contains sys.bhack.net and nothing else
>> 
>> I have been wondering about this "RelayedOpenRelay" too, but I don't 
>> see anything being "too open".
>> 
>> 
>> On 17/08/2022 14:09, Benny Pedersen wrote:
>>> Bert Van de Poel skrev den 2022-08-17 12:24:
>>> 
>>>> Aug 17 11:59:33 sys amavis[2337329]: (2337329-17) Passed CLEAN
>>>> {RelayedOpenRelay}, [127.0.0.1] [40.107.20.101]
>>>> <bert.vandepoel at uclouvain.be> -> <bert at bhack.net>, Message-ID:
>>>> <8e22260c-6d20-86e4-d9e1-1a5d8a9632b9 at uclouvain.be>, mail_id:
>>>> 4EKz9ECqUE6T, Hits: 1.785, size: 8356, queued_as: 7C866BC40C, 3746 
>>>> ms
>>>> 
>>>> Does anyone have any idea what I've done wrong or what I should be 
>>>> looking for?
>>> 
>>> is bhack.net listed local domain in amavisd ?, only local domains see 
>>> spam headers added
>>> 
>>> others might help with solve RelayedOpenRelay is imho susspisious 
>>> aswell, i have lost why its there, last posting about this was imho 
>>> unresolved
>> 


More information about the amavis-users mailing list