From: Ian Kelling Date: Mon, 29 Jul 2019 20:47:43 +0000 (-0400) Subject: fix missing sieve links on new systems X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=commitdiff_plain;h=460cc07230c2040305068f17a687e06c7bc13dfe fix missing sieve links on new systems --- diff --git a/mail-setup b/mail-setup index 645510a..9bc36dc 100755 --- a/mail-setup +++ b/mail-setup @@ -566,6 +566,9 @@ EOF # internet. I was torn about whether to do this or not, meh. pi dovecot-core dovecot-imapd dovecot-sieve dovecot-lmtpd + for f in /p/c/subdir_files/sieve/*sieve /a/c/subdir_files/sieve/*sieve; do + sudo -u $u /a/exe/lnf -T $f $(eval echo ~$u)/sieve/${f##*/} + done # if we changed 90-sieve.conf and removed the active part of the # sieve option, we wouldn\'t need this, but I\'d rather not modify a # default config if not needed. This won\'t work as a symlink in /a/c