From: Ian Kelling Date: Fri, 30 Sep 2022 20:48:01 +0000 (-0400) Subject: sent mail getting backed up locally X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=4bb0f3d34543cc6f73f3803584b80f414d220bb3;p=distro-setup sent mail getting backed up locally --- diff --git a/mail-setup b/mail-setup index c40c56c..0a885ca 100755 --- a/mail-setup +++ b/mail-setup @@ -3,6 +3,10 @@ # Copyright (C) 2019 Ian Kelling # SPDX-License-Identifier: AGPL-3.0-or-later +# todo: check new macro DKIM_TIMESTAMPS + +# todo: check if REMOTE_SMTP_INTERFACE or REMOTE_SMTP_TRANSPORTS_HEADERS_REMOVE can simplify my or fsfs config + # todo: max line length macro changed in t11. look into it # todo: check that all macros we use are still valid in t11 @@ -1348,11 +1352,16 @@ warn EOF -# It is important for this to exist universally, instead of -# just on the mail host because if we change mail host and -# still have something in the queue which was destined for -# this router, but hosts were unreachable, the routers will -# be reevaluated on the next retry. + +# old file +rm -fv /etc/exim4/conf.d/router/880_backup_copy + + +# It is important for this to exist everywhere except in MAIL_HOST +# non-nn config. Previously, just had it in the nn-config on MAIL_HOST, +# but that is a problem if we change mail host and still have something +# in the queue which was destined for this router, but hosts were +# unreachable, the routers will be reevaluated on the next retry. i /etc/exim4/conf.d/router/890_backup_copy <>/etc/myexim4/conf.d/main/000_local <<'EOF' # this makes it easier to see which exim is doing what log_file_path = /var/log/exim4/my%s