X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=mail-setup;fp=mail-setup;h=e15a31ef782d5dcbb34e628c65a42fbb90ba45ab;hp=36b3ab57027418c56945b3767d3bb3beac04b29f;hb=86c0ed3d5d8b0df8b961935fe931c8f57edd0240;hpb=7f94df0eb6002f4fd05ab3fc2d61e94a92ef5a1a diff --git a/mail-setup b/mail-setup index 36b3ab5..e15a31e 100755 --- a/mail-setup +++ b/mail-setup @@ -2120,6 +2120,7 @@ mail_cache_max_size = 50M # ian: %u is used for alerts user vs iank # https://doc.dovecot.org/configuration_manual/mail_location/Maildir/ mail_location = maildir:/m/%u:LAYOUT=fs:INBOX=/m/%u/INBOX:INDEX=/var/dovecot-indexes/%u +# note: i don't know if these need to be set, but this seems fine. mail_uid = iank mail_gid = iank @@ -3803,7 +3804,8 @@ case $HOSTNAME in ;; esac -# optimization, this only needs to run once. +# optimization, this only needs to run once. But, if we move to a +# computer we haven't used much, we need to fetch a fresh cert. if ! openssl x509 -checkend $(( 60 * 60 * 24 * 3 )) -noout -in /etc/exim4/fullchain.pem; then m /a/bin/ds/mail-cert-cron -1 -i m systemctl --now enable mailcert.timer