由于我运行了几个免费网站,这些网站都是基于 CMS 的垃圾邮件发送者,他们正在大规模攻击我。因此,我决定设置我的 exim4 安装以将域列入黑名单。Exim 似乎并不关心我内置的任何限制:
acl_check_host:
accept
hosts = +local_domains
deny
log_message = blacklisted
hosts = blacklisted.com
accept
acl_check_data:
deny senders = [email protected]
accept
acl_check_sender:
deny domains = +rbl_blacklist
deny senders = [email protected]
我一点头绪都没有。
Exim version 4.80.1 #21 built 04-Feb-2013 16:14:51
Support for: crypteq iconv() OpenSSL Content_Scanning DKIM Old_Demime
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm dbmjz dbmnz dnsdb mysql
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /etc/exim/exim.conf