R: Re: best file system ?

Angel L. Mateo amateo at um.es
Wed Dec 3 07:13:05 UTC 2014


El 02/12/14 a las 16:38, absolutely_free at libero.it escribió:
> Hi Angel,
> can you please share your dovecot configuration?

	I have attached our doveconf -n output. We have two imap servers (with 
the same configuration) and two more acting as proxy (with director) in 
front of them. These last direct user request to their corresponding server.

	For storage we are using our SAN (a HP 3PAR 7400) connecting to it with 
fibre channel. We have two XFS filesystems. One for mail indexes and the 
other for user mailboxes and attachment files.

	In these servers we are running ubuntu 12.04 with kernel 3.4.0.

> What webmail are you using (if any)?

	We are using horde.

-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868887590
Fax: 868888337
-------------- next part --------------
# 2.1.16: /etc/dovecot/dovecot.conf
# OS: Linux 3.4.0-030400-generic x86_64 Ubuntu 12.04.5 LTS 
auth_cache_negative_ttl = 0
auth_cache_size = 20 M
auth_cache_ttl = 1 days
auth_master_user_separator = *
default_process_limit = 1024
disable_plaintext_auth = no
log_timestamp = %Y-%m-%d %H:%M:%S
login_trusted_networks = 155.54.211.176/28
mail_attachment_dir = /mail/users/attachments
mail_gid = vmail
mail_home = /mail/users/mailboxes/%2Ln/%Ln
mail_location = mdbox:%h/mdbox:INDEX=/mail/indexes/%2Ln/%Ln
mail_plugins = quota zlib lazy_expunge acl stats mail_log notify
mail_privileged_group = mail
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
mdbox_rotate_size = 50 M
namespace {
  inbox = yes
  location = 
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox SPAM {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix = 
  separator = .
}
namespace {
  hidden = yes
  list = no
  location = mdbox:%h/expunged:INDEX=/mail/indexes/%2Ln/%Ln/expunged
  prefix = BORRADOS.
  separator = .
}
namespace {
  list = children
  location = mdbox:%%h/mdbox:INDEX=/mail/indexes/%%2Ln/%%Ln
  prefix = shared.%%u.
  separator = .
  subscriptions = no
  type = shared
}
passdb {
  args = /etc/dovecot/master-users
  driver = passwd-file
  master = yes
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
passdb {
  args = /etc/dovecot/dovecot-ldap-genericas.conf.ext
  driver = ldap
}
passdb {
  args = session=yes cache_key=%Ln-%w dovecot
  driver = pam
}
plugin {
  acl = vfile:/etc/dovecot/global-acls:cache_secs=3600
  lazy_expunge = BORRADOS.
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename flag_change save mailbox_create
  mail_log_fields = uid box msgid size
  quota = dict:User quota::file:%h/quota
  quota_rule = *:storage=10G
  quota_rule2 = Trash:storage=+1G
  sieve = ~/.dovecot.sieve
  sieve_default = /etc/dovecot/default.sieve
  sieve_dir = ~/sieve
  sieve_max_redirects = 15
  stats_refresh = 30 secs
  stats_track_cmds = yes
  zlib_save = gz
  zlib_save_level = 6
}
postmaster_address = postmaster at um.es
protocols = " imap lmtp sieve pop3 sieve"
service anvil {
  client_limit = 3075
}
service auth {
  client_limit = 4096
  unix_listener auth-userdb {
    mode = 0777
  }
}
service doveadm {
  inet_listener {
    port = 24245
  }
}
service imap {
  process_limit = 12000
  process_min_avail = 6
  vsz_limit = 512 M
}
service ipc {
  unix_listener ipc {
    user = dovecot
  }
}
service lmtp {
  inet_listener lmtp {
    port = 24
  }
  process_min_avail = 10
  vsz_limit = 512 M
}
service pop3 {
  process_min_avail = 6
}
service stats {
  fifo_listener stats-mail {
    mode = 0666
  }
}
ssl = no
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
userdb {
  args = /etc/dovecot/dovecot-ldap-genericas.conf.ext
  driver = ldap
}
protocol lmtp {
  mail_plugins = quota zlib lazy_expunge acl stats mail_log notify sieve
}
protocol lda {
  mail_plugins = quota zlib lazy_expunge acl stats mail_log notify sieve
}
protocol imap {
  mail_plugins = quota zlib lazy_expunge acl stats mail_log notify imap_quota imap_acl
}
protocol pop3 {
  pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, in=%i, out=%o
}
local 155.54.211.160/27/27 {
  doveadm_password = <password>
}


More information about the dovecot mailing list