大网数据广告活动
服务器运维问答

Mail error 550 Maximum line length exceeded (RFC 5322 2.1.1)

· 52CE 我爱测

I have a reseller hosting account containing a couple of domains. One of our clients has recently been complaining about emails not being sent. They are receiving the error " 550 Maximum line length excxeeded (RFC 5322 2.1.1) ". …

问题原文

原帖链接 · Dennis · CC BY-SA 4.0

I have a reseller hosting account containing a couple of domains. One of our clients has recently been complaining about emails not being sent. They are receiving the error "550 Maximum line length excxeeded (RFC 5322 2.1.1)".

After some Googling it appears that the maximum length can only contain 998 characters (+ line breaks). And upon inspection of the .eml file of the email, i can find two lines each containing over 1000 characters. So indeed, this is where the problem resides.

However, i've tried contacting my hosting provider and try to determine where the problem is exactly located on an architectural level and how it can be prevented. But it seems they're completely clueless themselves (or don't want to admit it).

Our client having the issues, uses a very specific software (Bouwsoft) where they manage their emails and sent their emails from. Bouwsoft uses the IMAP settings of our reseller hosting email server in order to pull the mails and sent the emails. So everything goes via the reseller mail server.

So the main question boils down to: is it the responsability of the mail server of our hosting provider to split the long lines in the email to not contain more than 1000 characters, or is this the responsability of the software which sends the emails (Bouwsoft in this example) ?

Thanks in advance!

已采纳解答

原帖链接 · Michael Hampton · CC BY-SA 4.0

The software which creates the email and submits it is responsible for ensuring that it complies with all relevant standards, such as not having excessively long lines. The mail server is rightly complaining because the software did not do so.

There is nothing that the mail server can (or should) do about this. This is the responsibility of the software which created the message to fix.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-09-28)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。