Someone was getting this email bounce back yesterday “Jan 5 2024” about “message has lines too long for transport” so I found the forum:
and added the 3 lines:
.ifdef IGNORE_SMTP_LINE_LENGTH_LIMIT
message_linelength_limit = 1G
.endif
in the “remote_smtp:” section of “/etc/exim4/exim4.conf.template” and I rebooted the server a few times yesterday.
But, I just had a different person complain of the same problem today (Jan 6 2024)
And I see this in my log file:
2024-01-06 12:59:05 1uOUsm-000x7F-32 ** [email protected] R=dnslookup T=remote_smtp: message has lines too long for transport
Any idea why it is still happending?
Thanks!
You must also add IGNORE_SMTP_LINE_LENGTH_LIMIT = 1
at the top of /etc/exim4/exim4.conf.template
or the ifdef block will be ignored.
Example:
######################################################################
# #
# Exim configuration file for Hestia Control Panel #
# #
######################################################################
SPAMASSASSIN = yes
SPAM_SCORE = 50
SPAM_REJECT_SCORE = 100
#CLAMD = no
IGNORE_SMTP_LINE_LENGTH_LIMIT = 1
[...]
Remember to restart exim:
systemctl restart exim4
1 Like
Ahhh! You are a genius! I got that part confused.
Thanks a million sahsanu!
1 Like
system
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.