LuKreme wrote, at 03/14/2009 12:19 PM: > On 13-Mar-2009, at 14:51, Jorey Bump wrote: >> submission inet n - n - - smtpd >> -o smtpd_tls_security_level=encrypt >> -o smtpd_sasl_auth_enable=yes >> -o smtpd_client_restrictions=permit_sasl_authenticated,reject > > Yeah, once I get TLS setup. I am running 2.5.6. I did change the > submission port to > >> o smtpd_enforce_tls=no -o smtpd_sasl_auth_enable=yes >> -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject >> -o syslog_name=postfix/submit > > Just to see what would get logged, I went ahead and tried to use this. > I knew it wouldn't work, but I was hoping for useful error messages. I > got this: > > submit/smtpd[32686]: connect from > c-67-164-162-51.hsd1.co.comcast.net[67.164.162.51] > submit/smtpd[32686]: lost connection after EHLO from > c-67-164-162-51.hsd1.co.comcast.net[67.164.162.51] > submit/smtpd[32686]: disconnect from > c-67-164-162-51.hsd1.co.comcast.net[67.164.162.51] > submit/smtpd[32686]: connect from > c-67-164-162-51.hsd1.co.comcast.net[67.164.162.51] > submit/smtpd[32686]: timeout after UNKNOWN from > c-67-164-162-51.hsd1.co.comcast.net[67.164.162.51] > submit/smtpd[32686]: disconnect from > c-67-164-162-51.hsd1.co.comcast.net[67.164.162.51] > > Not that useful...
Actually, the specially designated syslog_name can be very useful, especially for troubleshooting & migration. To see who's using the new port, use something like this: grep sasl /var/log/maillog | grep submit To see who's not: grep sasl /var/log/maillog | grep -v submit