[Dovecot] Dovecot 2.0beta4 HG 11014: Crashes on parsing settings via LMTP service

Thomas Leuxner tlx at leuxner.net
Sat Mar 27 09:33:19 EET 2010


Am 27.03.2010 um 08:29 schrieb Timo Sirainen:

> On 27.3.2010, at 9.19, Thomas Leuxner wrote:
> 
>> Mar 27 08:13:38 spectre dovecot: lmtp(8362): Connect from local
>> Mar 27 08:13:38 spectre dovecot: lmtp(8362): Panic: file settings-parser.c: line 1501 (settings_link_get_new): assertion failed: (diff + sizeof(*old_link->array) <= old_link->parent->info->struct_size)
> 
> Immediate after connecting? Or after some command? Anyway, no, I can't reproduce it. dovecot -n might help.
> 

So here's all I have, with what Postfix sees upon delivery:

==> /var/log/mail.log <==
Mar 27 08:29:30 spectre postfix/qmgr[20867]: 4E84D407F: from=<tss at iki.fi>, size=1614, nrcpt=1 (queue active)
Mar 27 08:29:30 spectre postfix/lmtp[8556]: 4E84D407F: to=<tlx at leuxner.net>, relay=spectre.leuxner.net[private/dovecot-lmtp], delay=14, delays=14/0/0/0, dsn=4.4.2, status=deferred (lost connection with spectre.leuxner.net[private/dovecot-lmtp] while sending MAIL FROM)

# 2.0.beta4: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.4 
auth_verbose = yes
mail_location = mdbox:~/mdbox
mail_plugins = acl quota
namespace {
  hidden = no
  inbox = yes
  location = 
  prefix = 
  separator = /
  type = private
}
namespace {
  list = yes
  location = maildir:/var/vmail/public:LAYOUT=fs:INDEX=~/public
  prefix = Public/
  separator = /
  subscriptions = no
  type = public
}
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 = delete undelete expunge copy mailbox_delete mailbox_rename
  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
}
protocols = imap lmtp
service auth-worker {
  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
  }
}
ssl_cert = </etc/ssl/certs/spectre_leuxner_net_2009.crt
ssl_key = </etc/ssl/private/spectre_leuxner_net_2009.key
syslog_facility = local0
userdb {
  args = username_format=%u /var/vmail/auth.d/%d/passwd
  driver = passwd-file
}
verbose_proctitle = yes
protocol lmtp {
  mail_plugins = $mail_plugins sieve
}
protocol imap {
  mail_plugins = $mail_plugins imap_acl imap_quota mail_log notify
}




More information about the dovecot mailing list