X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mail-setup;h=e7020d74361301bf5c7b3d82f109b367014fa6cf;hb=f1374d45a1cb90e2d3bff212187f23ba1d7d8af8;hp=30c987f457ec1bfb895071300276f2614420b0cf;hpb=72c18f3a6a7f1ed0ca16af654a1f804ab96e1ff9;p=distro-setup diff --git a/mail-setup b/mail-setup index 30c987f..e7020d7 100755 --- a/mail-setup +++ b/mail-setup @@ -3,6 +3,18 @@ # Copyright (C) 2019 Ian Kelling # SPDX-License-Identifier: AGPL-3.0-or-later +# Things I tend to forget. on MAIL_HOST, daemon runs with /etc/exim4/my.conf, +# due to /etc/default/exim4 containing: +# COMMONOPTIONS='-C /etc/exim4/my.conf' +# UPEX4OPTS='-o /etc/exim4/my.conf' +# +# The non-daemon config +# gets generated from this script calling update-exim4.conf -d /etc/myexim4 +# which has log path +# log_file_path = /var/log/exim4/my%s +# +# eximbackup folder is /bu/md +# it is cleaned up by mail-backup-clean, which is run by btrbk-run # shellcheck disable=SC2254 # makes for a lot of unneeded quotes @@ -3330,7 +3342,6 @@ sentarchive: unseen EOF - u /etc/myexim4/conf.d/router/160_backup_redir <<'EOF' backup_redir: driver = redirect @@ -3347,8 +3358,6 @@ unseen = true errors_to = alerts@iankelling.org EOF - - # for bk, we have a exim4in.service that will do this for us. m update-exim4.conf -d /etc/myexim4 ;;