Mail exim4 transport issue

Hi,

I keep getting:

2024-10-04 13:14:26 1swgGP-008Rcd-43 ** [email protected] R=send_via_smtp_relay T=smtp_relay_smtp: message has lines too long for transport

and we have under Remote_SMTP:

.ifdef IGNORE_SMTP_LINE_LENGTH_LIMIT
    message_linelength_limit = 1G
 .endif

and in the start of the config:
IGNORE_SMTP_LINE_LENGTH_LIMIT=1

just as sahsanu requested at Message has lines too long for transport - #5 by sahsanu

Any ideas? We also use relay SMTP for this domain, could that be it?

Hi @rokkotnik,

Then add it to smtp_relay_smtp transport:

smtp_relay_smtp:
  driver = smtp
  hosts_require_auth = $host_address
  hosts_require_tls = $host_address
  .ifdef IGNORE_SMTP_LINE_LENGTH_LIMIT
    message_linelength_limit = 1G
  .endif

Remember to restart exim:

systemctl restart exim4

You are a genius! works Thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.