Skip to content

Commit 4b48cae

Browse files
committed
added whitlist exeption
1 parent 14be9aa commit 4b48cae

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

install/0.9.7/rhel/exim.conf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
##########################################################################
2-
SPAMASSASSIN = yes
2+
#SPAMASSASSIN = yes
33
SPAM_SCORE = 10
4-
CLAMD = yes
4+
#CLAMD = yes
55
##########################################################################
66

77
domainlist local_domains = dsearch;/etc/exim/domains/
88
domainlist relay_to_domains = dsearch;/etc/exim/domains/
99
hostlist relay_from_hosts = 127.0.0.1
10+
hostlist whitelist = net-iplsearch;/etc/exim/white-blocks.conf
1011
hostlist spammers = net-iplsearch;/etc/exim/spam-blocks.conf
1112
untrusted_set_sender = *
1213
acl_smtp_connect = acl_check_spammers
@@ -45,6 +46,7 @@ DKIM_PRIVATE_KEY = ${if exists{DKIM_FILE}{DKIM_FILE}{0}}
4546
begin acl
4647
##########################################################################
4748
acl_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
##########################################################################
254256
remote_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

install/vst-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ if [ "$srv_type" = 'micro' ] || [ "$srv_type" = 'small' ]; then
515515
fi
516516
wget $CHOST/$VERSION/dnsbl.conf -O /etc/exim/dnsbl.conf
517517
wget $CHOST/$VERSION/spam-blocks.conf -O /etc/exim/spam-blocks.conf
518+
touch /etc/exim/white-blocks.conf
518519
rm -rf /etc/exim/domains
519520
mkdir -p /etc/exim/domains
520521
chmod 640 /etc/exim/exim.conf

0 commit comments

Comments
 (0)