- 论坛徽章:
- 0
|
简单的服务器,只想使用postfix自己的规则来禁止一些垃圾邮件,
暂时的设置是:
- smtpd_helo_required = yes
- smtpd_recipient_restrictions = reject_invalid_hostname,
- reject_unknown_recipient_domain,
- reject_unauth_destination,
- permit
- # reject_rbl_client sbl.spamhaus.org,
- # permit
- smtpd_helo_restrictions = reject_invalid_helo_hostname,
- reject_non_fqdn_helo_hostname,
- reject_unknown_helo_hostname
- smtpd_client_restrictions = permit_mynetworks, reject_unknown_client
复制代码
但是还是没有办法禁止用假的from地址发邮件的人(发邮件的人有公网ip,有域名,有smtp,但是from写假的地址,to是我自己的机器上的邮件地址) |
|