Security and Technology Ramblings…

I noticed the other day that my users sending mail via an authenticated SMTP account would still get blocked as spam. I would prefer that this not happen.

By default, Postfix does not add a header which identifies mail as being received by an SMTP authenticated account. Thus, this inbound mail is as the mercy of the standard Spam Assassin rules.

An easy fix is to add the below line to your main.cf file.

smtpd_sasl_authenticated_header = yes

This will ensure that Spam Assassin can determine the proper source of the email and treat it differently.

Leave a Reply