Skip to content

Commit 5a5668f

Browse files
author
Serghey Rodin
committed
1 parent a0458cd commit 5a5668f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

install/rhel/7/exim/exim.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ acl_check_data:
143143
hosts = !+relay_from_hosts
144144
condition = ${if < {$message_size}{100K}}
145145
condition = ${if eq{$acl_m1}{yes}{yes}{no}}
146-
spam = nobody:true/defer_ok
146+
spam = spamd:true/defer_ok
147147
add_header = X-Spam-Score: $spam_score_int
148148
add_header = X-Spam-Bar: $spam_bar
149149
add_header = X-Spam-Report: $spam_report

install/vst-install-rhel.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,13 @@ if [ "$spamd" = 'yes' ]; then
11241124
chkconfig spamassassin on
11251125
service spamassassin start
11261126
check_result $? "spamassassin start failed"
1127+
if [ "$release" -eq '7' ]; then
1128+
groupadd -g 1001 spamd
1129+
useradd -u 1001 -g spamd -s /sbin/nologin -d \
1130+
/var/lib/spamassassin spamd
1131+
mkdir /var/lib/spamassassin
1132+
chown spamd:spamd /var/lib/spamassassin
1133+
fi
11271134
fi
11281135

11291136

0 commit comments

Comments
 (0)