Skip to main content

Continuing issues with Message has lines too long for transport

Answered

Comments

12 comments

  • cPRex Jurassic Moderator

    Hey there!  There isn't a reason this value should ever need to approach 2 million.  Exim's default even without cPanel is 998, and we only created such a high custom value on our end to deal with mail clients like this. 

    https://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_smtp_transport.html

    "The default value is that defined by the SMTP standards."

    At this time, we don't have plans to bump that anymore.

    Could you submit a ticket, to either us or your host, so we can see this in action and determine why such a high number is required on your instance?

    0
  • RaPha_Real

    Hello cPRex,

    I Still experiancing this kind of error even if I adjusted the Max line to 500,000

    No solution for this up to this date?

    0
  • cPRex Jurassic Moderator

    Is that error only happening with a certain provider?

    0
  • RaPha_Real

    Hello cPRex..

    Its happen not only to the certain provider. Even on yahoo and gmail recipients, I experienced this error "message has lines too long for transport"

     

     

    0
  • cPRex Jurassic Moderator

    What if you set that value to 1000000?  Does that still happen?

    0
  • RaPha_Real

    Yes sir, even if I increase the value..

    0
  • cPRex Jurassic Moderator

    Are you possibly using Mailscanner or a custom smarthost on the machine?

    0
  • RaPha_Real

    I'm using 3rd party smtp, sendgrid.. Integrate in exim...

    0
  • cPRex Jurassic Moderator

    Thanks for the details - can you try the workaround mentioned here to see if that helps?

    https://support.cpanel.net/hc/en-us/articles/4984208965015--Message-has-lines-too-long-for-transport-with-custom-routers

    0
  • RaPha_Real

    Thank you cPRex

    1
  • Steini Petur

    Thank you cPRex for this, It was in my Smarthost Transportstart that was messing me up, the 66655 in the Exim basic wasn't enough since I use SpamExpert Smart Route..

    Reloaded my Centos 6 with Alma 9 and went from super old WHM locked down to the latest, and forgot that THIS changed somewhere along the way.

    This got my email back to normal for the company cheers.

    0
  • cPRex Jurassic Moderator

    I'm glad you found a fix!

    0

Please sign in to leave a comment.