File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
44## [ Development]
55
66- Allow custom mail domains with own certificates #2061 @myrevery
7+ - Fix #2087 Exim 4.94 Did not send any email to remote servers.
78- Fixed #2082 v-delete-web-php creates always new config file
89
910## [ 1.4.11] - Service release
Original file line number Diff line number Diff line change @@ -73,9 +73,9 @@ DKIM_DOMAIN = ${lc:${domain:$h_from:}}
7373DKIM_FILE = /etc/exim4/domains/${lookup{${lc:${domain:$h_from:}}}dsearch{/etc/exim4/domains/}}/dkim.pem
7474DKIM_PRIVATE_KEY = ${if exists{DKIM_FILE}{DKIM_FILE}{0}}
7575
76- OUTGOING_IP = /etc/exim4/domains/$sender_address_domain/ip
76+ OUTGOING_IP = /etc/exim4/domains/${lookup{$ sender_address_domain}dsearch{/etc/exim4/domains}} /ip
7777
78- SMTP_RELAY_FILE = ${if exists{/etc/exim4/domains/${sender_address_domain}/ smtp_relay.conf}{/etc/exim4/domains/$sender_address_domain/smtp_relay.conf}{/etc/exim4/smtp_relay.conf}}
78+ SMTP_RELAY_FILE = ${if exists{/etc/exim4/domains/${lookup{$ sender_address_domain}dsearch{/etc/exim4/domains}}/ smtp_relay.conf}{/etc/exim4/domains/${lookup{$ sender_address_domain}dsearch{/etc/exim4/domains}} /smtp_relay.conf}{/etc/exim4/smtp_relay.conf}}
7979SMTP_RELAY_HOST = ${lookup{host}lsearch{SMTP_RELAY_FILE}}
8080SMTP_RELAY_PORT = ${lookup{port}lsearch{SMTP_RELAY_FILE}}
8181SMTP_RELAY_USER = ${lookup{user}lsearch{SMTP_RELAY_FILE}}
Original file line number Diff line number Diff line change 55# ######################################################################################
66# ###### Place additional commands below. #######
77# ######################################################################################
8+
9+ if [ -f " /etc/exim4/exim4.conf.template" ]; then
10+ sed -i ' s|OUTGOING_IP = /etc/exim4/domains/$sender_address_domain/ip|OUTGOING_IP = /etc/exim4/domains/${lookup{$sender_address_domain}dsearch{/etc/exim4/domains}}/ip|g' /etc/exim4/exim4.conf.template
11+ sed -i ' s|SMTP_RELAY_FILE = ${if exists{/etc/exim4/domains/${sender_address_domain}/smtp_relay.conf}{/etc/exim4/domains/$sender_address_domain/smtp_relay.conf}{/etc/exim4/smtp_relay.conf}}|SMTP_RELAY_FILE = ${if exists{/etc/exim4/domains/${lookup{$sender_address_domain}dsearch{/etc/exim4/domains}}/smtp_relay.conf}{/etc/exim4/domains/${lookup{$sender_address_domain}dsearch{/etc/exim4/domains}}/smtp_relay.conf}{/etc/exim4/smtp_relay.conf}}|g' /etc/exim4/exim4.conf.template
12+ fi
13+
You can’t perform that action at this time.
0 commit comments