Lorenzo Milesi:
> hi. since some days I'm having problems receiving from gmail. What I see in
> logs is:
>
> Dec 1 14:12:53 posta postfix/smtpd[29874]: connect from
> mail-wm0-f42.google.com[74.125.82.42]
Which of your three master.cf services is this? Perhaps you
have configured Gmail to deliver to the submission (port 578) service
which will reject mail when the client is not authenticated.
To find out I suggest adding "-o syslog_name" lines to master.cf
for the services on port 465 and "submission":
465 inet n - n - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
submission inet n - n - - smtpd
-o syslog_name=postfix/submission
-o smtpd_etrn_restrictions=reject
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o smtpd_tls_security_level=may
Then, do "postfix reload". Deliveries to the submission service will
now be logged under the name of "postfix/submission/smtpd".
Then at least you know what to change: configure Gmail or configure
Postfix.
Wietse