File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11##########################################################################
2- SPAMASSASSIN = yes
2+ # SPAMASSASSIN = yes
33SPAM_SCORE = 10
4- CLAMD = yes
4+ # CLAMD = yes
55##########################################################################
66
77domainlist local_domains = dsearch;/etc/exim/domains/
88domainlist relay_to_domains = dsearch;/etc/exim/domains/
99hostlist relay_from_hosts = 127.0.0.1
10+ hostlist whitelist = net-iplsearch;/etc/exim/white-blocks.conf
1011hostlist spammers = net-iplsearch;/etc/exim/spam-blocks.conf
1112untrusted_set_sender = *
1213acl_smtp_connect = acl_check_spammers
@@ -45,6 +46,7 @@ DKIM_PRIVATE_KEY = ${if exists{DKIM_FILE}{DKIM_FILE}{0}}
4546begin acl
4647##########################################################################
4748acl_check_spammers:
49+ accept hosts = +whitelist
4850 drop message = Your host in blacklist on this server.
4951 log_message = Host in blacklist
5052 hosts = +spammers
@@ -253,7 +255,7 @@ begin transports
253255##########################################################################
254256remote_smtp:
255257 driver = smtp
256- helo_data = $sender_address_domain
258+ # helo_data = $sender_address_domain
257259 dkim_domain = DKIM_DOMAIN
258260 dkim_selector = mail
259261 dkim_private_key = DKIM_PRIVATE_KEY
Original file line number Diff line number Diff line change @@ -515,6 +515,7 @@ if [ "$srv_type" = 'micro' ] || [ "$srv_type" = 'small' ]; then
515515fi
516516wget $CHOST /$VERSION /dnsbl.conf -O /etc/exim/dnsbl.conf
517517wget $CHOST /$VERSION /spam-blocks.conf -O /etc/exim/spam-blocks.conf
518+ touch /etc/exim/white-blocks.conf
518519rm -rf /etc/exim/domains
519520mkdir -p /etc/exim/domains
520521chmod 640 /etc/exim/exim.conf
You can’t perform that action at this time.
0 commit comments