File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
11271134fi
11281135
11291136
You can’t perform that action at this time.
0 commit comments