Matus UHLAR - fantomas:
> > Matus UHLAR - fantomas:
> > > that will need spamass-milter change.
> 
> On 31.05.23 13:52, David Bürgin wrote:
> > Have you tried setting:
> > 
> > authres_trusted_authserv fantomas.fantomas.sk
> 
> I did. that's why it works then checking later.
> 
> > I think this should work without changing anything in the milter …
> 
> milter adds own synthetised Received: header at the very beginning, which is
> mosts possibly the correct reason.
> 
> spamass-milter should add this header behind locally added
> Authentication-Results: headers, but it needs change in spamass-milter.

I understand, but I still think AuthRes can do this without a change in
the milter. Note the doc for authres_trusted_authserv:

> Use strongly recommended, possibly along with authres_networks all.

So, if you set:

authres_networks all
authres_trusted_authserv fantomas.fantomas.sk

then the relative position of ‘Received’ and ‘Authentication-Results’
headers shouldn’t matter. You just have strip out forged results in an
earlier milter. I’ll try it out some other time.

Reply via email to