From: Ian Kelling Date: Thu, 18 Apr 2024 18:34:30 +0000 (-0400) Subject: comments X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=86c0ed3d5d8b0df8b961935fe931c8f57edd0240;p=distro-setup comments --- 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