[Dovecot] dovecot Digest, Vol 67, Issue 60

Timo Sirainen tss at iki.fi
Mon Nov 24 01:41:49 EET 2008


On Nov 24, 2008, at 1:22 AM, Gokdeniz Karadag wrote:

> Setting mailbox_size_limit to 0 made deliveries possible. a limit of  
> 2000000000 (<2GB) also did not show the errors. Thank you ! :)
>
> My issue is fixed but deliver might have a bug, so I will explain  
> things, sorry for not being clear previously.
>
> Old mail server was 32 bit(an old version of debian) and used  
> procmail for deliveries, that setup worked with the given limit of  
> 5GB and mailbox sizes above 1GB.
>
> After migrating to an 64 bit server (debian etch) and dovecot's  
> deliver, the stated delivery errors appeared for mailboxes above 1  
> GB. As I stated at the beginning of my reply, setting  
> mailbox_size_limit below 2GB made deliveries possible. I tried with  
> edge values, mailbox_size_limit=2147483648 (exactly 2GB) would give  
> the following error in postfix logs:
>
> fatal: main.cf configuration error: mailbox_size_limit is smaller  
> than message_size_limit
>
> A limit of 2147483648 - 1 worked fine.
>
> There are two distinct bugs probably, one in postfix and one in  
> dovecot.

Postfix clearly is using signed 32bit integer here, which could be  
considered a bug. But why do you think there's a bug in Dovecot? Note  
that Dovecot never even sees this value. It's the kernel that enforces  
it, Dovecot simply reacts to a write() failure.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081124/d74f5093/attachment.bin 


More information about the dovecot mailing list