dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction : notify DNS ptitvelo.net .
[lhc/ateliers.git]
/
etc
/
sv
/
postfix
/
local.sh
diff --git
a/etc/sv/postfix/local.sh
b/etc/sv/postfix/local.sh
index
2c64f52
..
1b6bf31
100644
(file)
--- 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
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
"$tool"/local/insserv-remove postfix
sudo install -m 640 -o root -g root /dev/stdin /etc/postfix/.gitignore <<-EOF
@@
-81,10
+81,12
@@
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
"$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/transport-pending-transition-from-lautrenet
+ # TODO: supprimer ce transport à la migration des MX de lautre.net à ici.
sudo postmap hash:/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 \
sudo install -d -m 770 -o root -g root \
/etc/skel/etc/mail \
/etc/skel/var/cache/mail \