Question about line length limit in lmtp.

Aki Tuomi aki.tuomi at open-xchange.com
Thu Dec 8 09:29:47 UTC 2022


> On 04/12/2022 18:25 EET Kamil Jońca <kjonca at o2.pl> wrote:
> 
>  
> I have postfix + dovecot server.
> Mail for local users are saved by dovecot lmtp.
> Recently I got some messages from postfix:
> 
> --8<---------------cut here---------------start------------->8---
> 4NQ07L4h4LztXXr: breaking line > 998 bytes with <CR><LF>SPAC
> --8<---------------cut here---------------end--------------->8---
> 
> This is because postfix has configured with default value
> lmtp_line_length_limit (990).
> I can turn off this limit (set to 0) but I am curious if dovecot lmtp
> will accept so lengthty lines?
> Does dovecot lmtp has any line limits?
> 
> KJ
> 
> -- 
> http://stopstopnop.pl/stop_stopnop.pl_o_nas.html

Dovecot LMTP and Submission enforce the RFC line length, which is 1000, including \r\n.

Aki


More information about the dovecot mailing list