no more discover on pyzor + taking care of /etc/aliases
This commit is contained in:
parent
557f0f5b3c
commit
95215db16f
@ -303,7 +303,6 @@ maildrop:
|
|||||||
no_verify
|
no_verify
|
||||||
no_expn
|
no_expn
|
||||||
|
|
||||||
|
|
||||||
local_user:
|
local_user:
|
||||||
debug_print = "R: local_user for $local_part@$domain"
|
debug_print = "R: local_user for $local_part@$domain"
|
||||||
driver = accept
|
driver = accept
|
||||||
@ -313,6 +312,17 @@ local_user:
|
|||||||
transport = LOCAL_DELIVERY
|
transport = LOCAL_DELIVERY
|
||||||
cannot_route_message = Unknown user
|
cannot_route_message = Unknown user
|
||||||
|
|
||||||
|
system_aliases:
|
||||||
|
debug_print = "R: system_aliases for $local_part@$domain"
|
||||||
|
driver = redirect
|
||||||
|
domains = +local_domains
|
||||||
|
allow_fail
|
||||||
|
allow_defer
|
||||||
|
data = ${lookup{$local_part}lsearch{/etc/aliases}}
|
||||||
|
file_transport = address_file
|
||||||
|
user = mail
|
||||||
|
group = mail
|
||||||
|
|
||||||
mail4root:
|
mail4root:
|
||||||
debug_print = "R: mail4root for $local_part@$domain"
|
debug_print = "R: mail4root for $local_part@$domain"
|
||||||
driver = redirect
|
driver = redirect
|
||||||
|
@ -33,7 +33,6 @@ install_exim() {
|
|||||||
|
|
||||||
install_spamassassin() {
|
install_spamassassin() {
|
||||||
aptitude -y install exim4-daemon-heavy sa-exim spamassassin pyzor razor
|
aptitude -y install exim4-daemon-heavy sa-exim spamassassin pyzor razor
|
||||||
sudo -u debian-spamd pyzor discover
|
|
||||||
razor-admin -home=/etc/razor -discover
|
razor-admin -home=/etc/razor -discover
|
||||||
cp -fv spamd/sa-learn /etc/cron.daily/sa-learn
|
cp -fv spamd/sa-learn /etc/cron.daily/sa-learn
|
||||||
cp -fv spamd/spamassassin /etc/default/spamassassin
|
cp -fv spamd/spamassassin /etc/default/spamassassin
|
||||||
|
Loading…
Reference in New Issue
Block a user