[Dovecot] Dovecot for production environment

James Moser james at powweb.com
Fri Apr 9 00:57:32 EEST 2004


I'll tell ya anything you wanna know...  I'm using FreeBSD 4.9, here is 
my how I currently configuered it (didn't use the ports)..

./configure --without-shadow --without-pam --without-passwd-file 
--without-static-userdb --disable-ipv6 --localstatedir=/var \
        --with-ssl=openssl --with-ssldir=/var/dovecot/ssl --with-pop3d 
--with-storages=mbox

I had the default configure options working too, I just wanted to remove 
everything I didn't need to increase performance, maybe it doesn't 
matter... I didn't see much of a change.

We are currently using mbox, and hopefully someday will be converting to 
maildir, but one step at a time...  this is actually one of the reasons 
I choose to try dovecot.

My dovecot.conf configuration is attached... mostly defaults with some 
exceptions....  if anyone has some recommendations that'd be great...  I 
have all caching turned off for Imap for other reasons, but it might 
work fine for you.




seth vidal wrote:

>On Thu, 2004-04-08 at 17:26, James Moser wrote:
>  
>
>>We just started using it on a system with more than 50,000 users and it 
>>works quite nicely.   Migrating from uw-imap to dovecot caused a few 
>>problems with some user's mail clients, like Mozilla mail based clients 
>>issued command that cuased the server to respond with "Invalid mask", 
>>and Eudora's SASL AUTH doesn't seem to work with the pop server, but 
>>other than that it seems to work great.
>>
>>    
>>
>
>Just b/c I'm curious (and if you want take this offlist is fine) what's
>your setup look like for this system? Do you have a whitepaper or a
>layout for it?
>
>Thanks,
>-sv
>
>
>  
>

-- 
James L Moser                 james at powweb.com
PowWeb Hosting                http://www.powweb.com

/(bb|[^b]{2})/,  that is the Question.

mysql>SELECT * FROM user WHERE clue > 0;
Empty set (0.03 sec) 

Health is merely the slowest possible rate at which one can die... 
Health nuts are going to feel stupid someday, lying in hospitals dying of nothing...

-------------- next part --------------
base_dir = /var/dovecot/
protocols = imap imaps pop3 pop3s

imaps_listen = *
pop3s_listen = *

ssl_cert_file = /var/dovecot/ssl/certs/imapd.pem
ssl_key_file = /var/dovecot/ssl/private/imapd.pem
ssl_parameters_file = /var/dovecot/ssl/parameters.dat
login_dir = /var/dovecot/login
login_chroot = yes

login = imap
login_executable = /usr/local/libexec/dovecot/imap-login
login_user = dovecot
login_process_size = 0
login_process_per_connection = no
login_processes_count = 1

login = pop3
login_executable = /usr/local/libexec/dovecot/pop3-login
verbose_proctitle = yes
verbose_ssl = yes

first_valid_uid = 500
first_valid_gid = 500
valid_chroot_dirs = /var/mail
default_mail_env = mbox:%h:INBOX=/var/mail/%u
mail_cache_fields =
mail_never_cache_fields =  MessagePart Bodystructure Body Envelope
client_workarounds = oe6-fetch-no-newmail outlook-idle
mailbox_check_interval = 0
mailbox_idle_check_interval = 0
mail_full_filesystem_access = no

# Save mails with CR+LF instead of plain LF. This makes sending those mails
# take less CPU, especially with sendfile() syscall with Linux and FreeBSD.
# But it also creates a bit more disk I/O which may just make it slower.
mail_save_crlf = yes

maildir_copy_with_hardlinks = yes
maildir_check_content_changes = no
mbox_locks = fcntl

imap_executable = /usr/local/libexec/dovecot/imap
pop3_executable = /usr/local/libexec/dovecot/pop3

auth = default
auth_mechanisms = plain

auth_userdb = passwd
auth_passdb = passwd

auth_executable = /usr/local/libexec/dovecot/dovecot-auth
auth_user = root
auth_count = 5
auth_verbose = yes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: james.vcf
Type: text/x-vcard
Size: 239 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20040408/4700cea2/james.vcf


More information about the dovecot mailing list