We've been running authenticated smtp for awhile.

I want to implement smtpd_sender_login_maps
and reject_sender_login_mismatch

For most logins, the log is showing the fqdn of the smtp
server.  As in:

sasl_username=u...@smtp.example.com

For some users it shows only the domain name.

sasl_username=u...@example.com

On testing, I've seen this is influenced by adding the domain name to
the user name in the client.  If the client is only setup with a userid
with no domain, the login shows sasl_username with fqdn.

One solution is to list both mappings, fqdn and domain name.
Is there a way to cause the sasl_username to be standardized
to one form or the other?  That is, without causing those
using the domain as part of their userid to experience failure?

Reply via email to