File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ begin transports
324324
325325remote_smtp:
326326 driver = smtp
327- helo_data = mail. ${sender_address_domain}
327+ helo_data = ${sender_address_domain}
328328 dkim_domain = DKIM_DOMAIN
329329 dkim_selector = mail
330330 dkim_private_key = DKIM_PRIVATE_KEY
Original file line number Diff line number Diff line change 5454# Remove errornous history.log file created by certain builds due to bug in v-restart-system
5555if [ -e $HESTIA /data/users/history.log ]; then
5656 rm -f $HESTIA /data/users/history.log
57+ fi
58+
59+ # Use exim4 hostname without hardcoded mailprefix
60+ if [ ! -z " $MAIL_SYSTEM " ]; then
61+ if cat /etc/exim4/exim4.conf.template | grep -q ' helo_data = mail.${sender_address_domain}' ; then
62+ sed -i ' s/helo_data = mail.${sender_address_domain}/helo_data = ${sender_address_domain}/g' /etc/exim4/exim4.conf.template
63+ fi
5764fi
You can’t perform that action at this time.
0 commit comments