X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Fdovecot%2Flocal.sh;h=38aadcee5d025877e4da922fc305547e3ff16d90;hb=f2df1822b857c2ea5569ffb0f49ac132cd75f098;hp=4ca3b654db272386af4d0c312a806c73b6c693f6;hpb=88856ebb5bec8f4031e9fa5334087b488e9c13d7;p=lhc%2Fateliers.git diff --git a/etc/sv/dovecot/local.sh b/etc/sv/dovecot/local.sh index 4ca3b65..38aadce 100644 --- a/etc/sv/dovecot/local.sh +++ b/etc/sv/dovecot/local.sh @@ -4,7 +4,9 @@ hint="run before: remote/runit-configure $sv" for domain in \ "$local_domainname" \ - cyclocoop.org + cyclocoop.org \ + ptitvelo.net \ + veli-velo.org do for protocol in imap pop do @@ -30,6 +32,8 @@ for dir in \ /etc/dovecot/acl/global.d \ ~mail/data \ ~mail/log \ + /etc/dovecot/pop3 \ + /etc/dovecot/pop3/INBOX \ /etc/dovecot/sieve \ /etc/dovecot/sieve/after.d \ /etc/dovecot/sieve/before.d \ @@ -70,4 +74,7 @@ sudo install -m 644 -o root -g root /dev/stdin \ sudo install -m 640 -o root -g postfix \ "$tool"/etc/dovecot/transport \ /etc/dovecot/transport +sudo install -m 644 -o root -g root \ + "$tool"/etc/dovecot/pop3/INBOX/dovecot-virtual \ + /etc/dovecot/pop3/INBOX/dovecot-virtual sudo postmap hash:/etc/dovecot/transport