Nikolaos Milas:
> Hi,
>
> Is there a solution to display stats on how many of the incoming smtp
> connections were using port 25 and how many of them 587 (or other
> custom)? (We are still allowing client connections to port 25.)
You can make this visible in logging. In master.cf, add the port name:
submission inet n - n - - smtpd
-o syslog_name=postfix/submission
...
smtps inet n - n - - smtpd
-o syslog_name=postfix/smtps
...
In the logging you will see postfix/smtps/smtpd, postfix/submission/smtpd
and postfix/smtpd.
> We are using pflogsumm (with --smtpd_stats options), but smtp stats
Wietse