X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mail-setup;h=71b086b72b85f4621a0fa10686b9b866f1ce43b2;hb=b18dade73dedfe69aa741f8417947d83c4208f2d;hp=aca7d8d04890256fcba6c845d3853ad89185bae1;hpb=2b981100a8b45f117d6f5c165404937f3c917e8f;p=distro-setup diff --git a/mail-setup b/mail-setup index aca7d8d..71b086b 100755 --- a/mail-setup +++ b/mail-setup @@ -169,9 +169,10 @@ fi # background: dovecot does not yet have ocsp stapling support # reference: https://community.letsencrypt.org/t/simple-guide-using-lets-encrypt-ssl-certs-with-dovecot/2921 # -# for phone, k9mail, same thing but username alerts, pass in ivy-pass. +# for phone, k9mail, fdroid, same thing but username alerts, pass in ivy-pass. # also, bk.b8.nz for secondary alerts, username is iank. same alerts pass. -# fetching mail settings: folder poll frequency 10 minutes +# fetching mail settings: folder poll frequency 10 minutes. +# account settings, fetching mail, push folders: All. Then disable the persistent notification. ####### @@ -2996,7 +2997,7 @@ if $reload; then m systemctl daemon-reload fi -m systemctl --now enable epanicclean.timer +m systemctl --now enable epanicclean case $HOSTNAME in je) @@ -3037,7 +3038,7 @@ case $HOSTNAME in fi if ! systemctl is-active clamav-daemon >/dev/null; then m systemctl --now enable clamav-daemon - out=$(rsync -aiSAX --chown=root:root --chmod=g-s /a/bin/ds/filesystem/etc/systemd/system/epanicclean.{timer,service} /etc/systemd/system) + out=$(rsync -aiSAX --chown=root:root --chmod=g-s /a/bin/ds/filesystem/etc/systemd/system/epanicclean.service /etc/systemd/system) if [[ $out ]]; then reload=true fi @@ -3104,16 +3105,13 @@ case $HOSTNAME in cat >/etc/cron.d/mailtest <