On Thu, Jul 10, 2014 at 11:11 AM, Patrick Ben Koetter <p...@sys4.de> wrote:
> * francis picabia <fpica...@gmail.com>: > > 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. > > Look into $smtpd_sasl_local_domain. > > p@rick > > Thank you, that was it. Mine was set to $myhostname rather than $mydomain