From 460cc07230c2040305068f17a687e06c7bc13dfe Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Mon, 29 Jul 2019 16:47:43 -0400 Subject: [PATCH] fix missing sieve links on new systems --- mail-setup | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2