1

Ever since upgrading to Exim 4.91, legitimate email notifications are being rejected with an error "T=remote_smtp: message is too big (transport limit = 1)".

This appears to be related to a new ACL in Exim as described here to block messages that contain lines longer than 998 octets :

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828801

A macro was supposedly added to v4.88~RC6-2, which disables this ACL named IGNORE_SMTP_LINE_LENGTH_LIMIT and to disable the ACL you can configure it to 1.

In my configuration, I have a server that sends email notifications. This server uses another server as a smarthost. I am running centos and have a config at /etc/exim/exim.conf on both servers.

I can't seem to disable this ACL no matter what I do.

I have added IGNORE_SMTP_LINE_LENGTH_LIMIT=1 to the top of both servers exim.conf files and continue to get errors.

Any suggestions on what to do?

4

2 回答 2

1

我使用“一个大配置文件”(不是拆分配置),并添加

IGNORE_SMTP_LINE_LENGTH_LIMIT=1

到 /etc/exim4/exim4.conf.localmacros 有效。

于 2019-05-02T17:22:13.773 回答
0

我的配置也拆分为多个文件并使用智能主机。按照这些说明,它可以工作:

  • acl在目录中创建一个新文件nano /etc/exim4/conf.d/acl/00_local并将其放入:

IGNORE_SMTP_LINE_LENGTH_LIMIT=1

  • 重新加载配置systemctl reload exim4或重新启动服务systemctl restart exim4

发送电子邮件并检查来自 的 exim 日志/var/log/exim4/mainlog

于 2020-01-20T04:49:56.193 回答