Igor Smitran wrote:
Eric Shubes wrote:
That's all good to know Igor. Others have reported a major performance
improvement as well.

The biggest gotcha I'm aware of is compiling with vpopmail configured,
which the stock CentOS package does not. Everything else is pretty
trivial. Dovecot does an excellent job of putting things in order
automatically (such as indexes and such). It appears to be quite robust
in that regard.

Did you reference any materials to do this (like Aleksander's post on
this list), or did you make your way on your own?

The autocreate plugin sounds interesting. I don't know honestly know
what typically handles this. From what I've heard there's no real
standardization of these folders, and different mail clients can (and
do) have slightly different names for them. This was discussed recently
on the vpopmail list iirc.

Yes, centos dovecot doesn't include --with-vpopmail. But, on dovecot.org
you can download latest src.rpm for RHEL. I was using that version, in
spec file i just added --with-vpopmail and everything is working very well
for now. In earlier dovecot versions the one was forced to insert mysql
queries or call external scripts to make it read quotas or create dirs. In
1.2.6 there is no need for that.

Here is my config file for dovecot 1.2.6, you can see autocreate
directive. Basicaly, if you are using squirrelmail you don't need it at
all because i think squirrelmail creates those dirs automaticaly?

cat /etc/dovecot.conf

protocols = imap imaps
disable_plaintext_auth = no
log_path = /var/log/dovecot.log
login_user = dovecot
login_greeting = IMAP/IMAPS server ready
mail_location = maildir:~/Maildir
first_valid_uid = 89
last_valid_uid = 89
first_valid_gid = 89
last_valid_gid = 89
protocol imap {
  mail_plugins = autocreate quota imap_quota
  mail_plugin_dir = /usr/lib/dovecot/imap
}
auth default {
  mechanisms = plain login cram-md5 digest-md5
  passdb vpopmail {
   args = webmail=127.0.0.1
  }
  userdb vpopmail {
   args = quota_template=quota_rule=*:backend=%q
  }
  user = vpopmail
  count = 1
}
plugin {
  autocreate = Trash
  autocreate2 = Spam
  autocreate3 = Drafts
  autocreate4 = Sent
  autosubscribe = Trash
  autosubscribe2 = Spam
  autosubscribe3 = Drafts
  autosubscribe4 = Sent
  quota = maildir
}

Igor


Thanks again, Igor. That's very helpful.

I hope to get dovecot-1.2.6 packaging done for QTP by the end of next week. This will surely make things easier for me!

If there's anything further on this we should really take it over to the qmt-devel list. See you there! :)

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to