Hadmut Danisch:
> Is there a way to make postfix tell in the logs whether someone
> authenticated on port 25 or 587?
Yes. Configure master.cf thusly:
master.cf:
smtp inet ... ... ... ... ... smtpd
submission inet ... ... ... ... ... smtpd
-o syslog_name=postfix/submission
...
smtps inet ... ... ... ... ... smtpd
-o syslog_name=postfix/smtps
...
And look at the 'name' field in logging:
postfix/smtpd[xxx]: disconnect from unknown[yyy] ... auth=...
postfix/submission/smtpd[xxx]: disconnect from unknown[yyy] ... auth=...
postfix/smtps/smtpd[xxx]: disconnect from unknown[yyy] ... auth=...
The syslog_name settings were introduced with Postfix 2.10.
Wietse