Def. Quota Timo Sirainen tss@iki.fi:
On 28.11.2012, at 13.17, Benedetto Vassallo wrote:
Def. Quota Timo Sirainen tss@iki.fi:
Just to let you know: I'm planning on releasing v2.1.11
today/tomorrow. If you wish to get something fixed for it, ask
quickly. :)Please it is possible to have maildir hardlinks working like in v2.0.13?
Not in the same way. That would break other peoples' installations.
I see. So, please what kind of permission I have to set in the MailDir directory? I tryed to set 700, 770, 777 but it doesn't work.
My environment is the following:
All users mapped in ldap having the same group.
The /home/user permissions are 755 and the /home/user directory is
owned by user:group
The /home/user/MailDir directory have 755 permissions and is owned by
user:group
Here is the output of my dovecot -n (v2.0.13) where all works fine for me:
# 2.0.13: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-279.1.1.el6.x86_64 x86_64 CentOS release 6.3 (Final)
auth_cache_negative_ttl = 0
auth_cache_size = 10 M
auth_cache_ttl = 5 mins
auth_socket_path = /var/run/dovecot/auth-master
auth_username_chars =
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_
auth_verbose = yes
base_dir = /var/run/dovecot/
default_client_limit = 6500
default_process_limit = 3000
default_vsz_limit = 512 M
deliver_log_format = msgid=%m: %$ %f %s %p
disable_plaintext_auth = no
first_valid_gid = 12
first_valid_uid = 8
lda_original_recipient_header = X-Original-To
listen = 147.163.1.137
log_path = /var/log/dovecot.log
login_greeting = University of Palermo mail server ready.
mail_cache_min_mail_count = 100
mail_gid = mail
mail_location = maildir:~/MailDir:LAYOUT=fs
mail_plugins = quota
mail_privileged_group = mail
mail_uid = mail
maildir_very_dirty_syncs = yes
mbox_write_locks = fcntl
passdb {
args = /etc/dovecot/conf.d/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
expire = Trash 30 Spam 7
fts = squat
fts_squat = partial=4 full=10
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
mail_log_fields = uid box msgid from subject size
quota = maildir:User quota
quota_rule2 = Trash:storage=+200M
trash = /etc/dovecot/conf.d/trash.conf.ext
}
postmaster_address = postmaster@unipa.it
rejection_subject = Automatically Rejected Mail: %s
sendmail_path = /usr/lib/sendmail
service auth-worker {
user = $default_internal_user
}
service auth {
client_limit = 42288
executable = /usr/libexec/dovecot/auth
unix_listener auth-client {
mode = 0660
}
unix_listener auth-master {
group = root
mode = 0600
user = root
}
user = $default_internal_user
}
service imap-login {
chroot = login
executable = /usr/libexec/dovecot/imap-login
inet_listener imap {
port = 143
}
process_limit = 1200
process_min_avail = 8
service_count = 0
user = dovenull
vsz_limit = 128 M
}
service imap {
executable = /usr/libexec/dovecot/imap
process_limit = 1200
vsz_limit = 256 M
}
service lmtp {
inet_listener lmtp {
address = 127.0.0.1
port = 24
}
unix_listener lmtp {
mode = 0666
}
}
service pop3-login {
chroot = login
executable = /usr/libexec/dovecot/pop3-login
inet_listener pop3 {
port = 110
}
process_limit = 600
process_min_avail = 4
service_count = 0
user = dovenull
vsz_limit = 256 M
}
service pop3 {
executable = /usr/libexec/dovecot/pop3
process_limit = 800
vsz_limit = 256 M
}
ssl = no
userdb {
args = /etc/dovecot/conf.d/dovecot-ldap.conf.ext
driver = ldap
}
protocol lda {
mail_plugin_dir = /usr/lib64/dovecot
mail_plugins = quota
}
protocol imap {
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
imap_idle_notify_interval = 2 mins
imap_logout_format = bytes=%i/%o
imap_max_line_length = 64 k
mail_max_userip_connections = 20
mail_plugin_dir = /usr/lib64/dovecot
mail_plugins = quota imap_quota
}
protocol lmtp {
mail_plugins = acl quota
}
protocol pop3 {
mail_max_userip_connections = 1
mail_plugin_dir = /usr/lib64/dovecot
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_enable_last = no
pop3_lock_session = yes
pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
pop3_no_flag_updates = no
pop3_reuse_xuidl = yes
pop3_save_uidl = yes
pop3_uidl_format = %08Xu%08Xv
}
The same config in v2.1.10 works fine but it don't use maildir hardlinks.
I want to update my dovecot installation to set up sieve in my
production server, but I am blocked becouse maildir hardlinks does'nt
work.
Any help would be really appreciated.
Thank you.
Benedetto Vassallo Sistema Informativo di Ateneo Settore Gestione Reti Hardware e Software U.O.B. Sviluppo e manutenzione dei sistemi Università degli studi di Palermo
Phone: +3909123860056 Fax: +390916529124
This message was sent using the University of Palermo web mail interface.