X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Fpostfix%2Flocal.sh;h=e85c1361748df470020584c8f0b94283410d1249;hb=a2dfe73c3e58ed87fa4fe3441ec39a88b248b326;hp=2c64f52f83b62b88f6c187934884f4c8bc53fae4;hpb=82a43a9c95892ecfa8bad1a72b490ad0bf60cd3b;p=lhc%2Fateliers.git diff --git a/etc/sv/postfix/local.sh b/etc/sv/postfix/local.sh index 2c64f52..e85c136 100644 --- a/etc/sv/postfix/local.sh +++ b/etc/sv/postfix/local.sh @@ -4,7 +4,7 @@ assert 'sudo test -f /etc/postfix/$local_domainname/smtpd/x509/key.pem' hint sudo debconf-set-selections <<-EOF postfix postfix/main_mailer_type select No configuration EOF -"$tool"/local/apt-get-install postfix procmail postfix-pcre +"$tool"/local/apt-get-install postfix procmail postfix-pcre postfix-policyd-spf-perl "$tool"/local/insserv-remove postfix sudo install -m 640 -o root -g root /dev/stdin /etc/postfix/.gitignore <<-EOF @@ -81,10 +81,13 @@ sudo install -m 640 -o root -g root \ "$tool"/etc/postfix/$local_domainname/transport \ /etc/postfix/$local_domainname/transport sudo postmap hash:/etc/postfix/$local_domainname/transport -sudo install -m 640 -o root -g root \ - "$tool"/etc/postfix/$local_domainname/virtual_alias \ - /etc/postfix/$local_domainname/virtual_alias sudo postmap hash:/etc/postfix/$local_domainname/virtual_alias +sudo postmap hash:/etc/postfix/chatperche.org/virtual_alias +sudo postmap hash:/etc/postfix/cyclocoop.org/virtual_alias +sudo postmap hash:/etc/postfix/lesjantesdunord.org/virtual_alias +sudo postmap hash:/etc/postfix/ptitvelo.net/virtual_alias +sudo postmap hash:/etc/postfix/veli-velo.org/virtual_alias +sudo postmap hash:/etc/postfix/wiklou.org/virtual_alias sudo install -d -m 770 -o root -g root \ /etc/skel/etc/mail \ /etc/skel/var/cache/mail \