> On 05/02/2025 14:15 EET Michael via dovecot <dovecot@dovecot.org> wrote:
> 
>  
> hey, :)
> 
> i have a postfix instance trying to deliver a message to dovecot via lmtp, 
> but fails due to an out-of-memory error in dovecot:
> 
> the message is generated by a cron job like a thousand times before, and 
> hundreds of times afterwards. the only thing maybe worth mentioning is its 
> size of ~80MB. but since i don't have any size limits configured, i don't 
> see why it shouldn't be delivered.
> 
> any hints are appreciated!
> 
> greetings...
> 
> 
> # dovecot --version
> 2.3.21.1 (d492236fa0)
> 
> # cat /etc/apt/sources.list.d/dovecot.list
> #deb http://repo.dovecot.org/ce-2.3-latest/debian/bullseye bullseye main
> deb https://repo.dovecot.org/ce-2.3-latest/debian/bullseye bullseye main
> 
> 
> postfix log:
> Feb  5 12:21:42 mail01 postfix/qmgr[1175]: B95E360E5C: 
> from=<r...@mail01.example.com>, size=85100558, nrcpt=1 (queue active)
> Feb  5 12:21:43 mail01 postfix/lmtp[3990]: B95E360E5C: 
> to=<r...@example.com>, orig_to=<root>, 
> relay=mail01.example.com[private/dovecot-lmtp], delay=3265236, 
> delays=3265235/0.01/0.01/1.1, dsn=4.4.2, status=deferred (lost connection 
> with mail01.example.com[private/dovecot-lmtp] while sending end of data -- 
> message may be sent more than once)
> 

Incease vsize limit for LMTP, it needs to be large enough to fit the indexes in 
mmap'd memory (recommend 2G as that usually works best).

Aki

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to