[Dovecot] v2.1.11 soon
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. :)
Timo Sirainen wrote:
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. :)
Can you fix these strange stats plugin errors please? These are the only errors regularly occurring in our 2.1.10 logs:
Nov 27 08:06:54 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 429 < 622 Nov 27 08:07:06 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 436 < 622 Nov 27 08:07:36 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 443 < 622 Nov 27 08:07:51 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 455 < 622 Nov 27 08:08:21 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 474 < 622 Nov 27 08:08:51 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 477 < 622 Nov 27 08:09:21 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 477 < 622 Nov 27 08:14:21 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 477 < 622 Nov 27 08:19:21 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 477 < 622 Nov 27 16:18:44 10.129.3.213 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mrcount 11 < 13 Nov 27 16:24:20 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 1 < 2
These messages occur after imap/pop3 logouts.
Only dovecot.conf attached (director does not produce these errors).
Thanks a lot, Daniel
On 27.11.2012, at 23.47, Daniel Parthey wrote:
Timo Sirainen wrote:
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. :)
Can you fix these strange stats plugin errors please? These are the only errors regularly occurring in our 2.1.10 logs:
Nov 27 08:06:54 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 429 < 622 Nov 27 08:07:06 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 436 < 622
It's strange that I can't figure out how to reproduce this no matter what I do. Could you with latest hg, especially:
http://hg.dovecot.org/dovecot-2.1/rev/c81f1ca3cda6
and also the attached patch, which simplifies the stats plugin?
On 28.11.2012, at 4.31, Timo Sirainen wrote:
On 27.11.2012, at 23.47, Daniel Parthey wrote:
Timo Sirainen wrote:
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. :)
Can you fix these strange stats plugin errors please? These are the only errors regularly occurring in our 2.1.10 logs:
Nov 27 08:06:54 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 429 < 622 Nov 27 08:07:06 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 436 < 622
Also, can you reproduce this really easily? For example with pop3:
telnet localhost 110 user foo pass bar list retr 1 quit
Does that log about this? If not, what about if you run imaptest (http://imapwiki.org/ImapTest) against some test user?
Timo Sirainen wrote:
On 28.11.2012, at 4.31, Timo Sirainen wrote:
On 27.11.2012, at 23.47, Daniel Parthey wrote:
Timo Sirainen wrote:
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. :)
Can you fix these strange stats plugin errors please? These are the only errors regularly occurring in our 2.1.10 logs:
Nov 27 08:06:54 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 429 < 622 Nov 27 08:07:06 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 436 < 622
Also, can you reproduce this really easily? For example with pop3:
Unfortunately not, it occurs sporadically.
telnet localhost 110 user foo pass bar list retr 1 quit
Does that log about this?
No it doesn't. Seems to need some more investigation, It logs about 10 to 100 Errors over one day with 10000 lmtp deliveries.
Perhaps you could just add some debugging into the logging for upcoming releases, so we can identify the source of the problem?
The message "mlpath 429 < 622" actually doesn't tell me anything, neither which user is affected, nor which session.
Regards Daniel
Timo Sirainen wrote:
On 27.11.2012, at 23.47, Daniel Parthey wrote:
Can you fix these strange stats plugin errors please? These are the only errors regularly occurring in our 2.1.10 logs:
Nov 27 08:06:54 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 429 < 622 Nov 27 08:07:06 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 436 < 622
It's strange that I can't figure out how to reproduce this no matter what I do. Could you with latest hg, especially: http://hg.dovecot.org/dovecot-2.1/rev/c81f1ca3cda6 and also the attached patch, which simplifies the stats plugin?
Yes, version 2.1.13 plus the simplification patch fixes the problem. Please apply :)
In the course of testing, I found another (rather cosmetic) issue, it seems the doveadm stats dump command does not do a sanity check on its arguments, but disconnects "unexpectedly" from the stats socket.
# doveadm stats dump some-invalid-string doveadm(root): Fatal: read(/var/run/dovecot/stats) unexpectedly disconnected
# Logfile Jan 13 09:05:42 10.129.3.233 dovecot: stats: Error: Stats client input error: Invalid level
Regards Daniel
Daniel Parthey wrote:
Timo Sirainen wrote:
On 27.11.2012, at 23.47, Daniel Parthey wrote:
Can you fix these strange stats plugin errors please? These are the only errors regularly occurring in our 2.1.10 logs:
Nov 27 08:06:54 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 429 < 622 Nov 27 08:07:06 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 436 < 622
It's strange that I can't figure out how to reproduce this no matter what I do. Could you with latest hg, especially: http://hg.dovecot.org/dovecot-2.1/rev/c81f1ca3cda6 and also the attached patch, which simplifies the stats plugin?
Yes, version 2.1.13 plus the simplification patch fixes the problem. Please apply :)
Version 2.1.16 logs the following error:
Apr 16 18:07:58 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION user1@example.org pop3: stats shrank: mlpath 1 < 2 Apr 16 18:46:44 10.129.3.233 dovecot: stats: Error: Mail server input error: UPDATE-SESSION user2@example.org pop3: stats shrank: mlpath 3 < 4
Were there any reasons NOT to apply stats.diff the 2.1.x branch or did you simply overlook my mail?
Regards Daniel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 27 Nov 2012, Timo Sirainen wrote:
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. :)
doveadm acl recalc -u user
to update ACL backend information with user's dovecot-acl files.
Kind regards,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBULXcjGoxLS8a3A9mAQIuDwgAo4LYKrQkZ/JXrHJ+e5vWW9+vTg9lqKZD IJybqc5dE9RUPUCiSa2wZ/HP+Wz/V9GcE399Wq+gOMKpB5WTKs3LYkXTKAWDBM4F 6MLArX/XXQ7xaHdsBAVc1Z13D18uErzCt43pLXxy/EoH8hilaPaghD2XJVXb1k32 zZ8FhkiPcMffoQaMM3fsaMm6cUGVHvbnbwkwR2z3Vc640QuuaW85qik3LMvNWUEx fK9GrUphZ3DxGi6dbWQLKBS8vakwtaCPI0O8LKNFNmlq5Waq6iB7IsuyoDF8Jot6 xhcSFDedKD1RD6hmjH0FChKU2tA8RomacrpUNkEZWRKGAble7zr9nA== =zPuV -----END PGP SIGNATURE-----
On Wed, 2012-11-28 at 10:42 +0100, Steffen Kaiser wrote:
On Tue, 27 Nov 2012, Timo Sirainen wrote:
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. :)
doveadm acl recalc -u user
to update ACL backend information with user's dovecot-acl files.
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? 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.
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.
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.
On 27/11/12 08:53, Timo Sirainen wrote:
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. :)
Will this patch be in 2.1.11?
http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/b56711807edc
Stephan Bosch wrote this to fix an unintended issue whereby vacation notices were coming from postmaster.
regards, Colin
Op 11/28/2012 12:27 PM, Colin Fowler schreef:
On 27/11/12 08:53, Timo Sirainen wrote:
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. :)
Will this patch be in 2.1.11?
http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/b56711807edc
Stephan Bosch wrote this to fix an unintended issue whereby vacation notices were coming from postmaster.
Pigeonhole is not part of Dovecot, so that is released separately.
Regards,
Stephan.
participants (8)
-
Benedetto Vassallo
-
Colin Fowler
-
Daniel Parthey
-
Noel Butler
-
Patrick Westenberg
-
Steffen Kaiser
-
Stephan Bosch
-
Timo Sirainen