On 02 mai 2020, at 19:25, Matus UHLAR - fantomas <uh...@fantomas.sk> wrote: > > On 02.05.20 17:46, Patrick Proniewski wrote: >> well in fact I've tried the default settings first ("client" as per >> <https://manpages.debian.org/testing/amavisd-milter/amavisd-milter.8.en.html#D>), >> the milter works as expected but won't add X-Spam-* headers. > > strange, were I run amavisd-milter, -D client is used and users get the > header. > > Do you have $mydomains properly set up in amavis? > > I get SA headers added only to incoming mail using milter and "-D client".
OK. I'll have to do more testing and review my amavisd.conf but I'm pretty sure my setting is good (running for years): (amavisd.conf) $mydomain = 'domain.tld'; # (no useful default) @local_domains_maps = ( [ ".$mydomain", '.other.tld', '.additional.tld', etc. ] ); thanks, patpro