From 606cd070ab0d88f45dae54ae960fef7245894373 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sat, 11 Jun 2022 21:02:06 -0400 Subject: [PATCH] small mail fix for backup hosts --- mail-setup | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/mail-setup b/mail-setup index f85bb87..b53530a 100755 --- a/mail-setup +++ b/mail-setup @@ -1188,6 +1188,19 @@ delay_warning_condition = ${if or {\ { match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }\ { match_domain{$domain}{+local_domains} }\ } {no}{yes}} + + +# enable 587 in addition to the default 25, so that +# i can send mail where port 25 is firewalled by isp +daemon_smtp_ports = 25 : 587 +# default of 25, can get stuck when catching up on mail +smtp_accept_max = 400 +smtp_accept_reserve = 100 +smtp_reserve_hosts = +iank_trusted + +# Rules that make receiving more liberal should be on backup hosts +# so that we dont reject mail accepted by MAIL_HOST +LOCAL_DENY_EXCEPTIONS_LOCAL_ACL_FILE = /etc/exim4/conf.d/local_deny_exceptions_acl EOF rm -fv /etc/exim4/rcpt_local_acl # old path @@ -2498,20 +2511,13 @@ CHECK_RCPT_SPF = true CHECK_RCPT_REVERSE_DNS = true CHECK_MAIL_HELO_ISSUED = true -# enable 587 in addition to the default 25, so that -# i can send mail where port 25 is firewalled by isp -daemon_smtp_ports = 25 : 587 -# default of 25, can get stuck when catching up on mail -smtp_accept_max = 400 -smtp_accept_reserve = 100 -smtp_reserve_hosts = +iank_trusted -# options exim has to avoid having to alter the default config files -CHECK_RCPT_LOCAL_ACL_FILE = /etc/exim4/conf.d/rcpt_local_acl CHECK_DATA_LOCAL_ACL_FILE = /etc/exim4/conf.d/data_local_acl -LOCAL_DENY_EXCEPTIONS_LOCAL_ACL_FILE = /etc/exim4/conf.d/local_deny_exceptions_acl +CHECK_RCPT_LOCAL_ACL_FILE = /etc/exim4/conf.d/rcpt_local_acl + # testing dmarc #dmarc_tld_file = /etc/public_suffix_list.dat + EOF ;;& -- 2.30.2