Hello,
with cyrus3.0.7 (Centos8, rpm), ipurge is segfaulting with this command :
ipurge -s -X -d 14 -f user.*.spam (I want to clean spam folder).
Remaining bytes 0 Total messages 6 Total bytes 133316 ...... Remaining bytes 0 Total messages 1 Total bytes 14434 Deleted messages 0 Deleted bytes 0 Remaining messages 1 Remaining bytes 14434 Segmentation fault (core dumped)
In /var/log/messages, there is the core dump :
ipurge[32251]: segfault at 38 ip 00007ff055900a20 sp 00007ffc3ed03430 error 4 in libcyrus_imap.so.0.0.0[7ff05589d000+b6000]
systemd-coredump[32253]: Process 32251 (ipurge) of user 76 dumped core. #012#012Stack trace of thread 32251: #012#0 0x00007ff055900a20 mbname_intname (libcyrus_imap.so.0) #012#1 0x00005610d4566cc8 purge_me (ipurge) #012#2 0x00007ff0558f769a find_cb (libcyrus_imap.so.0) #012#3 0x00007ff0555fa6f9 myforeach (libcyrus.so.0) #012#4 0x00007ff0558f4f9f mboxlist_find_category (libcyrus_imap.so.0) #012#5 0x00007ff0558f5363 mboxlist_do_find (libcyrus_imap.so.0) #012#6 0x00007ff0558fb2ba mboxlist_findallmulti (libcyrus_imap.so.0) #012#7 0x00005610d4566a31 main (ipurge) #012#8 0x00007ff04f65a873 __libc_start_main (libc.so.6) #012#9 0x00005610d4566ace _start (ipurge)
user 76 is cyrus
Running the command on a single mailbox is OK.
$ ipurge -s -X -d 14 -f user.xxx.spam Total messages 1 Total bytes 6584 Deleted messages 0 Deleted bytes 0 Remaining messages 1 Remaining bytes 6584Running verbosly,
ipurge -s -X -d 14 -v -f user.*.spam
is breaking on a mailbox (saying user.yyyy.spam), I reconstructed it , but no change :
$ ipurge -s -X -d 14 -v -f user.yyyy.spam
Working on user.yyyy.spam... Total messages 1 Total bytes 14434 Deleted messages 0 Deleted bytes 0 Remaining messages 1 Remaining bytes 14434 Segmentation fault (core dumped)
Has anyone tips for purging spam (and Trash) folders?
Thank you
Ismaël Tanguy
--