我最近从 Courier 迁移到 Dovecot。我配置 Postfix + MySQL + Dovecot 的主要指南是这个:https ://library.linode.com/email/postfix/postfix2.9.6-dovecot2.0.19-mysql
一切正常,但是当我更改邮件客户端中的邮件地址,为服务器留下正确的登录名和密码,并使用该假邮件(和域)地址发送电子邮件时,Postfix 只是发送它,而不验证该电子邮件是否地址存在于数据库中,并且没有验证该电子邮件地址是否是我的。
所以,我的 SMTP 配置一定有问题。这是我的实际配置:
# Requirements for the sender details
smtpd_reject_unlisted_sender = yes
smtpd_reject_unlisted_recipient = yes
smtpd_sender_restrictions =
warn_if_reject,
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_unauth_pipelining,
reject_unlisted_sender,
reject_unverified_sender,
permit
# Requirements for the connecting server
smtpd_client_restrictions =
reject_rbl_client zen.spamhaus.org,
reject_rbl_client blackholes.easynet.nl,
reject_rbl_client bl.spamcop.net,
permit
# Requirement for the recipient address
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_pipelining,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_destination,
reject_unlisted_recipient,
reject_unverified_recipient,
check_policy_service inet:127.0.0.1:10023,
permit
smtpd_data_restrictions =
reject_unauth_pipelining
# require proper helo at connections
smtpd_helo_required = yes
# waste spammers time before rejecting them
smtpd_delay_reject = yes
isable_vrfy_command = yes
任何人?