dbox format needs at least two tools: 1. Expunging only marks the message having refcount=0. The actual disk space is freed only after calling a tool pointing to the user's dbox dir. 2. Ability to force index resync/rebuild in case it doesn't figure out itself that there's something wrong. I'm starting to think about building a more generic mailutil tool, maybe something similar to what UW-IMAP has. So two questions: - What should the tool be called? Probably not mailutil to avoid confusion. doveutil? dovemail? dovetool? mailtool? - Is there any functionality you'd like it to do? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090323/028f7065/attachment-0002.bin>
* Timo Sirainen <dovecot at dovecot.org>:> dbox format needs at least two tools: > > 1. Expunging only marks the message having refcount=0. The actual disk > space is freed only after calling a tool pointing to the user's dbox > dir. > > 2. Ability to force index resync/rebuild in case it doesn't figure out > itself that there's something wrong. > > I'm starting to think about building a more generic mailutil tool, maybe > something similar to what UW-IMAP has. So two questions: > > - What should the tool be called? Probably not mailutil to avoid > confusion. doveutil? dovemail? dovetool? mailtool?Postfix has postconf for configuration issues, postqueue for queue management and postsuper to execute superuser commands. doveconf? dovequeue? dovesuper? dovestore for storage (mbox, maildir, dbox, ...) handling?> - Is there any functionality you'd like it to do?1. Create mbox|maildir|dbox mailboxes 2. Report mailbox size, number of messages, min.|avg.|max. message size p at rick -- state of mind Agentur f?r Kommunikation, Design und Softwareentwicklung http://www.state-of-mind.de Franziskanerstra?e 15 Telefon +49 89 45227227 81669 M?nchen Telefax +49 89 45227226 Amtsgericht M?nchen Partnerschaftsregister PR 563 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 315 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20090324/737ece60/attachment-0002.bin>
On 3/24/2009 2:21 AM, Patrick Ben Koetter wrote:>> I'm starting to think about building a more generic mailutil tool, maybe >> something similar to what UW-IMAP has. So two questions: >> >> - What should the tool be called? Probably not mailutil to avoid >> confusion. doveutil? dovemail? dovetool? mailtool?> Postfix has postconf for configuration issues, postqueue for queue management > and postsuper to execute superuser commands. > > doveconf? dovequeue? dovesuper? dovestore for storage (mbox, maildir, dbox, > ...) handling?I like this idea, and had suggested a while back to change the 'dovecot -n' command to 'doveconf -n' to mirror the way postfix does this kind of thing. It makes sense, and why reinvent the wheel when there's already a model that works.>> - Is there any functionality you'd like it to do?> 1. Create mbox|maildir|dbox mailboxes > 2. Report mailbox size, number of messages, min.|avg.|max. message size3. Be able to go through an *existing*, maybe even very large, mailstore and 'de-duplicate' the entire mail store - once 'Single Instance Storage' is supported of course. -- Best regards, Charles
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 23 Mar 2009, Timo Sirainen wrote:> 2. Ability to force index resync/rebuild in case it doesn't figure out > itself that there's something wrong. > > - What should the tool be called? Probably not mailutil to avoid > confusion. doveutil? dovemail? dovetool? mailtool?dovecot-tool> - Is there any functionality you'd like it to do?+ (re-)index selected mailboxes, maybe recursively, based on mailbox and/or possibly corrupted, existing indexes + remove/sanitize (user-) flags from mailboxes + acl evaluator / tester / "effective rights of user XYZ" + hm, if you have a non-common storage, like dbox, you will require maintainance, like sanitize defective files (or duplicate/recover messages into another mailbox, so you can remove the old one) + transform messages from one storage format into another, keeping all IMAP-related information, e.g. to find duplicate or unwanted messages across mailboxes/users. Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBScjD93WSIuGy1ktrAQIkZwf+MNfFPK26K8la0gSGMFWnJNVvZOztaud8 L6mSts4j4AUgBwNIueOgoEBT0bw2dAuiez2IsHA5q33Cj0hlsnhgpxj3Z6Y2S4n7 8T7yFrqmNUbLp4rKCCVrKJENsg4xXqit6AzPVyMFQES5OxKbMSXX/GYafMQm7Lvr KW+NF0/d4f9GC5R/sGKfUKvwwrkMeXG0U2TdipUz8lMIs25pWN7lTpGd0nMPM0a5 VT6SKPgM1Ip7b4I8brY5TtlppME4FWuoK4OCnrAzNs6obGmeBcS4cZlCAoizK/ux JwoDTuNR4tsubG1aUvowtkg6At6pNUcRA34Z8g4uB/Ag/Qh7FizcQA==bZRn -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 24 Mar 2009, Patrick Ben Koetter wrote:> 1. Create mbox|maildir|dbox mailboxesWell, I thought this, too, but because of the direct way to call dovecot-imap, most of this could be handled through IMAP interactively or script. Maybe: to create mailboxes in a particular format in a place, which normally contains other mailboxes of another format.> 2. Report mailbox size, number of messages, min.|avg.|max. message sizeIn the end same as above - one could speak IMAP. Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBScjE+3WSIuGy1ktrAQLMxggAgoF5xJi6jYGQRDVfQu3PmRM57iWyeFXv wHfVPYCYIC5foSu32nmX8MvZt9s0tSOY6+AmZL2o6yfqcg3KJp35zJLMXPMEaEFh ck0H63UDSyPJSC/Y3sao1FFdTXT62dh4m/CVkCwe7lcwr+tnJweo73LNNkGdO3dT RqKfOaPG7noE5PJKaTIg/tuPvsuQmYvQtCPoTcBBqVwb6qv3GsXbyWE1N0nzij5e Jgll8bM+5w8LXToAxv+W5ucINtTmJFv8KN+3iUdplpM54R6R7aMlYmUMFXOfbrB5 uClgHZ8cCBR6cPqjWS4rUwLoYSHg9Zj+Ci74e4MBzPEp3SLvFye4ew==wZL/ -----END PGP SIGNATURE-----
On Mon, 2009-03-23 at 20:25 -0400, Timo Sirainen wrote:> - What should the tool be called? Probably not mailutil to avoid > confusion. doveutil? dovemail? dovetool? mailtool?dovestore, dovemail, doveadm, doveadmin, dovetool are probably usable names. I'm beginning to think doveadm or doveadmin would be good. Because Cyrus had cyradm :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090324/ecf6a960/attachment-0002.bin>
On Mon, 2009-03-23 at 20:25 -0400, Timo Sirainen wrote:> 1. Expunging only marks the message having refcount=0. The actual disk > space is freed only after calling a tool pointing to the user's dbox > dir.Another important question is what should this functionality be called? UW-IMAP calls it "burping". -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090325/0466abce/attachment-0002.bin>
Words by Timo Sirainen [Wed, Mar 25, 2009 at 02:33:31PM -0400]:> On Mon, 2009-03-23 at 20:25 -0400, Timo Sirainen wrote: > > 1. Expunging only marks the message having refcount=0. The actual disk > > space is freed only after calling a tool pointing to the user's dbox > > dir. > > Another important question is what should this functionality be called? > UW-IMAP calls it "burping". >Funny name. It should be a funny name :) -- Jose Celestino | http://japc.uncovering.org/files/japc-pgpkey.asc ---------------------------------------------------------------- "One man?s theology is another man?s belly laugh." -- Robert A. Heinlein
Timo Sirainen wrote:> dbox format needs at least two tools: > > 1. Expunging only marks the message having refcount=0. The actual disk > space is freed only after calling a tool pointing to the user's dbox > dir. > > 2. Ability to force index resync/rebuild in case it doesn't figure out > itself that there's something wrong. > > I'm starting to think about building a more generic mailutil tool, maybe > something similar to what UW-IMAP has. So two questions: > > - What should the tool be called? Probably not mailutil to avoid > confusion. doveutil? dovemail? dovetool? mailtool? > > - Is there any functionality you'd like it to do? > >Sounds like dbox is what the tool is mainly used for, I know dbox format is only used by dovecot, but still: dboxutils: 1: dboxclean or dboxexpunge 2: dboxrebuild/dboxresync/dboxrepair :P -- Asbj?rn Sannes
On 24/03/2009 11:25 AM, Timo Sirainen wrote:> dbox format needs at least two tools: > > 1. Expunging only marks the message having refcount=0. The actual disk > space is freed only after calling a tool pointing to the user's dbox > dir. > > 2. Ability to force index resync/rebuild in case it doesn't figure out > itself that there's something wrong. > > I'm starting to think about building a more generic mailutil tool, maybe > something similar to what UW-IMAP has. So two questions: > > - What should the tool be called? Probably not mailutil to avoid > confusion. doveutil? dovemail? dovetool? mailtool? > > - Is there any functionality you'd like it to do? >Did anything like this end up being implemented? We are in the middle of migrating a bunch of people from local storage (pop) to server side storage using imap. It would be really useful to be able to tell dovecot to index a particular maildir after we have copied it onto the server to save our users opening up their shiny new mail client and clicking on all their folders and loading up the server indexing a hundred maildirs at once. -- Thanks, Phill Macey (CiSRA IT Services) -------------- next part -------------- A non-text attachment was scrubbed... Name: phillip_macey.vcf Type: text/x-vcard Size: 311 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20090508/68e0ca05/attachment-0002.vcf>