smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_sender_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_pipelining, eject_unauth_destination, permit
# for senders local
smtpd_sender_login_maps = mysql:/etc/postfix/mysql_virtual_alias_user_maps.cf, mysql:/etc/postfix/mysql_virtual_user_maps.cf
smtpd_reject_unlisted_sender = yes
smtpd_sender_restrictions = reject_sender_login_mismatch, reject_authenticated_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch
========================================================
mysql:/etc/postfix/mysql_virtual_alias_user_maps.cf
mysql:/etc/postfix/mysql_virtual_user_maps.cf
本地接收的邮件地址列表。
实现的功能:
来源 目的 条件
From: 本地域 To: 任何地址 必须认证且验证用户和From:必须一致
From: 任何非本地地址 To: 本地地址 无需认证
From: 任何非本地 To: 任何地址 拒绝
阅读(7769) | 评论(2) | 转发(0) |