Re: [Dovecot] problems with doveadm

2013-08-05 Thread listserv
> 
> On 3.8.2013, at 14.25, listserv  wrote:
> 
>> doveadm expunge -A mailbox Trash savedbefore 7d
>> => kernel: doveadm[11609]: segfault at 10 ip b75f146a sp bf856ad0 error 4 in
>> libdovecot.so.0.0.0[b7585000+c8000]
> 
> gdb backtrace would be useful, for example:
> 
> gdb --args doveadm expunge -A mailbox Trash savedbefore 7d
> run
> bt full
> 
Thank you for your advice.

Here the backtrace:

gdb --args doveadm expunge -A mailbox Trash savedbefore 7d
GNU gdb (GDB) 7.6 (Debian 7.6-5)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/doveadm...Reading symbols from
/usr/lib/debug/usr/bin/doveadm...done.
done.
(gdb) run
Starting program: /usr/bin/doveadm expunge -A mailbox Trash savedbefore 7d
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library 
"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
i_stream_next_line (stream=0x0) at istream.c:382
382 istream.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
#0  i_stream_next_line (stream=0x0) at istream.c:382
_stream = 
pos = 
#1  0xb7dfbd01 in auth_master_user_list_next (ctx=0x80bf668) at 
auth-master.c:694
line = 
#2  0xb7ef72cb in mail_storage_service_all_next (ctx=0x80b8f60,
username_r=0xb550) at mail-storage-service.c:1294
__FUNCTION__ = "mail_storage_service_all_next"
#3  0x08057db5 in doveadm_mail_all_users (wildcard_user=0x0, argv=, ctx=0x80b53f0) at doveadm-mail.c:368
ret = 
input = {module = 0x0, service = 0x8092f63 "doveadm", username =
0x80bf070 "ad...@xtlv.jp", session_id = 0x0, local_ip = {family = 0, u = {ip6 =
{__in6_u = {__u6_addr8 = '\000' , __u6_addr16 = {0, 0, 0,
0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr
= 0}}}, remote_ip = {family = 0, u = {ip6 = {__in6_u = {__u6_addr8 = '\000'
, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0},
  __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}},
local_port = 0, remote_port = 0, userdb_fields = 0x0, flags_override_add =
(unknown: 0), flags_override_remove = (unknown: 0), no_userdb_lookup = 0}
user_idx = 0
user = 0x80bf070 "ad...@xtlv.jp"
error = 0xb7e6f2f0 ""
#4  doveadm_mail_cmd (argv=, argc=,
cmd=0xb5ac) at doveadm-mail.c:523
ctx = 0x80b53f0
getopt_args = 
ret = 
c = 
wildcard_user = 0x0
error = 
#5  doveadm_mail_try_run (cmd_name=cmd_name@entry=0x80b1209 "expunge",
argc=argc@entry=6, argv=argv@entry=0x80b11dc) at doveadm-mail.c:608
cmd = 0xb5ac
#6  0x08056b26 in main (argc=6, argv=0x80b11dc) at doveadm.c:398
cmd_name = 
i = 
quick_init = false
c = 

--
中華人民共和國


[Dovecot] problems with doveadm

2013-08-03 Thread listserv
Hello,

since few weeks i have problems with the command:

doveadm expunge -A mailbox Trash savedbefore 7d
=> kernel: doveadm[11609]: segfault at 10 ip b75f146a sp bf856ad0 error 4 in
libdovecot.so.0.0.0[b7585000+c8000]

but for a single user it's works fine:
doveadm expunge -u t...@vtlx.de mailbox Trash savedbefore 30h

doveconf -n
# 2.2.4 (f16816a69130): /etc/dovecot/dovecot.conf
# OS: Linux 3.2.45.stk32 i686 Debian jessie/sid ext3

I hope there is a solution for this.

with regards
Mario

--
中華人民共和國


[Dovecot] problems with doveadm

2013-08-03 Thread listserv
Hello,

since few weeks i have problems with the command:

doveadm expunge -A mailbox Trash savedbefore 7d
=> kernel: doveadm[11609]: segfault at 10 ip b75f146a sp bf856ad0 error 4 in
libdovecot.so.0.0.0[b7585000+c8000]

but for a single user it's works fine:
doveadm expunge -u t...@vtlx.de mailbox Trash savedbefore 30h

I hope there is a solution for this.

with regards
Mario

--
中華人民共和國


[Dovecot] lmpt-service crash after update

2013-06-09 Thread listserv
Hello,

since the last update today without a change on the config, the lmtp-service
crash with the follow messages:


Jun  9 13:16:43 kobe kernel: lmtp[25881]: segfault at 4 ip b7568e83 sp bfbe01b0
error 4 in libdovecot.so.0.0.0[b750c000+c6000]

Jun  9 13:16:43 kobe dovecot: lmtp(25881): Fatal: master: service(lmtp): child
25881 killed with signal 11 (core dumped)

GNU gdb (GDB) 7.6-debian
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/lib/dovecot/lmtp...(no debugging symbols 
found)...done.
[New LWP 25823]

warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library 
"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `dovecot/lmtp'.
Program terminated with signal 11, Segmentation fault.
#0  0xb75a2e83 in buffer_append () from /usr/lib/dovecot/libdovecot.so.0

(gdb) bt full
#0  0xb75a2e83 in buffer_append () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#1  0xb76821cb in mail_namespace_add_storage () from
/usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#2  0xb76885ed in mail_storage_create_full () from
/usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#3  0xb76889a5 in mail_storage_create () from
/usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#4  0xb76802f5 in raw_storage_create_from_set () from
/usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#5  0x0804c578 in client_create ()


No symbol table info available.


#6  0x0804bbf2 in _start ()


No symbol table info available.


(gdb)
--
doveconf -n
# 2.2.2 (266101990d63): /etc/dovecot/dovecot.conf
# OS: Linux 3.2.28.stk32 i686 Debian jessie/sid ext3


auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = digest-md5 cram-md5
auth_username_translation = %Lu
auth_verbose = yes
auth_verbose_passwords = plain
dict {
  expire = db:/var/lib/dovecot/expire.db
}
hostname = kobe.vtlx.cn
mail_attachment_dir = /var/mail/attachment
mail_debug = yes
mail_gid = vmail
mail_home = /var/mail/vhosts/%Ld/%Ln
mail_location = sdbox:/var/mail/vhosts/%Ld/%Ln:DIRNAME=DbOx-mAiLs
mail_plugins = " quota mail_log notify expire zlib"
mail_privileged_group = vmail
mail_uid = vmail
mailbox_list_index = yes
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
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
auto = subscribe
special_use = \Drafts
  }
  mailbox Sent {
auto = subscribe
special_use = \Sent
  }
  mailbox Spam {
auto = subscribe
special_use = \Junk
  }
  mailbox Trash {
auto = subscribe
special_use = \Trash
  }
  prefix =
  separator = /
  subscriptions = yes
  type = private
}
passdb {
  args = scheme=PLAIN username_format=%Lu /etc/dovecot/user_pw/passwd
  driver = passwd-file
}
plugin {
  acl = vfile
  acl_shared_dict = file:/var/mail/shared-db/shared-mailboxes
  expire = Trash 2h
  expire_dict = proxy::expire
  mail_log_events = delete undelete copy mailbox_delete mailbox_rename expunge
save mailbox_create
  mail_log_fields = uid box msgid size
  quota = dict:User quota::file:/var/mail/vhosts/%Ld/%Ln/dovecot-quota
  quota_exceeded_message = Die Mailbox des Empfaengers ist voll -- Quota
exceeded -- Please contact 
  quota_grace = 10%%
  quota_rule = *:storage=30M
  quota_rule2 = Trash:storage=+10%%
  quota_status_nouser = DUNNO
  quota_status_overquota = "552 5.5.2 Die Mailbox des Empfaengers ist voll ##
Quota exceeded ## Please contact "
  quota_status_success = DUNNO
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=90%% quota-warning 90 %u
  quota_warning3 = storage=85%% quota-warning 85 %u
  quota_warning4 = storage=80%% quota-warning 80 %u
  quota_warning5 = storage=70%% quota-warning 70 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
postmaster_address = postmas...@xtlv.cn
protocols = " imap lmtp sieve pop3"
rejection_reason = Your message to <%t> was automatically rejected:%n%r [TEST]
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
  }
  unix_listener auth-userdb {
mode = 0600
user = vmail
  }
}
service config {
  unix_listener config {
mode = 0600
user = vmail
  }
}
service dict {