R: Re: R: Re: best file system ?

2014-12-03 Thread absolutely_f...@libero.it

Thank you very much for your detailed explaination!


Messaggio originale
Da: ama...@um.es
Data: 03/12/2014 8.13
A: dovecot@dovecot.org
Ogg: Re: R: Re: best file system ?

El 02/12/14 a las 16:38, absolutely_f...@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: 86337



R: Re: best file system ?

2014-12-02 Thread absolutely_f...@libero.it
Hi Angel,
can you please share your dovecot configuration?
What webmail are you using (if any)?
Thank you



Messaggio originale
Da: ama...@um.es
Data: 02/12/2014 8.24
A: dovecot@dovecot.org
Ogg: Re: best file system ?

El 01/12/14 a las 18:45, Sami Ketola escribió:

 On 01 Dec 2014, at 18:24, absolutely_f...@libero.it wrote:

 Hi,
 I'm going to set up a new storage for our email users (about 10k).
 It's a network attached storage (Coraid).
 In your opinion, what is the best file system for mail server 
(pop3/imap/webmail) purpose?

 Depends on what OS you have chosen, or if OS is not the limiter I would go 
with ZFS.

   Have you any performance comparison with xfs?

   I'm running two imap servers. One with about 9k accounts and 3.5TB of 
storage, and another with 55k accounts and 2TB of storage with XFS, and 
I'm thinking about migrating them from XFS to ZFS but I'm concern about 
IO performance of ZFS. When we developed these two servers, I remember 
reading some zfs performance problems in comparison with xfs (I have 
lost the link) and that was the reason to finally use xfs, but now we 
are having problems with LVM snapshots and we also like some zfs 
features (like replication) so we are thinking about the change.


-- 
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: 86337



Re: R: Re: best file system ?

2014-12-02 Thread Angel L. Mateo

El 02/12/14 a las 16:38, absolutely_f...@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: 86337
# 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 = postmas...@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
}