Hi.
Even new mails delivered by my MDA don't get the ,S= and ,W= fields set... (but when I "upload" a mail via IMAP to dovecot, they are set)
Is there some place in dovecot where I need to enable this? Or would it be the MDA that has to calculate and set this already when placing a file in ./new?
Thanks, Chris.
Il 31/10/2012 02:13, Christoph Anton Mitterer ha scritto:
Hi.
Even new mails delivered by my MDA don't get the ,S= and ,W= fields set... (but when I "upload" a mail via IMAP to dovecot, they are set)
Is there some place in dovecot where I need to enable this? Or would it be the MDA that has to calculate and set this already when placing a file in ./new?
The MDA should calculate and set this, dovecot always add these informations, as you can see when upload file via IMAP.
Ciao
-- Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
On Wed, 2012-10-31 at 08:20 +0100, Alessio Cecchi wrote:
The MDA should calculate and set this, dovecot always add these informations, as you can see when upload file via IMAP.
Ah thanks,... do you know whether it's possible to have them set by maildrop? I couldn't find anything on this.
Cheers, Chris.
Il 31/10/2012 12:41, Christoph Anton Mitterer ha scritto:
On Wed, 2012-10-31 at 08:20 +0100, Alessio Cecchi wrote:
The MDA should calculate and set this, dovecot always add these informations, as you can see when upload file via IMAP. Ah thanks,... do you know whether it's possible to have them set by maildrop? I couldn't find anything on this.
My maildrop (2.4) version, working with qmail and vpopmail, add S= by default. Probably you are running an old version without Maildir++ support:
http://www.inter7.com/courierimap/README.maildirquota.html
============== Delivering to a Maildir++
Delivering to a Maildir++ is like delivering to a Maildir, with the following exceptions:
Follow the usual Maildir conventions for naming the filename used to store the message, except that append ,S=nnnnn to the name of the file, where nnnnn is the size of the file. This eliminates the need to stat() most messages when calculating the quota. If the size of the message is not known at the beginning, append ,S=nnnnn when renaming the message from tmp to new.
Ciao
-- Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
On Wed, 2012-10-31 at 13:04 +0100, Alessio Cecchi wrote:
maildrop (2.4) Ah thanks... yeah I had an old version..
add S= by default. http://www.inter7.com/courierimap/README.maildirquota.html AFAIU that... ,W= is however not set, right? :(
thanks, Chris.
Il 31/10/2012 14:55, Christoph Anton Mitterer ha scritto:
On Wed, 2012-10-31 at 13:04 +0100, Alessio Cecchi wrote:
maildrop (2.4) Ah thanks... yeah I had an old version..
add S= by default. http://www.inter7.com/courierimap/README.maildirquota.html AFAIU that... ,W= is however not set, right? :(
Yes, W= is not set by maildrop, only dovecot-lda set W=, anyway S=size is sufficient for speed up the system. If the message was stored with CR+LF linefeeds, <size> and <vsize> are the same.
More info here: http://wiki2.dovecot.org/MailboxFormat/Maildir
Ciao
-- Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
FYI:
On Wed, 2012-10-31 at 15:09 +0100, Alessio Cecchi wrote:
Yes, W= is not set by maildrop I had some conversation with Sam (the maildrop upstream), who said he would accept a patch adding ,W= support to maildrop. He may even look at it himself, when he should ever find some time being very bored ;)
Given that maildrop is one of the most important MDAs, perhaps someone of the dovecot developers may have also an interest in this :)
Cheers, Chris.
participants (2)
-
Alessio Cecchi
-
Christoph Anton Mitterer