On 10/16/2013 10:00 AM, Aleksander Podsiadły wrote:
I compiled source package, installed it and found that some modifications should be done: 8<-- dovecot.patch diff -Naur org/local.conf new/local.conf --- org/local.conf 2011-03-11 13:26:34.000000000 +0100 +++ new/local.conf 2013-10-16 18:23:46.000000000 +0200 @@ -1,7 +1,14 @@ # Put your local dovecot configuration parameters here.+mail_plugins = $mail_plugins quota + protocol imap { imap_client_workarounds = "delay-newmail" + mail_plugins = $mail_plugins imap_quota +} + +protocol pop3 { + pop3_uidl_format = UID%u-%v } # This namespace can be used for people to dump their spam/ham into. diff -Naur org/toaster.conf new/toaster.conf --- org/toaster.conf 2011-03-11 21:56:43.000000000 +0100 +++ new/toaster.conf 2013-10-16 18:24:23.000000000 +0200 @@ -4,13 +4,14 @@ auth_mechanisms = plain login digest-md5 cram-md5 auth_username_format = %Lu first_valid_uid = 89 +first_valid_gid = 89 log_path = /var/log/dovecot.log login_greeting = Dovecot toaster ready. namespace { inbox = yes location = - prefix = -# prefix = INBOX. +# prefix = + prefix = INBOX. # Use 'prefix = INBOX.' for Courier-IMAP compatible transparent migration. # This forces all client apps to create subfolders underneath/within # the inbox instead of adjacent to it. It's not necessary to be that way. @@ -23,10 +24,14 @@ driver = vpopmail } plugin/quota = maildir -protocols = imap +protocols = imap pop3 ssl_cert = </var/qmail/control/servercert.pem ssl_key = </var/qmail/control/servercert.pem userdb { args = cache_key=%u quota_template=quota_rule=*:backend=%q driver = vpopmail } +plugin { + quota = maildir:ignore=Trash + quota_rule = ?:storage=0 +} 8<-- EOT Some years ago I migrated from old courier-imap to Dovecot, so for me ,,INBOX.'' prefix is important. With your config file pop3 server is not started and there is no quota. My patch helps migration from old courier-imap or Dovecot 1.x to Dovecot 2.0.
Yes, this package does not include pop3. The official release will include pop3 (and remove qmail-pop3d).
How does quota work for you? I didn't include that yet figuring it may have problems working with vdelivermail. I had anticipated implementing this with dovecot's LDA, which will be a future release.
Also, I'm curious what sort of problems you experience with no INBOX. prefix. That setting is really lame to me, and I think it'd be best to omit it in the stock QMT configuration.
Thanks for your input, Aleksander. -- -Eric 'shubes' --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
