Страница 1 из 1

550 maximum allowed line length is 998 octets, got 1054

Добавлено: 2019-03-22 9:56:34
korbnik
Добрый день!

Подскажите, пожалуйста, по такой проблеме.

Посылаю сообщение в интернет и приходит отбивка с хоста на котором установлен exim:

Код: Выделить всё

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

  korbnik@mail.ru
    SMTP error from remote mail server after end of data:
    host 10.1.10.32 [10.1.10.32]: 550 maximum allowed line length is 998 octets, got 1054
И далее идут загаловки и тело сообщение. Получатель только один - korbnik@mail.ru

Поискал в интернете, ничего толкового не нашёл.
Может у кого была такая ситуация. Подскажиет, пожалуйста, где донастроить в exim-е ?

Заранее благодарен. Борис.

550 maximum allowed line length is 998 octets, got 1054

Добавлено: 2019-03-22 11:30:49
skeletor
Для debian'a сделали macros (ver 4.88) IGNORE_SMTP_LINE_LENGTH_LIMIT=1, но не всегда оно работает (https://stackoverflow.com/questions/549 ... ow-long-li). Думаю, нужно править исходники и пересобирать exim

550 maximum allowed line length is 998 octets, got 1054

Добавлено: 2019-03-30 20:02:14
xM
Надо соблюдать RFC5322 и не пихать в строку свыше оговоренного лимита.
2.1.1. Line Length Limits

There are two limits that this specification places on the number of
characters in a line. Each line of characters MUST be no more than
998 characters, and SHOULD be no more than 78 characters, excluding
the CRLF.
С Exim проблем нет.

550 maximum allowed line length is 998 octets, got 1054

Добавлено: 2019-04-23 19:33:25
xM
Возможно это ваш случай
As for MS Outlook, it has bugs with mail formatting from version 10.
At most cases the "References:" header is broken and contain garbage.
There is no sense to reformat it, because this garbage reflects only
memory corruption and has no valid message-ids. You have better to remove
References: header completely. Put in your config something like this:

acl_check_data:
...
warn
set acl_m_ref_len = ${strlen:$h_references:}
condition = ${if > {$acl_m_ref_len}{998}}
logwrite = References header has length=$acl_m_ref_len, removed
remove_header = references