Skip to content

Milter Authenticated users not honoring "Spam List Skip If Authenticated" setting #541

@alexskynet

Description

@alexskynet

We have a scenario where mobile users send mail through Postfix using DB SASL authentication

Sometimes clients get listed IPs so their mails go into spam mode.

We used to set "Spam List Skip If Authenticated = yes" to avoid this, but since we changed to milter mode (mta=msmail) the setting is not honored anymore (it was honored with mta=postifix).

I'm not a milter expert, but I can see Postifx logs whit lines like:

May 20 09:39:35 mailserver postfix/smtpd[12970]: 41223EE82C: client=host-[obfuscated}, sasl_method=PLAIN, sasl_username=username@mydomain.com

Looking into MSMail.pm around line 404 I see the function that loads milter data into the @metadata array but no A field is managed (that should be the AUTH method) or maybe even passed from Postfix (I added some logs to see what data si retrieved).

It looks only O, S and R fields are populated

Furthermore in Message.pm around line 750, where the code checks for authenticate users , it looks like postfix and exim mta are the only supported ones.

MS-Milter docs say nothing about this, so how is it supposed to work?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions