X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fsv%2Fpostfix%2Flocal.sh;h=1b6bf31eb5beebfd5c879ddc7b3054e05e961782;hb=4b69efab61679b7076c683f9315b0aa9b7c54e17;hp=ec6ba0b033b459dbf2d3c3b09f32cbb904ff4032;hpb=f40b9456a0359223ae8e5c4e2bcd0e6cd6d1ada8;p=lhc%2Fateliers.git diff --git a/etc/sv/postfix/local.sh b/etc/sv/postfix/local.sh index ec6ba0b..1b6bf31 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 @@ -83,12 +83,10 @@ sudo install -m 640 -o root -g root \ sudo postmap hash:/etc/postfix/$local_domainname/transport sudo postmap hash:/etc/postfix/$local_domainname/transport-pending-transition-from-lautrenet # TODO: supprimer ce transport à la migration des MX de lautre.net à ici. -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/$local_domainname/virtual_alias-pending-transition-from-lautrenet # TODO: supprimer ce virtual_alias à la migration des MX de lautre.net à ici. +sudo postmap hash:/etc/postfix/cyclocoop.org/virtual_alias sudo install -d -m 770 -o root -g root \ /etc/skel/etc/mail \ /etc/skel/var/cache/mail \