mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
This commit is contained in:
parent
a0458cd193
commit
5a5668f866
2 changed files with 8 additions and 1 deletions
|
@ -143,7 +143,7 @@ acl_check_data:
|
||||||
hosts = !+relay_from_hosts
|
hosts = !+relay_from_hosts
|
||||||
condition = ${if < {$message_size}{100K}}
|
condition = ${if < {$message_size}{100K}}
|
||||||
condition = ${if eq{$acl_m1}{yes}{yes}{no}}
|
condition = ${if eq{$acl_m1}{yes}{yes}{no}}
|
||||||
spam = nobody:true/defer_ok
|
spam = spamd:true/defer_ok
|
||||||
add_header = X-Spam-Score: $spam_score_int
|
add_header = X-Spam-Score: $spam_score_int
|
||||||
add_header = X-Spam-Bar: $spam_bar
|
add_header = X-Spam-Bar: $spam_bar
|
||||||
add_header = X-Spam-Report: $spam_report
|
add_header = X-Spam-Report: $spam_report
|
||||||
|
|
|
@ -1124,6 +1124,13 @@ if [ "$spamd" = 'yes' ]; then
|
||||||
chkconfig spamassassin on
|
chkconfig spamassassin on
|
||||||
service spamassassin start
|
service spamassassin start
|
||||||
check_result $? "spamassassin start failed"
|
check_result $? "spamassassin start failed"
|
||||||
|
if [ "$release" -eq '7' ]; then
|
||||||
|
groupadd -g 1001 spamd
|
||||||
|
useradd -u 1001 -g spamd -s /sbin/nologin -d \
|
||||||
|
/var/lib/spamassassin spamd
|
||||||
|
mkdir /var/lib/spamassassin
|
||||||
|
chown spamd:spamd /var/lib/spamassassin
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue