Browse Source

no more discover on pyzor + taking care of /etc/aliases

master
Michel Roux 3 years ago
parent
commit
95215db16f
  1. 12
      exim4/exim4.conf
  2. 1
      mailserver.sh

12
exim4/exim4.conf

@ -303,7 +303,6 @@ maildrop:
no_verify
no_expn
local_user:
debug_print = "R: local_user for [email protected]$domain"
driver = accept
@ -313,6 +312,17 @@ local_user:
transport = LOCAL_DELIVERY
cannot_route_message = Unknown user
system_aliases:
debug_print = "R: system_aliases for [email protected]$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:
debug_print = "R: mail4root for [email protected]$domain"
driver = redirect

1
mailserver.sh

@ -33,7 +33,6 @@ install_exim() {
install_spamassassin() {
aptitude -y install exim4-daemon-heavy sa-exim spamassassin pyzor razor
sudo -u debian-spamd pyzor discover
razor-admin -home=/etc/razor -discover
cp -fv spamd/sa-learn /etc/cron.daily/sa-learn
cp -fv spamd/spamassassin /etc/default/spamassassin

Loading…
Cancel
Save