X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Fpostfix%2Flocal.sh;h=b2f52c57033e0627ec70c923a85ca56b325fe450;hb=17e1c6682d10550e22e0a998aa762d18779e1083;hp=ec6ba0b033b459dbf2d3c3b09f32cbb904ff4032;hpb=f40b9456a0359223ae8e5c4e2bcd0e6cd6d1ada8;p=lhc%2Fateliers.git diff --git a/etc/sv/postfix/local.sh b/etc/sv/postfix/local.sh index ec6ba0b..b2f52c5 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,14 +81,11 @@ 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 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 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 install -d -m 770 -o root -g root \ /etc/skel/etc/mail \ /etc/skel/var/cache/mail \