Thomas Leuxner
2013-Feb-18 08:58 UTC
[Dovecot] Quota Problems with LMTP in HG 62a930eb22b5
Since updating to the latest HG these errors occur. Nothing else changed in the
config:
$ dovecot --version
2.2.beta1 (62a930eb22b5)
==> /var/log/dovecot/dovecot.log <=Feb 18 09:47:32 spectre dovecot:
lmtp(14340): Connect from local
Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error:
mkdir_parents(/var/vmail/domains/leuxner.net/tlx/mdbox) failed: File exists
Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error:
mkdir_parents(/var/vmail/domains/leuxner.net/tlx/mdbox) failed: File exists
Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error: dict
quota: Quota update failed, it's now desynced
$ doveconf -n
# 2.2.beta1 (62a930eb22b5): /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-0.bpo.4-amd64 x86_64 Debian 6.0.6
auth_cache_size = 16 k
auth_verbose = yes
mail_location = mdbox:~/mdbox
mail_plugins = acl quota stats
mailbox_list_index = yes
namespace {
list = yes
location = mdbox:/var/vmail/public:INDEXPVT=~/mdbox/public
prefix = Public/
separator = /
subscriptions = no
type = public
}
namespace inbox {
hidden = no
inbox = yes
location mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix separator = /
type = private
}
passdb {
args = username_format=%u /var/vmail/auth.d/%d/passwd
driver = passwd-file
}
plugin {
acl = vfile:/var/vmail/conf.d/%d/acls:cache_secs=300
mail_log_events = expunge mailbox_delete
quota = dict:user::file:%h/mdbox/dovecot-quota
quota_rule = *:storage=1GB
quota_rule2 = Trash:storage=+10%%
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
sieve_global_dir = /var/vmail/conf.d/%d/sieve
stats_refresh = 30s
stats_track_cmds = yes
}
protocols = " imap lmtp"
quota_full_tempfail = yes
service auth-worker {
unix_listener auth-worker {
user = doveauth
}
user = doveauth
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
user = doveauth
}
service imap-login {
inet_listener imap {
address = 1.2.3.4
port = 143
}
inet_listener imaps {
port = 0
}
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0660
user = postfix
}
}
service stats {
fifo_listener stats-mail {
mode = 0600
user = vmail
}
}
ssl_ca = </etc/ssl/certs/SSL123_CA_Bundle.pem
ssl_cert = </etc/ssl/certs/host_domain_tld.crt
ssl_key = </etc/ssl/private/host_domain_tld.key
syslog_facility = local1
userdb {
args = username_format=%u /var/vmail/auth.d/%d/passwd
driver = passwd-file
}
verbose_proctitle = yes
protocol lmtp {
mail_plugins = acl quota stats sieve
}
protocol imap {
mail_max_userip_connections = 20
mail_plugins = acl quota stats mail_log notify imap_acl imap_quota imap_stats
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20130218/a91f58ef/attachment-0003.bin>
Thomas Leuxner
2013-Feb-18 12:24 UTC
[Dovecot] Quota Problems with LMTP in HG 62a930eb22b5
* Thomas Leuxner <tlx at leuxner.net> 2013.02.18 09:58:> Since updating to the latest HG these errors occur. Nothing else changed in the config: > > $ dovecot --version > 2.2.beta1 (62a930eb22b5) > > ==> /var/log/dovecot/dovecot.log <=> Feb 18 09:47:32 spectre dovecot: lmtp(14340): Connect from local > Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error: mkdir_parents(/var/vmail/domains/leuxner.net/tlx/mdbox) failed: File exists > Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error: mkdir_parents(/var/vmail/domains/leuxner.net/tlx/mdbox) failed: File exists > Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error: dict quota: Quota update failed, it's now desyncedSeems there's more to the latest changes as a mail that has to be saved temporarily also breaks LMTP: Feb 18 13:00:32 spectre postfix/qmgr[21702]: 3Z8hWT6jxszFV: from=<subscriptions at lists.juno.co.uk>, size=460096, nrcpt=1 (queue active) ==> /var/log/dovecot/dovecot.log <=Feb 18 13:00:32 spectre dovecot: lmtp(15093): Connect from local Feb 18 13:00:33 spectre dovecot: lmtp(15093): Error: Temp file creation to /tmp/dovecot.lmtp.?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????/usr/lib/dovecot/lmtp.15093. failed: No such file or directory Feb 18 13:00:33 spectre dovecot: lmtp(15093): Disconnect from local: Temporary internal failure (in DATA) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20130218/bc5731f5/attachment-0003.bin>
On Mon, 2013-02-18 at 13:24 +0100, Thomas Leuxner wrote:> * Thomas Leuxner <tlx at leuxner.net> 2013.02.18 09:58: > > > Since updating to the latest HG these errors occur. Nothing else changed in the config: > > > > $ dovecot --version > > 2.2.beta1 (62a930eb22b5) > > > > ==> /var/log/dovecot/dovecot.log <=> > Feb 18 09:47:32 spectre dovecot: lmtp(14340): Connect from local > > Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error: mkdir_parents(/var/vmail/domains/leuxner.net/tlx/mdbox) failed: File exists > > Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error: mkdir_parents(/var/vmail/domains/leuxner.net/tlx/mdbox) failed: File exists > > Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error: dict quota: Quota update failed, it's now desyncedNot sure about these. Are they fixed now?> Feb 18 13:00:33 spectre dovecot: lmtp(15093): Error: Temp file creation to /tmp/dovecot.lmtp.?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????/usr/lib/dovecot/lmtp.15093. failed: No such file or directoryThis is definitely fixed. I was worried about the environment getting cleared when coding it, but it appeared to work and looks like I didn't test well enough.
Maybe Matching Threads
- Global Sieve Script Includes no longer works with 056934abd2ef
- HG changes affecting received headers
- Dovecot 2.0beta4 HG 11189: dovecot-uidvalidity warning with mdbox mailboxes
- doveadm backup issue with ACL plugin enabled
- Cleanups in HG f11ae64365b5 break Authentication