correct.Imho if people want to do the special things, have them create the extra file or do the extra effort.
correct.Imho if people want to do the special things, have them create the extra file or do the extra effort.
As far as I know there isn't any doc. However, only in Evo skin there is an option to set a package to email only. This is not in enhanced skin yet.I haven't seen any documentation on setting up an email only server.
I have the same problem now.
2021-07-01 18:16:18 H=xxxxxx.us (domain.com) [xx.xx.xxx.xx] X=TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no rejected EHLO or HELO domain..com: Bad HELO - Host impersonating domain name (domain.com)
How to fix?
# Fix exim ACL
if grep -q "#deny message = HELO_IS_LOCAL_DOMAIN" /etc/exim.conf
then
echo "Exim ACL already commented out."
else
sed -i 's/deny message = HELO_IS_LOCAL_DOMAIN/#deny message = HELO_IS_LOCAL_DOMAIN/g' /etc/exim.conf
sed -i 's/condition = ${if match_domain{$sender_helo_name/#condition = ${if match_domain{$sender_helo_name/g' /etc/exim.conf
sed -i 's/hosts = ! +relay_hosts/#hosts = ! +relay_hosts/g' /etc/exim.conf
systemctl restart exim
fi
But this always worked before.What exactly is the problem you have with this?
This log line says that the mail is rejected because of the bad Helo command. So it's working as designed.
External domains should not give a helo from a local domain.
I have to add this to where?This:
Code:# Fix exim ACL if grep -q "#deny message = HELO_IS_LOCAL_DOMAIN" /etc/exim.conf then echo "Exim ACL already commented out." else sed -i 's/deny message = HELO_IS_LOCAL_DOMAIN/#deny message = HELO_IS_LOCAL_DOMAIN/g' /etc/exim.conf sed -i 's/condition = ${if match_domain{$sender_helo_name/#condition = ${if match_domain{$sender_helo_name/g' /etc/exim.conf sed -i 's/hosts = ! +relay_hosts/#hosts = ! +relay_hosts/g' /etc/exim.conf systemctl restart exim fi
2021-07-01 19:04:32 xxx.xxx.xxx.xx whitelisted in local hosts IP whitelist
2021-07-01 19:04:33 xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2021-07-01 19:04:33 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1lz13B-0000YK-0M
2021-07-01 19:04:33 1lz13B-0000YK-0M => admin <[email protected]> F=<[email protected]> R=virtual_user T=dovecot_lmtp_udp S=5176 C="250 2.0.0 <[email protected]> AAwhD7ED3mDEAQAARZoCDQ Saved"
2021-07-01 19:04:33 1lz13B-0000YK-0M Completed
It's a bash script. Run from shell.I have to add this to where?