Hi Dovecot: 2.2.19.rc2 OS: CentOS Linux release 7.1.1503 (Core) FS: XFS Problem: Dovecot it does not include line breaks in the letter. Bug or feautre? Message size in fs: 1125 bytes Message: From cras at irccrew.org Tue Jul 23 19:39:23 2002 Received: with ECARTIS (v1.0.0; list dovecot); Tue, 23 Jul 2002 19:39:23 +0300 (EEST) Return-Path: <cras at irccrew.org> Delivered-To: dovecot at procontrol.fi Received: from shodan.irccrew.org (shodan.irccrew.org [80.83.4.2]) by danu.procontrol.fi (Postfix) with ESMTP id 434B423848 for <dovecot at procontrol.fi>; Tue, 23 Jul 2002 19:39:23 +0300 (EEST) Received: by shodan.irccrew.org (Postfix, from userid 6976) id 175FA4C0A0; Tue, 23 Jul 2002 19:39:23 +0300 (EEST) Date: Tue, 23 Jul 2002 19:39:23 +0300 From: Timo Sirainen <tss at iki.fi> To: dovecot at procontrol.fi Subject: [dovecot] first test mail Message-ID: <20020723193923.J22431 at irccrew.org> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.2.5i Content-Type: text/plain; charset=us-ascii X-archive-position: 1 X-ecartis-version: Ecartis v1.0.0 Sender: dovecot-bounce at procontrol.fi Errors-to: dovecot-bounce at procontrol.fi X-original-sender: tss at iki.fi Precedence: bulk X-list: dovecot X-IMAPbase: 1096038620 0000010517 X-UID: 1 Status: O lets see if it works Dovecot count dict mysql: UPDATE quota SET bytes=bytes+974,messages=messages+1 WHERE username = 'user10 at test.test'
On 09/29/2015 05:14 PM, Pavel Batkov wrote:> Hi > > Dovecot: 2.2.19.rc2 > OS: CentOS Linux release 7.1.1503 (Core) > FS: XFS > > Problem: > > Dovecot it does not include line breaks in the letter. Bug or feautre?I don't think it's related to line feeds, although there are settings related to that. What mailbox format are you using? It seems like mbox format. With mbox:> Message size in fs: 1125 bytes > > Message: > > From cras at irccrew.org Tue Jul 23 19:39:23 2002..> X-IMAPbase: 1096038620 0000010517 > X-UID: 1 > Status: OThese above 4 lines are internal metadata with mbox format. Because they're not really part of the real message, they're not counted towards the quota. (And practically this would also make it difficult, because a flag change would then also change the quota.)> Dovecot count dict mysql: > > UPDATE quota SET bytes=bytes+974,messages=messages+1 WHERE username > 'user10 at test.test'After removing those lines, the message size matches the 974 bytes correctly.
On 29.09.2015 17:46, Timo Sirainen wrote:> On 09/29/2015 05:14 PM, Pavel Batkov wrote: >> Hi >> >> Dovecot: 2.2.19.rc2 >> OS: CentOS Linux release 7.1.1503 (Core) >> FS: XFS >> >> Problem: >> >> Dovecot it does not include line breaks in the letter. Bug or feautre? > I don't think it's related to line feeds, although there are settings > related to that. What mailbox format are you using? It seems like mbox > format. With mbox:mbox> >> Message size in fs: 1125 bytes >> >> Message: >> >> From cras at irccrew.org Tue Jul 23 19:39:23 2002 > .. >> X-IMAPbase: 1096038620 0000010517 >> X-UID: 1 >> Status: O > These above 4 lines are internal metadata with mbox format. Because > they're not really part of the real message, they're not counted towards > the quota. (And practically this would also make it difficult, because a > flag change would then also change the quota.) > >> Dovecot count dict mysql: >> >> UPDATE quota SET bytes=bytes+974,messages=messages+1 WHERE username >> 'user10 at test.test' > After removing those lines, the message size matches the 974 bytes > correctly.