Hello victor,
Thank you so much for the help. Now I have resolved the issue. The logs
show nothing that error for now.
Aug 28 06:15:49 linuxmail postfix/smtpd[39646]: connect from
mail-oo1-f65.google.com[209.85.161.65]
Aug 28 06:15:49 linuxmail policyd-spf[39652]: prepend Received-SPF: Pass
(mailfrom) identity=mailfrom; client-ip=209.85.161.65;
helo=mail-oo1-f65.google.com; envelope-from=x...@gmail.com;
receiver=<UNKNOWN>
Aug 28 06:15:50 linuxmail postfix/smtpd[39646]: 2B34380410:
client=mail-oo1-f65.google.com[209.85.161.65]
Aug 28 06:15:50 linuxmail postfix/cleanup[39653]: 2B34380410:
message-id=<CAPx=cFb=PcEoWd9H+bME3TK=bjzmhe-mntgsozhq1t6z3+y...@mail.gmail.com>
What I have done is remove "reject_sender_login_mismatch" from main.cf
of this location,
smtpd_recipient_restrictions =
check_policy_service { unix:ratelimit/policy, default_action=DUNNO },
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_policy_service { unix:private/policyd-spf, default_action=DUNNO }
And put it into master.cf in smtps section:
smtps inet n - y - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o reject_sender_login_mismatch=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_reject_unlisted_recipient=no
-o smtpd_client_restrictions=$mua_client_restrictions
-o smtpd_helo_restrictions=$mua_helo_restrictions
-o smtpd_sender_restrictions=$mua_sender_restrictions
-o smtpd_recipient_restrictions=
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
After restart postfix, everything seems to be working.
Thanks.
Viktor Dukhovni via Postfix-users:
The problem IS NOT with defining the "login_maps" table, rather it is
with attempting to use the associated restriction!
reject_sender_login_mismatch
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org