From olaf at navi.pl Fri May 1 08:43:54 2020 From: olaf at navi.pl (=?UTF-8?Q?Olaf_Fr=c4=85czyk?=) Date: Fri, 1 May 2020 14:43:54 +0200 Subject: sync_log_chain - is it always needed? In-Reply-To: References: <9727a706-6f3f-1086-9700-b0d9ce072fd6@navi.pl> <5cac835c-e5fa-48e9-9f15-54de800df678@www.fastmail.com> Message-ID: <9db55eca-d58e-6ebb-5f92-cc340ec0f0a9@navi.pl> On 2020-05-01 01:26, ellie timoney wrote: > The rolling sync_client takes care of cleaning up each sync_log file as it finishes replicating it downstream. > > Now consider the case where your replica is an end point, not a link in a chain: it does not have a rolling sync_client forwarding replications on, so if it automatically logged incoming replications to the sync_log, the sync_log would simply grow forever and fill the disk. You would need to set up a special job to delete it.... Better to simply not write it in the first place! > > Thus, the default is to sync_log_chain: off, and if you need the special-case chaining behaviour, you turn it on. Just to clarify here - are not IMAP/POP/LMTP actions logged anyway - using sync_log? Won't they grow forever, too? What is a scenario where sync_log and sync_log_chain is used independently? What is the purpose to have sync_log and sync_log_chain as separate options - couldn't we just use sync_log? Are both types of entries - from sync_log and sync_log_chain used only by rolling replication? Or are they used by sync_client -A too? Sorry for the silly questions, the replication is quite scantly documented. Thank you for all the explanations so far, regards, Olaf > > Cheers, > > ellie > ---- > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus From olaf at navi.pl Fri May 1 10:06:33 2020 From: olaf at navi.pl (=?UTF-8?Q?Olaf_Fr=c4=85czyk?=) Date: Fri, 1 May 2020 16:06:33 +0200 Subject: sync_client -r stops working after several minutes Message-ID: Hi, cyrus-imapd 3.0.13, CentOS 8 replication over IMAP, no sync_server I try to find out why rolling replication is failing in my case. They sync_client -A works fine. I have enabled logging for cyrus_admin in /var/lib/imap/log/cyrus_admin On the replica side /var/lib/imap/log/cyrus_admin: >1588340782>S8 OK success <15883407821588340782>S9 OK Restarting <15883410981588341098>* MAILBOX %(UNIQUEID 7f969c134bd149a0 MBOXNAME navi.pl!user.info.Junk SYNC_CRC 1665461165 SYNC_CRC_ANNOT 0 LAST_UID 67313 HIGHESTMODSEQ 158640 RECENTUID 67252 REC ENTTIME 1588266136 LAST_APPENDDATE 1588339875 POP3_LAST_LOGIN 0 POP3_SHOW_AFTER 0 UIDVALIDITY 1272007072 PARTITION default ACL "info at navi.pl????? lrswipkxtecda?? " OPTIONS P ANNOTATIONS (%(ENTRY /specialuse USERID info at navi.pl VALUE {5} \Junk))) S10 OK success <15883410981588341098>S11 OK Restarting <1588341098May? 1 15:51:38 sync_client"..., 103, MSG_NOSIGNAL, NULL, 0) = 103 write(8, "\27\3\3\0\"I\26*2S\3548>\n\375\338\30\333\334\334%\3417\350eR\227\35\305\201W"..., 39) = 39 getpid()??????????????????????????????? = 32350 sendto(9, "<179>May? 1 15:51:38 sync_client"..., 101, MSG_NOSIGNAL, NULL, 0) = 101 getpid()??????????????????????????????? = 32350 sendto(9, "<179>May? 1 15:51:38 sync_client"..., 86, MSG_NOSIGNAL, NULL, 0) = 86 getpid()??????????????????????????????? = 32350 sendto(9, "<179>May? 1 15:51:38 sync_client"..., 113, MSG_NOSIGNAL, NULL, 0) = 113 close(11)?????????????????????????????? = 0 write(8, "\27\3\3\0\33\375R\225I\325\271\215~\24\311\224\272\235g\326\206$?\226\203\261\23\247\24\206\270n", 32) = 32 shutdown(8, SHUT_RD)??????????????????? = 0 close(8)??????????????????????????????? = 0 close(7)??????????????????????????????? = 0 munmap(0x7fe2e72dc000, 16384)?????????? = 0 close(6)??????????????????????????????? = 0 munmap(0x7fe2e72be000, 40960)?????????? = 0 close(4)??????????????????????????????? = 0 exit_group(0)?????????????????????????? = ? +++ exited with 0 +++ From /var/log/messages: May? 1 15:37:43 skink1 sync_client[32113]: Processing sync log file /var/lib/imap/sync/log-run failed: Bad protocol May? 1 15:46:21 skink1 sync_client[32350]: auditlog: proxy sessionid= remote= May? 1 15:46:21 skink1 sync_client[32350]: Reprocessing sync log file /var/lib/imap/sync/log-run May? 1 15:51:38 skink1 sync_client[32350]: IOERROR: zero length response to MAILBOXES (idle for too long) May? 1 15:51:38 skink1 sync_client[32350]: IOERROR: zero length response to RESTART (idle for too long) May? 1 15:51:38 skink1 sync_client[32350]: Error in do_sync(): bailing out! Bad protocol May? 1 15:51:38 skink1 sync_client[32350]: Processing sync log file /var/lib/imap/sync/log-run failed: Bad protocol What can I do more to find what causes this problem? Best regards, Olaf -- NAVI Sp. z o.o. Promienista 5/1 60-288 Pozna? mobile: +48609769035 phone: +48616622881 fax: +48616622882 http://www.navi.pl From brian at interlinx.bc.ca Fri May 1 14:29:21 2020 From: brian at interlinx.bc.ca (Brian J. Murrell) Date: Fri, 01 May 2020 14:29:21 -0400 Subject: files on disk but not in index? Message-ID: <85d0974fedad3591653285505e4b2d7f3063204b.camel@interlinx.bc.ca> I'm fairly convinced that I have (lots of) files in my Cyrus mail spool that are not actually in any index -- orphan files. How can I verify this and identify the orphan files? I'm using cyrus-imapd-2.4.17 on CentOS 7. Cheers, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: This is a digitally signed message part URL: From ellie at fastmail.com Sun May 3 20:56:19 2020 From: ellie at fastmail.com (ellie timoney) Date: Mon, 04 May 2020 10:56:19 +1000 Subject: sync_log_chain - is it always needed? In-Reply-To: <9db55eca-d58e-6ebb-5f92-cc340ec0f0a9@navi.pl> References: <9727a706-6f3f-1086-9700-b0d9ce072fd6@navi.pl> <5cac835c-e5fa-48e9-9f15-54de800df678@www.fastmail.com> <9db55eca-d58e-6ebb-5f92-cc340ec0f0a9@navi.pl> Message-ID: <3a94bc56-8c58-411b-8e17-cb4c08f0e593@www.fastmail.com> > Just to clarify here - are not IMAP/POP/LMTP actions logged anyway - > using sync_log? Won't they grow forever, too? Yes, but no, because your replica is not taking IMAP/POP/LMTP/etc traffic, therefore no such actions are occurring on it. If it is taking that traffic, it's not a replica, it's a master; if it needs to replicate to somewhere else while it's acting as master, then it needs a rolling sync_client, which will consume the sync_log, and it won't grow forever. If it doesn't need to replicate anywhere else (i.e. maybe you don't have a third server in the set) then it probably wouldn't have sync_log on anyway, but if it does, you should turn it off in this situation. If your replica is accidentally taking that traffic while still being a replica for replication purposes, you have a split brain situation, which can be fiddly to clean up. So be careful to avoid this! > What is a scenario where sync_log and sync_log_chain is used > independently? What is the purpose to have sync_log and sync_log_chain > as separate options - couldn't we just use sync_log? sync_log should be enabled on _servers that need to replicate to elsewhere in approximately real time_ (let's call this "category A"), and they need to have a rolling sync_client active to do this, which consumes the sync logs sync_log_chain should be enabled on the subset of servers in category A that also receive traffic via replication from elsewhere So, sync_log and sync_log_chain cannot be interchangeable. sync_log means "i am running a rolling sync_client, and it needs a source of events", and sync_log_chain means ".... and that should also include replication events". A replica that is chaining needs _both_. In an M->R1->R2 setup, M needs "sync_log", R1 needs "sync_log" and "sync_log_chain", and R2 needs neither In an M->R1 + M->R2 setup, M needs "sync_log". R1 and R2 don't need sync configuration. They can safely have sync_log enabled because they're not receiving user traffic anyway, but they don't need it. In an M1->R1 (there is no R2) setup, M needs "sync_log". R1 doesn't need sync configuration (but can safely have sync_log enabled), and R2 doesn't exist. Presumably, you set up replication so that if something happens to your usual master server, you can restore service by carefully promoting one of your replicas into the master role. In an M->R1->R2 role, presumably you're planning to switch to R1 in an M-failed scenario, since it will have the most up-to-date data. It's already set up to replicate to R2, and while it is acting as master it won't be receiving replication traffic, so leaving sync_log_chain on won't hurt, and it will still need sync_log on to keep replicating to R2. (This also implies that, if you have multiple data centres, M and R1 should be in different data centres, R1 and R2 should be in different data centres, but R2 can be in the same data centre as M with the caveat that if you lose that whole dc, then the promoted-R1 has nowhere to replicate to. YMMV depending on the size of your deployment, your resiliency requirements, your budget, etc etc.) In an M->R1 + M->R2 setup, both replicas are reasonably up to date, and either would make a suitable failover target. You probably want to configure whichever one you promote to now replicate to the other, where previously it didn't replicate to anywhere. When you get M rebuilt after the disaster, you probably want to initially set it up as a replica in the set, so that it can be brought up to date without taking user traffic. Then, if you want to make it the master again, halt non-admin traffic to the whole set, perform a final replication to it to make sure it's exactly up to date (should be quick, since the current-master will only have a few minutes of changes to catch up on, since you already brought it up to date), then flip your configurations/dns/proxy/whatever else you need to do, and put your sync configuration back to usual. Make sure everything's fine, then re-enable non-admin traffic. > Are both types of entries - from sync_log and sync_log_chain used only > by rolling replication? Or are they used by sync_client -A too? No, the sync log (both "types") is only used by the rolling sync_client mode. The sync log is how a rolling sync_client knows what to replicate. Every other sync_client mode gets a list of "what to replicate" in its command line arguments, and only replicates what it's told. sync_log -A replicates all users. "-A" constitutes a "list of what to replicate". Thus it ignores the sync log. > Sorry for the silly questions, the replication is quite scantly documented. Have you seen this? https://www.cyrusimap.org/imap/reference/admin/sop/replication.html Pull requests appreciated, of course. > Thank you for all the explanations so far, regards, No worries, hope this is helpful. ellie From ellie at fastmail.com Mon May 4 02:18:01 2020 From: ellie at fastmail.com (ellie timoney) Date: Mon, 04 May 2020 16:18:01 +1000 Subject: Cyrus IMAP 3.2.0 released Message-ID: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> The Cyrus team is proud to announce the first stable release from the new Cyrus IMAP 3.2 series: 3.2.0 The main https://www.cyrusimap.org/ website now shows content for the 3.2 series. The website for the previous stable 3.0 series is still available, now at https://www.cyrusimap.org/3.0/ Download URLs: https://github.com/cyrusimap/cyrus-imapd/releases/download/cyrus-imapd-3.2.0/cyrus-imapd-3.2.0.tar.gz https://github.com/cyrusimap/cyrus-imapd/releases/download/cyrus-imapd-3.2.0/cyrus-imapd-3.2.0.tar.gz.sig Please consult the release notes and upgrade documentation before upgrading to 3.2: https://www.cyrusimap.org/3.2/imap/download/release-notes/3.2/x/3.2.0.html https://www.cyrusimap.org/3.2/imap/download/upgrade.html And join us on Github at https://github.com/cyrusimap/cyrus-imapd to report issues, join in the deliberations of new features for the next Cyrus IMAP release, and to contribute to the documentation. On behalf of the Cyrus team, Kind regards, ellie timoney From falon at ruparpiemonte.it Tue May 5 07:08:35 2020 From: falon at ruparpiemonte.it (Marco) Date: Tue, 5 May 2020 13:08:35 +0200 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> Message-ID: Il 04/05/2020 08:18, ellie timoney ha scritto: > The Cyrus team is proud to announce the first stable release from the new Cyrus IMAP 3.2 series: 3.2.0 > > The main https://www.cyrusimap.org/ website now shows content for the 3.2 series. Hello, I'm trying to build this release, but I see many errors in Cassandane tests. One failing test is: 1) test_carddavcreate(Cassandane::Cyrus::Carddav) ERROR WITH REQUEST <<<<<<<< PROPFIND http://127.0.0.1:19120/dav/principals/user/cassandane HTTP/1.1 >>>>>>>> HTTP/1.1 404 Not Found 404 Not Found

Not Found

Mailbox does not exist


Cyrus-HTTP/3.2.0-1.el8 Cyrus-SASL/2.1.27 Lib/XML2.9.7 Jansson/2.11 Nghttp2/1.33.0 OpenSSL/1.1.1c Zlib/1.2.11 LibiCal/3.0 ICU4C/60.3 SQLite/3.26.0 Server at 127.0.0.1 Port 19120
======== at /usr/share/perl5/vendor_perl/Net/DAVTalk.pm line 313. Net::DAVTalk::Request(Net::CardDAVTalk=HASH(0x558068907358), "PROPFIND", "", XML::Spice::Chunk=HASH(0x558068918ad8), "Depth", 0) called at /usr/share/perl5/vendor_perl/Net/DAVTalk.pm line 371 Net::DAVTalk::GetProps(Net::CardDAVTalk=HASH(0x558068907358), "", ARRAY(0x55806890f3e8)) called at /usr/share/perl5/vendor_perl/Net/DAVTalk.pm line 471 Net::DAVTalk::GetHomeSet("Net::CardDAVTalk", "homesetns", "C", "principal", "http://127.0.0.1:19120/dav/principals/user/cassandane", "homeset", "addressbook-home-set", "user", ...) called at /usr/share/perl5/vendor_perl/Net/DAVTalk.pm line 105 Net::DAVTalk::new("Net::CardDAVTalk", "password", "pass", "host", "127.0.0.1", "expandurl", 1, "wellknown", ...) called at /usr/share/perl5/vendor_perl/Net/CardDAVTalk.pm line 63 Net::CardDAVTalk::new("Net::CardDAVTalk", "user", "cassandane", "password", "pass", "host", "127.0.0.1", "port", ...) called at Cassandane/Cyrus/Carddav.pm line 76 Cassandane::Cyrus::Carddav::set_up(Cassandane::Cyrus::Carddav=HASH(0x5580662496e0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 58 Test::Unit::TestCase::run_bare(Cassandane::Cyrus::Carddav=HASH(0x5580662496e0)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 103 Test::Unit::Result::__ANON__() called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 119 Test::Unit::Result::run_protected(Test::Unit::Result=HASH(0x558064beea38), Cassandane::Cyrus::Carddav=HASH(0x5580662496e0), CODE(0x5580688b90d8)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 107 Test::Unit::Result::run(Test::Unit::Result=HASH(0x558064beea38), Cassandane::Cyrus::Carddav=HASH(0x5580662496e0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 51 Test::Unit::TestCase::run(Cassandane::Cyrus::Carddav=HASH(0x5580662496e0), Test::Unit::Result=HASH(0x558064beea38), Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestSuite.pm line 278 Test::Unit::TestSuite::run(Test::Unit::TestSuite=HASH(0x558066152b78), Test::Unit::Result=HASH(0x558064beea38), Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at Cassandane/Unit/TestPlan.pm line 749 Cassandane::Unit::TestPlan::_run_workitem(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), HASH(0x5580688f8670), Test::Unit::Result=HASH(0x558064beea38), Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8), 0) called at Cassandane/Unit/TestPlan.pm line 865 Cassandane::Unit::TestPlan::__ANON__(HASH(0x5580688f8670)) called at Cassandane/Unit/TestPlan.pm line 205 Cassandane::Unit::Worker::_mainloop(Cassandane::Unit::Worker=HASH(0x5580680801e0)) called at Cassandane/Unit/TestPlan.pm line 165 Cassandane::Unit::Worker::start(Cassandane::Unit::Worker=HASH(0x5580680801e0)) called at Cassandane/Unit/TestPlan.pm line 310 Cassandane::Unit::WorkerPool::start(Cassandane::Unit::WorkerPool=HASH(0x558064beede0)) called at Cassandane/Unit/TestPlan.pm line 869 Cassandane::Unit::TestPlan::run(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), Test::Unit::Result=HASH(0x558064beea38), Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestRunner.pm line 54 Test::Unit::TestRunner::do_run(Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8), Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), 0) called at ./testrunner.pl line 125 main::__ANON__(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), GLOB(0x558064b1ea58)) called at /usr/share/perl5/vendor_perl/Test/Unit/Error.pm line 12. Test::Unit::Error::make_new_from_error("Test::Unit::Error", Error::Simple=HASH(0x558068918820)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 130 Test::Unit::Result::run_protected(Test::Unit::Result=HASH(0x558064beea38), Cassandane::Cyrus::Carddav=HASH(0x5580662496e0), CODE(0x5580688b90d8)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 107 Test::Unit::Result::run(Test::Unit::Result=HASH(0x558064beea38), Cassandane::Cyrus::Carddav=HASH(0x5580662496e0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 51 Test::Unit::TestCase::run(Cassandane::Cyrus::Carddav=HASH(0x5580662496e0), Test::Unit::Result=HASH(0x558064beea38), Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestSuite.pm line 278 Test::Unit::TestSuite::run(Test::Unit::TestSuite=HASH(0x558066152b78), Test::Unit::Result=HASH(0x558064beea38), Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at Cassandane/Unit/TestPlan.pm line 749 Cassandane::Unit::TestPlan::_run_workitem(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), HASH(0x5580688f8670), Test::Unit::Result=HASH(0x558064beea38), Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8), 0) called at Cassandane/Unit/TestPlan.pm line 865 Cassandane::Unit::TestPlan::__ANON__(HASH(0x5580688f8670)) called at Cassandane/Unit/TestPlan.pm line 205 Cassandane::Unit::Worker::_mainloop(Cassandane::Unit::Worker=HASH(0x5580680801e0)) called at Cassandane/Unit/TestPlan.pm line 165 Cassandane::Unit::Worker::start(Cassandane::Unit::Worker=HASH(0x5580680801e0)) called at Cassandane/Unit/TestPlan.pm line 310 Cassandane::Unit::WorkerPool::start(Cassandane::Unit::WorkerPool=HASH(0x558064beede0)) called at Cassandane/Unit/TestPlan.pm line 869 Cassandane::Unit::TestPlan::run(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), Test::Unit::Result=HASH(0x558064beea38), Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestRunner.pm line 54 Test::Unit::TestRunner::do_run(Cassandane::Unit::RunnerPretty=HASH(0x558064b1eba8), Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), 0) called at ./testrunner.pl line 125 main::__ANON__(Cassandane::Unit::TestPlan=HASH(0x558064b1eb00), GLOB(0x558064b1ea58)) called at ./testrunner.pl line 299 Annotations: =====> Cyrus::TestCase[558] ---------- BEGIN test_carddavcreate ---------- =====> Instance[1053] start main instance for test test_carddavcreate: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E =====> Instance[1036] started smtpd as 21058 2020/05/05-11:58:24 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(21058) Resolved [localhost]:19139 to [::1]:19139, IPv6 Resolved [localhost]:19139 to [127.0.0.1]:19139, IPv4 Binding to TCP port 19139 on host ::1 with IPv6 Binding to TCP port 19139 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance[474] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance[474] Found binary httpd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance[474] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance[924] started saslauthd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E as 21060 =====> Instance[951] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E as 21061 =====> Instance[1836] opening socket /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/run/mux =====> Instance[867] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/conf/master.log =====> Instance[474] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance[1573] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/095553025E/conf/master.log" =====> Instance[876] _start_master: waiting for PID file =====> Instance[879] _start_master: PID file present and correct =====> Instance[891] _start_master: PID waiting for services =====> Daemon[356] is_listening: service http is listening on 127.0.0.1:19120 =====> Util::Wait[75] Waited 0.083126 sec for 127.0.0.1:19120 to be in LISTEN state =====> Daemon[356] is_listening: service imap is listening on 127.0.0.1:19121 =====> Instance[902] _start_master: all services listening =====> Instance[978] create user cassandane =====> Util::Socket[61] create_client_socket INET host=127.0.0.1 port=19121 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" =====> Instance[1851] authdaemon connection: admin testpw imap S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<095553025E-1588672704-21077-1-17747698262435727511> C: 3 create user.cassandane S: 3 OK [MAILBOXID (cfa83d51-0aa5-4fc9-83d9-b6dcfde53c6a)] Completed C: 4 setacl user.cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user.cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user.cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=78 =====> Instance[1089] started main instance for test test_carddavcreate: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase[565] Calling test function ******** REDIRECT 301 to http://127.0.0.1:19120/dav/addressbooks =====> Instance[1851] authdaemon connection: cassandane pass http <<<<<<<< PROPFIND http://127.0.0.1:19120/.well-known/carddav HTTP/1.1 >>>>>>>> HTTP/1.1 207 Multi-Status /dav/addressbooks /dav/principals/user/cassandane/ HTTP/1.1 200 OK ======== =====> Instance[1851] authdaemon connection: cassandane pass http <<<<<<<< PROPFIND http://127.0.0.1:19120/dav/principals/user/cassandane HTTP/1.1 >>>>>>>> HTTP/1.1 404 Not Found 404 Not Found

Not Found

Mailbox does not exist


Cyrus-HTTP/3.2.0-1.el8 Cyrus-SASL/2.1.27 Lib/XML2.9.7 Jansson/2.11 Nghttp2/1.33.0 OpenSSL/1.1.1c Zlib/1.2.11 LibiCal/3.0 ICU4C/60.3 SQLite/3.26.0 Server at 127.0.0.1 Port 19120
======== =====> Daemon[385] checking for stray processes on ports: 19120 19121 19139 ==================================================================== I work with https://github.com/cyrusimap/cassandane/archive/00bfe0109f80437ed09154aca9fbd53eef8f1b09.tar.gz This cassandane release works pretty with 3.0.12. I didn't find build changes in Release notes for 3.2.0... Could you help me to deal with this error? Thank you very much Kind Regards Marco From ellie at fastmail.com Tue May 5 20:15:24 2020 From: ellie at fastmail.com (ellie timoney) Date: Wed, 06 May 2020 10:15:24 +1000 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> Message-ID: Hi Marco, > I work with > https://github.com/cyrusimap/cassandane/archive/00bfe0109f80437ed09154aca9fbd53eef8f1b09.tar.gz > This cassandane release works pretty with 3.0.12. I didn't find build > changes in Release notes for 3.2.0... We don't do releases of Cassandane. That thing is just a snapshot that github generated at some point, not a "release". I checked the git commit that snapshot was generated from, and it's nearly 2 years old? I'm not surprised that 3.2.0 fails lots of those tests -- they've never been updated to expect 3.2.0's behaviour. Cassandane is designed to be run from a git clone, and if you're using it, you should generally keep it up to date. It is kept generally backwards compatible, because I use it for testing new releases from old branches. You don't need different versions of it for testing different versions of Cyrus, you need the most recent version of it so that you have the most-accurate and most-thorough tests currently available. Cheers, ellie From brian at interlinx.bc.ca Wed May 6 07:11:55 2020 From: brian at interlinx.bc.ca (Brian J. Murrell) Date: Wed, 06 May 2020 07:11:55 -0400 Subject: files on disk but not in index? In-Reply-To: <85d0974fedad3591653285505e4b2d7f3063204b.camel@interlinx.bc.ca> References: <85d0974fedad3591653285505e4b2d7f3063204b.camel@interlinx.bc.ca> Message-ID: On Fri, 2020-05-01 at 14:29 -0400, Brian J. Murrell wrote: > I'm fairly convinced that I have (lots of) files in my Cyrus mail > spool > that are not actually in any index -- orphan files. > > How can I verify this and identify the orphan files? Nobody has any ideas at all about how this can be verified and cleaned up? Cheers, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: This is a digitally signed message part URL: From murch at fastmail.com Wed May 6 07:18:01 2020 From: murch at fastmail.com (Ken Murchison) Date: Wed, 6 May 2020 07:18:01 -0400 Subject: files on disk but not in index? In-Reply-To: References: <85d0974fedad3591653285505e4b2d7f3063204b.camel@interlinx.bc.ca> Message-ID: <914de763-7804-ede0-3bca-98dc63ad5ae9@fastmail.com> You can use 'mbexamine' and 'unexpunge -l' on a mailbox and compare the UIDs listed by the 2 commands to the message files in the mailbox directory. I you think you have orphaned (not expunged) message files, you can try 'reconstruct -G' on the mailbox to restore them into the index. On 5/6/20 7:11 AM, Brian J. Murrell wrote: > On Fri, 2020-05-01 at 14:29 -0400, Brian J. Murrell wrote: >> I'm fairly convinced that I have (lots of) files in my Cyrus mail >> spool >> that are not actually in any index -- orphan files. >> >> How can I verify this and identify the orphan files? > Nobody has any ideas at all about how this can be verified and cleaned > up? > > Cheers, > b. > > > ---- > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus -- Kenneth Murchison Senior Software Developer Fastmail US LLC -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at interlinx.bc.ca Wed May 6 08:32:42 2020 From: brian at interlinx.bc.ca (Brian J. Murrell) Date: Wed, 06 May 2020 08:32:42 -0400 Subject: files on disk but not in index? In-Reply-To: <914de763-7804-ede0-3bca-98dc63ad5ae9@fastmail.com> References: <85d0974fedad3591653285505e4b2d7f3063204b.camel@interlinx.bc.ca> <914de763-7804-ede0-3bca-98dc63ad5ae9@fastmail.com> Message-ID: <9387124c4508be294af3e0c35209ae67b16194d7.camel@interlinx.bc.ca> On Wed, 2020-05-06 at 07:18 -0400, Ken Murchison wrote: > You can use 'mbexamine' and 'unexpunge -l' mbexamine looks interesting, but unexpunge -l returns nothing for my INBOX. I think this is because expunge is immediate in 2.4.17 isn't it? mbexamine's output is pretty terse though. Given this line from it's output: 000001> UID:00089183 INT_DATE:994114862 SENTDATE:994089600 SIZE:1537 is that "00089183" the name of a message file on the disk, minus the trailing dot? It seems to be from a brief examination. But just as a first pass sanity check: # /usr/lib/cyrus-imapd/mbexamine user.brian | grep \>\ UID: | wc -l 317075 # ls /var/spool/imap/b/user/brian/ | wc -l 10362 Which is the opposite of what I was expecting and neither matches what my IMAP clients (2 different evolution instances) says about the number of messages, which is ~4K. mutt also says there are only ~4K messages: [Msgs:3999 New:40 Old:2769 Del:34 Flag:54 Post:43 108M] How can 3 IMAP clients only see ~4K messages yet there be 10K on the disk? > I you think you have orphaned (not expunged) message files, you can > try > 'reconstruct -G' on the mailbox to restore them into the index. And so then "reconstruct -n -G" should report any orphan files? All I get for it is: user.brian uid 696911 mismatch: sentdate user.brian uid 696911 mismatch: gmtime user.brian uid 697146 mismatch: sentdate user.brian uid 697146 mismatch: gmtime user.brian uid 697917 mismatch: sentdate user.brian uid 697917 mismatch: gmtime user.brian So I created an orpan intentionally to see what reconstruct -G does: # pushd /var/spool/imap/b/user/brian/ # ls -l 1. ls: cannot access 1.: No such file or directory # cp -a 1609386. 1. # ls -l 1. -rw-------. 1 cyrus mail 1187 Apr 14 20:57 1. # /usr/lib/cyrus-imapd/reconstruct -n -G user.brian ... user.brian uid 1 rediscovered - appending user.brian So that reconstruct -G seems to be doing what I am looking for, but it's also telling me there are no orphans. So while I have no orphans, I do have significant discrepancies between the number of files on disk and the number of messages imapd is reporting that are in a mailbox. Any idea how to reconcile that? Cheers, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: This is a digitally signed message part URL: From murch at fastmail.com Wed May 6 09:11:06 2020 From: murch at fastmail.com (Ken Murchison) Date: Wed, 6 May 2020 09:11:06 -0400 Subject: files on disk but not in index? In-Reply-To: <9387124c4508be294af3e0c35209ae67b16194d7.camel@interlinx.bc.ca> References: <85d0974fedad3591653285505e4b2d7f3063204b.camel@interlinx.bc.ca> <914de763-7804-ede0-3bca-98dc63ad5ae9@fastmail.com> <9387124c4508be294af3e0c35209ae67b16194d7.camel@interlinx.bc.ca> Message-ID: <92e92443-7bca-bf37-2662-214e5298a844@fastmail.com> You may have a bunch of messages that were marked as \Deleted (and not displayed by your client) but haven't been expunged. How many of the messages shown by mbexamine have the \Deleted flag set? On 5/6/20 8:32 AM, Brian J. Murrell wrote: > On Wed, 2020-05-06 at 07:18 -0400, Ken Murchison wrote: >> You can use 'mbexamine' and 'unexpunge -l' > mbexamine looks interesting, but unexpunge -l returns nothing for my > INBOX. I think this is because expunge is immediate in 2.4.17 isn't > it? > > mbexamine's output is pretty terse though. Given this line from it's > output: > > 000001> UID:00089183 INT_DATE:994114862 SENTDATE:994089600 > SIZE:1537 > > is that "00089183" the name of a message file on the disk, minus the > trailing dot? It seems to be from a brief examination. > > But just as a first pass sanity check: > > # /usr/lib/cyrus-imapd/mbexamine user.brian | grep \>\ UID: | wc -l > 317075 > # ls /var/spool/imap/b/user/brian/ | wc -l > 10362 > > Which is the opposite of what I was expecting and neither matches what > my IMAP clients (2 different evolution instances) says about the number > of messages, which is ~4K. mutt also says there are only ~4K messages: > > [Msgs:3999 New:40 Old:2769 Del:34 Flag:54 Post:43 108M] > > How can 3 IMAP clients only see ~4K messages yet there be 10K on the > disk? > >> I you think you have orphaned (not expunged) message files, you can >> try >> 'reconstruct -G' on the mailbox to restore them into the index. > And so then "reconstruct -n -G" should report any orphan files? > > All I get for it is: > > user.brian uid 696911 mismatch: sentdate > user.brian uid 696911 mismatch: gmtime > user.brian uid 697146 mismatch: sentdate > user.brian uid 697146 mismatch: gmtime > user.brian uid 697917 mismatch: sentdate > user.brian uid 697917 mismatch: gmtime > user.brian > > So I created an orpan intentionally to see what reconstruct -G does: > > # pushd /var/spool/imap/b/user/brian/ > # ls -l 1. > ls: cannot access 1.: No such file or directory > # cp -a 1609386. 1. > # ls -l 1. > -rw-------. 1 cyrus mail 1187 Apr 14 20:57 1. > # /usr/lib/cyrus-imapd/reconstruct -n -G user.brian > ... > user.brian uid 1 rediscovered - appending > user.brian > > So that reconstruct -G seems to be doing what I am looking for, but > it's also telling me there are no orphans. > > So while I have no orphans, I do have significant discrepancies between > the number of files on disk and the number of messages imapd is > reporting that are in a mailbox. > > Any idea how to reconcile that? > > Cheers, > b. > > > ---- > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus -- Kenneth Murchison Senior Software Developer Fastmail US LLC -------------- next part -------------- An HTML attachment was scrubbed... URL: From falon at ruparpiemonte.it Wed May 6 09:53:39 2020 From: falon at ruparpiemonte.it (Marco) Date: Wed, 6 May 2020 15:53:39 +0200 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> Message-ID: <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> Hello, On 06/05/2020 02:15, ellie timoney has written: > Cassandane is designed to be run from a git clone, and if you're using it, you should generally keep it up to date. It is kept generally backwards compatible, because I use it for testing new releases from old branches. You don't need different versions of it for testing different versions of Cyrus, you need the most recent version of it so that you have the most-accurate and most-thorough tests currently available. thank you for the info. I trusted an old commit which I found on a SPEC file for Fedora Cyrus IMAP 3.0.x. I'm trying to build an RPM file. I downloaded a today commit. Now I have many other fails :( First kind of failures are related to syslog. For instance, if I run Flags.max_userflags, I see: There was 1 failure: 1) Flags.max_userflags didn't match /(?^:IOERROR: out of flags)/ at Cassandane/Cyrus/Flags.pm line 478. Cassandane::Cyrus::Flags::test_max_userflags(Cassandane::Cyrus::Flags=HASH(0x558c69f777c8)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 75 [...framework calls elided...] I have to comment the line 478 of Flags.pm to pass the test: # $self->assert_matches(qr/IOERROR: out of flags/, "@lines"); But the perl syslog module writes as expected that message: May 6 15:37:23 myhost 1337120101/imap[15250]: IOERROR: out of flags on user.cassandane ($Farnarkle) # perl -v This is perl 5, version 26, subversion 3 (v5.26.3) built for x86_64-linux-thread-multi # uname -a Linux myhost.example.com 4.18.0-147.0.3.el8_1.x86_64 #1 SMP Mon Nov 11 12:58:36 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Do you have any hints? Thank you very much Kind Regards Marco From falon at ruparpiemonte.it Wed May 6 11:00:54 2020 From: falon at ruparpiemonte.it (Marco) Date: Wed, 6 May 2020 17:00:54 +0200 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> Message-ID: Hello, I list here other failed tests in my environment. I thank you very much if you could give me some hints. 5) ImapTest.append-binary Boolean assertion failed at /usr/share/perl5/vendor_perl/Test/Unit/Exception.pm line 13. Test::Unit::Exception::throw_new(Test::Unit::Failure=HASH(0x561369cdc520), "-package", "Cassandane::Cyrus::ImapTest", "-file", "Cassandane/Cyrus/ImapTest.pm", "-line", 187, "-object", ...) called at /usr/share/perl5/vendor_perl/Test/Unit/Assert.pm line 85 Test::Unit::Assert::do_assertion(Cassandane::Cyrus::ImapTest=HASH(0x561366c121d8), Test::Unit::Assertion::Boolean=SCALAR(0x561369df51b0), "Cassandane::Cyrus::ImapTest", "Cassandane/Cyrus/ImapTest.pm", 187) called at /usr/share/perl5/vendor_perl/Test/Unit/Assert.pm line 19 Test::Unit::Assert::assert(Cassandane::Cyrus::ImapTest=HASH(0x561366c121d8), 0) called at Cassandane/Cyrus/ImapTest.pm line 187 Cassandane::Cyrus::ImapTest::run_test(Cassandane::Cyrus::ImapTest=HASH(0x561366c121d8)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 61 Test::Unit::TestCase::run_bare(Cassandane::Cyrus::ImapTest=HASH(0x561366c121d8)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 103 Test::Unit::Result::__ANON__() called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 119 Test::Unit::Result::run_protected(Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Cyrus::ImapTest=HASH(0x561366c121d8), CODE(0x561369d7bde0)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 107 Test::Unit::Result::run(Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Cyrus::ImapTest=HASH(0x561366c121d8)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 51 Test::Unit::TestCase::run(Cassandane::Cyrus::ImapTest=HASH(0x561366c121d8), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestSuite.pm line 278 Test::Unit::TestSuite::run(Test::Unit::TestSuite=HASH(0x561366bfc700), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0)) called at Cassandane/Unit/TestPlan.pm line 769 Cassandane::Unit::TestPlan::_run_workitem(Cassandane::Unit::TestPlan=HASH(0x561364e51380), HASH(0x561369bdddf0), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0), 0) called at Cassandane/Unit/TestPlan.pm line 885 Cassandane::Unit::TestPlan::__ANON__(HASH(0x561369bdddf0)) called at Cassandane/Unit/TestPlan.pm line 205 Cassandane::Unit::Worker::_mainloop(Cassandane::Unit::Worker=HASH(0x561364e654b8)) called at Cassandane/Unit/TestPlan.pm line 165 Cassandane::Unit::Worker::start(Cassandane::Unit::Worker=HASH(0x561364e654b8)) called at Cassandane/Unit/TestPlan.pm line 310 Cassandane::Unit::WorkerPool::start(Cassandane::Unit::WorkerPool=HASH(0x561364e654e8)) called at Cassandane/Unit/TestPlan.pm line 889 Cassandane::Unit::TestPlan::run(Cassandane::Unit::TestPlan=HASH(0x561364e51380), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestRunner.pm line 54 Test::Unit::TestRunner::do_run(Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0), Cassandane::Unit::TestPlan=HASH(0x561364e51380), 0) called at ./testrunner.pl line 132 main::__ANON__(Cassandane::Unit::TestPlan=HASH(0x561364e51380), GLOB(0x561364e51368)) called at ./testrunner.pl line 315 Annotations: =====> Cyrus::TestCase::set_up[90] ---------- BEGIN test_append-binary ---------- =====> Instance::start[659] start main instance for test test_append-binary: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460185 2020/05/06-13:01:00 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(26110) Resolved [localhost]:19118 to [::1]:19118, IPv6 Resolved [localhost]:19118 to [127.0.0.1]:19118, IPv4 Binding to TCP port 19118 on host ::1 with IPv6 Binding to TCP port 19118 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 26110 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460185 as 26118 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460185/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460185/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460185/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460185/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460185/conf/master.log" =====> Instance::_fork_command[1562] child pid=26120 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19119 =====> Util::Wait::timed_wait[909] Waited 0.182261 sec for 127.0.0.1:19119 to be in LISTEN state =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::create_user[1175] create user cassandane =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19119 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] 127.0.0.1 Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460185-1588762861-26142-1-3258557518456563356> C: 3 create user/cassandane S: 3 OK [MAILBOXID (1c8aefad-c171-4fb6-9e15-ea4a9085763b)] Completed C: 4 setacl user/cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user/cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user/cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=57 =====> Instance::start[659] started main instance for test test_append-binary: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::set_up[90] (test_append-binary) Calling test function =====> Instance::create_user[92] create user user2 =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19119 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] 127.0.0.1 Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460185-1588762862-26142-1-16054340835693561001> C: 3 create user/user2 S: 3 OK [MAILBOXID (de6f3a91-e4ce-4a28-9940-102e60347f81)] Completed C: 4 setacl user/user2 admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user/user2 user2 lrswipkxtecdn S: 5 OK Completed C: 6 setacl user/user2 anyone p S: 6 OK Completed C: 7 create user/user2/imaptest S: 7 OK [MAILBOXID (ce6c47eb-fe09-42b4-aadf-cfb7176b105c)] Completed C: 8 setacl user/user2/imaptest admin lrswipkxtecdan S: 8 OK Completed C: 9 setacl user/user2/imaptest user2 lrswipkxtecdn S: 9 OK Completed C: 10 setacl user/user2/imaptest anyone p S: 10 OK Completed A: is_open test A: is_open test received timeout, still open C: 11 logout S: * BYE LOGOUT received S: 11 OK Completed A: Release socket, fileno=57 =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane-9c2edd4f78391c85464f42a03b57cfa882d1aba9/imaptest/src/imaptest" "host=127.0.0.1" "port=19119" "user=cassandane" "user2=user2" "pass=testpw" "rawlog" "test=/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane-9c2edd4f78391c85464f42a03b57cfa882d1aba9/imaptest/src/tests/append-binary" =====> Instance::_fork_command[1562] child pid=26144 =====> Instance::_fork_command[1562] setting core size limit to 104857600 1 test groups: 1 failed, 0 skipped due to missing capabilities base protocol: 0/0 individual commands failed extensions: 3/4 individual commands failed =====> Cyrus::ImapTest::run_test[61] (test_append-binary) Error: cassandane[1]: BAD reply for command: fetch 1 (binary.size[text] binary.peek[text]): 1.8 BAD Invalid binary section =====> Cyrus::ImapTest::run_test[61] (test_append-binary) *** Test append-binary command 4/5 (line 35) =====> Cyrus::ImapTest::run_test[61] (test_append-binary) - failed: Expected tagged reply 'ok', got 'BAD Invalid binary section' =====> Cyrus::ImapTest::run_test[61] (test_append-binary) - Command (tag 1.8): fetch 1 (binary.size[text] binary.peek[text]) =====> Cyrus::ImapTest::run_test[61] (test_append-binary) =====> Cyrus::ImapTest::run_test[61] (test_append-binary) *** Test append-binary command 4/5 (line 35) =====> Cyrus::ImapTest::run_test[61] (test_append-binary) - failed: Missing 1 untagged replies (0 mismatches) =====> Cyrus::ImapTest::run_test[61] (test_append-binary) - first unexpanded: 1 fetch ($!unordered=2 binary.size[text] 7 binary[text] {0} =====> Cyrus::ImapTest::run_test[61] (test_append-binary) ) =====> Cyrus::ImapTest::run_test[61] (test_append-binary) - first expanded: 1 fetch ( binary.size[text] 7 binary[text] {0} =====> Cyrus::ImapTest::run_test[61] (test_append-binary) ) =====> Cyrus::ImapTest::run_test[61] (test_append-binary) - best match: 1 FETCH (BODY[TEXT] "AC3kCg0KCg== =====> Cyrus::ImapTest::run_test[61] (test_append-binary) ") =====> Cyrus::ImapTest::run_test[61] (test_append-binary) - Command: fetch 1 (binary.size[text] binary.peek[text]) =====> Cyrus::ImapTest::run_test[61] (test_append-binary) =====> Cyrus::ImapTest::run_test[61] (test_append-binary) *** Test append-binary command 5/5 (line 0) =====> Cyrus::ImapTest::run_test[61] (test_append-binary) - failed: Unexpected disconnection =====> Cyrus::ImapTest::run_test[61] (test_append-binary) - Command: logout =====> Cyrus::ImapTest::run_test[61] (test_append-binary) ============> rawlog.1 <============= 1588762862.478914 I: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] 127.0.0.1 Cyrus IMAP 3.2.0-1.el8 server ready 1588762862.478958 O: 1.1 LOGIN "cassandane" "testpw" 1588762862.566315 I: 1.1 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460185-1588762862-26142-2-8474523257771899166> 1588762862.566403 O: 1.2 LIST "" "imaptest*" 1588762862.566408 O: 1.3 LSUB "" "imaptest*" 1588762862.570184 I: 1.2 OK Completed (0.000 secs) 1588762862.612923 I: 1.3 OK Completed (0.000 secs) 1588762862.612971 O: 1.4 CREATE "imaptest" 1588762862.652168 I: 1.4 OK [MAILBOXID (a4560844-7882-4c7d-bb30-14173427338f)] Completed 1588762862.652221 O: 1.5 append imaptest ~{165+} 1588762862.652221 O: From: user at domain.org 1588762862.652221 O: Date: Sat, 24 Mar 2007 23:00:00 +0200 1588762862.652221 O: Mime-Version: 1.0 1588762862.652221 O: Content-Type: application/octet-stream 1588762862.652221 O: Content-Transfer-Encoding: binary 1588762862.652221 O: 1588762862.652221 O: -? 1588762862.652221 O: 1588762862.652221 O: 1588762862.652229 O: 1588762862.770922 I: 1.5 OK [APPENDUID 1588762863 1] Completed 1588762862.770982 O: 1.6 select imaptest 1588762862.782930 I: * 1 EXISTS 1588762862.782930 I: * 1 RECENT 1588762862.782930 I: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) 1588762862.782930 I: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok 1588762862.782930 I: * OK [UNSEEN 1] Ok 1588762862.782930 I: * OK [UIDVALIDITY 1588762863] Ok 1588762862.782930 I: * OK [UIDNEXT 2] Ok 1588762862.782930 I: * OK [HIGHESTMODSEQ 2] Ok 1588762862.782930 I: * OK [URLMECH INTERNAL] Ok 1588762862.782930 I: * OK [ANNOTATIONS 65536] Ok 1588762862.782930 I: 1.6 OK [READ-WRITE] Completed 1588762862.783033 O: 1.7 fetch 1 (body.peek[text]) 1588762862.794924 I: * 1 FETCH (BODY[TEXT] {14} 1588762862.794924 I: AC3kCg0KCg== 1588762862.794924 I: ) 1588762862.794924 I: 1.7 OK Completed (0.000 sec) 1588762862.795005 O: 1.8 fetch 1 (binary.size[text] binary.peek[text]) 1588762862.808922 I: 1.8 BAD Invalid binary section =====> Cyrus::TestCase::tear_down[98] (test_append-binary) Beginning tear_down =====> Instance::stop[773] stop main instance for test test_append-binary: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460185 =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 26122 =====> Util::Wait::timed_wait[1376] Waited 0.035899 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 26110 2020/05/06-13:01:02 Server closing! =====> Instance::__ANON__[1420] killing notifyd 26118 =====> Instance::__ANON__[1459] killing smtpd 26110 =====> Cyrus::TestCase::tear_down[98] ---------- END test_append-binary ---------- =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19118 19119 6) ImapTest.fetch-binary-mime Boolean assertion failed at /usr/share/perl5/vendor_perl/Test/Unit/Exception.pm line 13. Test::Unit::Exception::throw_new(Test::Unit::Failure=HASH(0x561369e4f2f8), "-package", "Cassandane::Cyrus::ImapTest", "-file", "Cassandane/Cyrus/ImapTest.pm", "-line", 187, "-object", ...) called at /usr/share/perl5/vendor_perl/Test/Unit/Assert.pm line 85 Test::Unit::Assert::do_assertion(Cassandane::Cyrus::ImapTest=HASH(0x561366c20f38), Test::Unit::Assertion::Boolean=SCALAR(0x56136245d560), "Cassandane::Cyrus::ImapTest", "Cassandane/Cyrus/ImapTest.pm", 187) called at /usr/share/perl5/vendor_perl/Test/Unit/Assert.pm line 19 Test::Unit::Assert::assert(Cassandane::Cyrus::ImapTest=HASH(0x561366c20f38), 0) called at Cassandane/Cyrus/ImapTest.pm line 187 Cassandane::Cyrus::ImapTest::run_test(Cassandane::Cyrus::ImapTest=HASH(0x561366c20f38)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 61 Test::Unit::TestCase::run_bare(Cassandane::Cyrus::ImapTest=HASH(0x561366c20f38)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 103 Test::Unit::Result::__ANON__() called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 119 Test::Unit::Result::run_protected(Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Cyrus::ImapTest=HASH(0x561366c20f38), CODE(0x561369c2f3b8)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 107 Test::Unit::Result::run(Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Cyrus::ImapTest=HASH(0x561366c20f38)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 51 Test::Unit::TestCase::run(Cassandane::Cyrus::ImapTest=HASH(0x561366c20f38), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestSuite.pm line 278 Test::Unit::TestSuite::run(Test::Unit::TestSuite=HASH(0x561366bfc700), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0)) called at Cassandane/Unit/TestPlan.pm line 769 Cassandane::Unit::TestPlan::_run_workitem(Cassandane::Unit::TestPlan=HASH(0x561364e51380), HASH(0x561369d2fb68), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0), 0) called at Cassandane/Unit/TestPlan.pm line 885 Cassandane::Unit::TestPlan::__ANON__(HASH(0x561369d2fb68)) called at Cassandane/Unit/TestPlan.pm line 205 Cassandane::Unit::Worker::_mainloop(Cassandane::Unit::Worker=HASH(0x561369471e50)) called at Cassandane/Unit/TestPlan.pm line 165 Cassandane::Unit::Worker::start(Cassandane::Unit::Worker=HASH(0x561369471e50)) called at Cassandane/Unit/TestPlan.pm line 310 Cassandane::Unit::WorkerPool::start(Cassandane::Unit::WorkerPool=HASH(0x561364e654e8)) called at Cassandane/Unit/TestPlan.pm line 889 Cassandane::Unit::TestPlan::run(Cassandane::Unit::TestPlan=HASH(0x561364e51380), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestRunner.pm line 54 Test::Unit::TestRunner::do_run(Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0), Cassandane::Unit::TestPlan=HASH(0x561364e51380), 0) called at ./testrunner.pl line 132 main::__ANON__(Cassandane::Unit::TestPlan=HASH(0x561364e51380), GLOB(0x561364e51368)) called at ./testrunner.pl line 315 Annotations: =====> Cyrus::TestCase::set_up[90] ---------- BEGIN test_fetch-binary-mime ---------- =====> Instance::start[659] start main instance for test test_fetch-binary-mime: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460274 2020/05/06-13:01:16 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(26404) Resolved [localhost]:19137 to [::1]:19137, IPv6 Resolved [localhost]:19137 to [127.0.0.1]:19137, IPv4 Binding to TCP port 19137 on host ::1 with IPv6 Binding to TCP port 19137 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 26404 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460274 as 26419 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460274/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460274/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460274/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460274/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460274/conf/master.log" =====> Instance::_fork_command[1562] child pid=26421 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19138 =====> Util::Wait::timed_wait[909] Waited 0.143403 sec for 127.0.0.1:19138 to be in LISTEN state =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::create_user[1175] create user cassandane =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19138 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] 127.0.0.1 Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460274-1588762877-26437-1-9714254449861085337> C: 3 create user/cassandane S: 3 OK [MAILBOXID (bb3ff27c-59d9-4f04-aa49-5053821cc52c)] Completed C: 4 setacl user/cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user/cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user/cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=57 =====> Instance::start[659] started main instance for test test_fetch-binary-mime: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::set_up[90] (test_fetch-binary-mime) Calling test function =====> Instance::create_user[92] create user user2 =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19138 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] 127.0.0.1 Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460274-1588762877-26437-2-17948943078115582425> C: 3 create user/user2 S: 3 OK [MAILBOXID (7ec65a1e-59c2-4914-a617-d2a8b9e3abe4)] Completed C: 4 setacl user/user2 admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user/user2 user2 lrswipkxtecdn S: 5 OK Completed C: 6 setacl user/user2 anyone p S: 6 OK Completed C: 7 create user/user2/imaptest S: 7 OK [MAILBOXID (36525e2d-67ad-413b-b3d7-812a55eed731)] Completed C: 8 setacl user/user2/imaptest admin lrswipkxtecdan S: 8 OK Completed C: 9 setacl user/user2/imaptest user2 lrswipkxtecdn S: 9 OK Completed C: 10 setacl user/user2/imaptest anyone p S: 10 OK Completed A: is_open test A: is_open test received timeout, still open C: 11 logout S: * BYE LOGOUT received S: 11 OK Completed A: Release socket, fileno=57 =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane-9c2edd4f78391c85464f42a03b57cfa882d1aba9/imaptest/src/imaptest" "host=127.0.0.1" "port=19138" "user=cassandane" "user2=user2" "pass=testpw" "rawlog" "test=/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane-9c2edd4f78391c85464f42a03b57cfa882d1aba9/imaptest/src/tests/fetch-binary-mime" =====> Instance::_fork_command[1562] child pid=26439 =====> Instance::_fork_command[1562] setting core size limit to 104857600 1 test groups: 1 failed, 0 skipped due to missing capabilities base protocol: 0/0 individual commands failed extensions: 3/3 individual commands failed =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) Error: cassandane[1]: BAD reply for command: fetch 1 (binary.size[text]): 1.9 BAD Invalid binary section =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) *** Test fetch-binary-mime command 3/29 (line 52) =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) - failed: Expected tagged reply 'ok', got 'BAD Invalid binary section' =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) - Command (tag 1.9): fetch 1 (binary.size[text]) =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) *** Test fetch-binary-mime command 3/29 (line 52) =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) - failed: Missing 1 untagged replies (0 mismatches) =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) - first unexpanded: 1 fetch ($!unordered=2 binary.size[text] 466) =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) - first expanded: 1 fetch ( binary.size[text] 466) =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) - best match: =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) - Command: fetch 1 (binary.size[text]) =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) *** Test fetch-binary-mime command 4/29 (line 55) =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) - failed: Unexpected disconnection =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) - Command: fetch 1 (binary.peek[text]) =====> Cyrus::ImapTest::run_test[61] (test_fetch-binary-mime) ============> rawlog.1 <============= 1588762877.516844 I: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] 127.0.0.1 Cyrus IMAP 3.2.0-1.el8 server ready 1588762877.516939 O: 1.1 LOGIN "cassandane" "testpw" 1588762877.523118 I: 1.1 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460274-1588762877-26437-3-16401295678954551014> 1588762877.523230 O: 1.2 LIST "" "imaptest*" 1588762877.523240 O: 1.3 LSUB "" "imaptest*" 1588762877.524494 I: 1.2 OK Completed (0.000 secs) 1588762877.564167 I: 1.3 OK Completed (0.000 secs) 1588762877.564218 O: 1.4 CREATE "imaptest" 1588762877.612346 I: 1.4 OK [MAILBOXID (80a93f8f-2030-44b5-9927-84177e6fa363)] Completed 1588762877.612551 O: 1.5 APPEND "imaptest" "22-Feb-2008 17:06:23 +0100" {602+} 1588762877.612587 O: From: user at domain.org 1588762877.612587 O: Date: Sat, 24 Mar 2007 23:00:00 +0200 1588762877.612587 O: Mime-Version: 1.0 1588762877.612587 O: Content-Type: multipart/mixed; boundary="foo 1588762877.612587 O: bar" 1588762877.612587 O: 1588762877.612587 O: Root MIME prologue 1588762877.612587 O: 1588762877.612587 O: --foo bar 1588762877.612587 O: Content-Type: text/x-myown; charset=us-ascii 1588762877.612587 O: 1588762877.612587 O: hello 1588762877.612587 O: 1588762877.612587 O: --foo bar 1588762877.612587 O: Content-Type: message/rfc822 1588762877.612587 O: 1588762877.612587 O: From: sub at domain.org 1588762877.612587 O: Date: Sun, 12 Aug 2012 12:34:56 +0300 1588762877.612587 O: Subject: submsg 1588762877.612587 O: Content-Type: multipart/alternative; boundary="sub1" 1588762877.612587 O: 1588762877.612587 O: Sub MIME prologue 1588762877.612587 O: --sub1 1588762877.612587 O: Content-Type: text/html 1588762877.612587 O: 1588762877.612587 O:

Hello world

1588762877.612587 O: 1588762877.612587 O: --sub1 1588762877.612587 O: Content-Type: text/plain 1588762877.612587 O: 1588762877.612587 O: Hello another world 1588762877.612587 O: 1588762877.612587 O: --sub1-- 1588762877.612587 O: Sub MIME epilogue 1588762877.612587 O: 1588762877.612587 O: --foo bar-- 1588762877.612587 O: Root MIME epilogue 1588762877.612645 O: 1588762877.721632 I: 1.5 OK [APPENDUID 1588762878 1] Completed 1588762877.721682 O: 1.6 SELECT "imaptest" 1588762877.725959 I: * 1 EXISTS 1588762877.725959 I: * 1 RECENT 1588762877.725959 I: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) 1588762877.725959 I: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok 1588762877.725959 I: * OK [UNSEEN 1] Ok 1588762877.725959 I: * OK [UIDVALIDITY 1588762878] Ok 1588762877.725959 I: * OK [UIDNEXT 2] Ok 1588762877.725959 I: * OK [HIGHESTMODSEQ 2] Ok 1588762877.725959 I: * OK [URLMECH INTERNAL] Ok 1588762877.725959 I: * OK [ANNOTATIONS 65536] Ok 1588762877.725959 I: 1.6 OK [READ-WRITE] Completed 1588762877.726007 O: 1.7 fetch 1 (binary.peek[]) 1588762877.726454 I: * 1 FETCH (BINARY[] {602} 1588762877.726454 I: From: user at domain.org 1588762877.726454 I: Date: Sat, 24 Mar 2007 23:00:00 +0200 1588762877.726454 I: Mime-Version: 1.0 1588762877.726454 I: Content-Type: multipart/mixed; boundary="foo 1588762877.726454 I: bar" 1588762877.726454 I: 1588762877.726454 I: Root MIME prologue 1588762877.726454 I: 1588762877.726454 I: --foo bar 1588762877.726454 I: Content-Type: text/x-myown; charset=us-ascii 1588762877.726454 I: 1588762877.726454 I: hello 1588762877.726454 I: 1588762877.726454 I: --foo bar 1588762877.726454 I: Content-Type: message/rfc822 1588762877.726454 I: 1588762877.726454 I: From: sub at domain.org 1588762877.726454 I: Date: Sun, 12 Aug 2012 12:34:56 +0300 1588762877.726454 I: Subject: submsg 1588762877.726454 I: Content-Type: multipart/alternative; boundary="sub1" 1588762877.726454 I: 1588762877.726454 I: Sub MIME prologue 1588762877.726454 I: --sub1 1588762877.726454 I: Content-Type: text/html 1588762877.726454 I: 1588762877.726454 I:

Hello world

1588762877.726454 I: 1588762877.726454 I: --sub1 1588762877.726454 I: Content-Type: text/plain 1588762877.726454 I: 1588762877.726454 I: Hello another world 1588762877.726454 I: 1588762877.726454 I: --sub1-- 1588762877.726454 I: Sub MIME epilogue 1588762877.726454 I: 1588762877.726454 I: --foo bar-- 1588762877.726454 I: Root MIME epilogue 1588762877.726454 I: ) 1588762877.726454 I: 1.7 OK Completed (0.000 sec) 1588762877.726519 O: 1.8 fetch 1 (binary.size[]) 1588762877.726935 I: * 1 FETCH (BINARY.SIZE[] 602) 1588762877.726935 I: 1.8 OK Completed (0.000 sec) 1588762877.726963 O: 1.9 fetch 1 (binary.size[text]) 1588762877.727155 I: 1.9 BAD Invalid binary section =====> Cyrus::TestCase::tear_down[98] (test_fetch-binary-mime) Beginning tear_down =====> Instance::stop[773] stop main instance for test test_fetch-binary-mime: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460274 =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 26423 =====> Util::Wait::timed_wait[1376] Waited 0.023258 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 26404 2020/05/06-13:01:17 Server closing! =====> Instance::__ANON__[1420] killing notifyd 26419 =====> Instance::__ANON__[1459] killing smtpd 26404 =====> Cyrus::TestCase::tear_down[98] ---------- END test_fetch-binary-mime ---------- =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19137 19138 7) ImapTest.urlauth-binary Boolean assertion failed at /usr/share/perl5/vendor_perl/Test/Unit/Exception.pm line 13. Test::Unit::Exception::throw_new(Test::Unit::Failure=HASH(0x561369d7e688), "-package", "Cassandane::Cyrus::ImapTest", "-file", "Cassandane/Cyrus/ImapTest.pm", "-line", 187, "-object", ...) called at /usr/share/perl5/vendor_perl/Test/Unit/Assert.pm line 85 Test::Unit::Assert::do_assertion(Cassandane::Cyrus::ImapTest=HASH(0x561366c2f178), Test::Unit::Assertion::Boolean=SCALAR(0x561369d89ab8), "Cassandane::Cyrus::ImapTest", "Cassandane/Cyrus/ImapTest.pm", 187) called at /usr/share/perl5/vendor_perl/Test/Unit/Assert.pm line 19 Test::Unit::Assert::assert(Cassandane::Cyrus::ImapTest=HASH(0x561366c2f178), 0) called at Cassandane/Cyrus/ImapTest.pm line 187 Cassandane::Cyrus::ImapTest::run_test(Cassandane::Cyrus::ImapTest=HASH(0x561366c2f178)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 61 Test::Unit::TestCase::run_bare(Cassandane::Cyrus::ImapTest=HASH(0x561366c2f178)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 103 Test::Unit::Result::__ANON__() called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 119 Test::Unit::Result::run_protected(Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Cyrus::ImapTest=HASH(0x561366c2f178), CODE(0x561369d8a0a0)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 107 Test::Unit::Result::run(Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Cyrus::ImapTest=HASH(0x561366c2f178)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 51 Test::Unit::TestCase::run(Cassandane::Cyrus::ImapTest=HASH(0x561366c2f178), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestSuite.pm line 278 Test::Unit::TestSuite::run(Test::Unit::TestSuite=HASH(0x561366bfc700), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0)) called at Cassandane/Unit/TestPlan.pm line 769 Cassandane::Unit::TestPlan::_run_workitem(Cassandane::Unit::TestPlan=HASH(0x561364e51380), HASH(0x561369d11010), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0), 0) called at Cassandane/Unit/TestPlan.pm line 885 Cassandane::Unit::TestPlan::__ANON__(HASH(0x561369d11010)) called at Cassandane/Unit/TestPlan.pm line 205 Cassandane::Unit::Worker::_mainloop(Cassandane::Unit::Worker=HASH(0x561364e654b8)) called at Cassandane/Unit/TestPlan.pm line 165 Cassandane::Unit::Worker::start(Cassandane::Unit::Worker=HASH(0x561364e654b8)) called at Cassandane/Unit/TestPlan.pm line 310 Cassandane::Unit::WorkerPool::start(Cassandane::Unit::WorkerPool=HASH(0x561364e654e8)) called at Cassandane/Unit/TestPlan.pm line 889 Cassandane::Unit::TestPlan::run(Cassandane::Unit::TestPlan=HASH(0x561364e51380), Test::Unit::Result=HASH(0x561364e650f8), Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestRunner.pm line 54 Test::Unit::TestRunner::do_run(Cassandane::Unit::RunnerPretty=HASH(0x561364e64ed0), Cassandane::Unit::TestPlan=HASH(0x561364e51380), 0) called at ./testrunner.pl line 132 main::__ANON__(Cassandane::Unit::TestPlan=HASH(0x561364e51380), GLOB(0x561364e51368)) called at ./testrunner.pl line 315 Annotations: =====> Cyrus::TestCase::set_up[90] ---------- BEGIN test_urlauth-binary ---------- =====> Instance::start[659] start main instance for test test_urlauth-binary: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601A6 2020/05/06-13:02:19 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(27719) Resolved [localhost]:19104 to [::1]:19104, IPv6 Resolved [localhost]:19104 to [127.0.0.1]:19104, IPv4 Binding to TCP port 19104 on host ::1 with IPv6 Binding to TCP port 19104 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 27719 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601A6 as 27737 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601A6/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601A6/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601A6/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601A6/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601A6/conf/master.log" =====> Instance::_fork_command[1562] child pid=27739 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19105 =====> Util::Wait::timed_wait[909] Waited 0.091447 sec for 127.0.0.1:19105 to be in LISTEN state =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::create_user[1175] create user cassandane =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19105 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] 127.0.0.1 Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<10534601A6-1588762940-27748-1-6909409219667287127> C: 3 create user/cassandane S: 3 OK [MAILBOXID (67291535-cd3a-4af9-b854-87b34c1c5401)] Completed C: 4 setacl user/cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user/cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user/cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=57 =====> Instance::start[659] started main instance for test test_urlauth-binary: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::set_up[90] (test_urlauth-binary) Calling test function =====> Instance::create_user[92] create user user2 =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19105 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] 127.0.0.1 Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<10534601A6-1588762940-27748-2-8160656956801725156> C: 3 create user/user2 S: 3 OK [MAILBOXID (000e2a3f-cc73-42f5-aea6-98c65c9ebc5e)] Completed C: 4 setacl user/user2 admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user/user2 user2 lrswipkxtecdn S: 5 OK Completed C: 6 setacl user/user2 anyone p S: 6 OK Completed C: 7 create user/user2/imaptest S: 7 OK [MAILBOXID (ba86ac07-7fb9-4f1a-859d-8f5ac7c1f619)] Completed C: 8 setacl user/user2/imaptest admin lrswipkxtecdan S: 8 OK Completed C: 9 setacl user/user2/imaptest user2 lrswipkxtecdn S: 9 OK Completed C: 10 setacl user/user2/imaptest anyone p S: 10 OK Completed A: is_open test A: is_open test received timeout, still open C: 11 logout S: * BYE LOGOUT received S: 11 OK Completed A: Release socket, fileno=57 =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane-9c2edd4f78391c85464f42a03b57cfa882d1aba9/imaptest/src/imaptest" "host=127.0.0.1" "port=19105" "user=cassandane" "user2=user2" "pass=testpw" "rawlog" "test=/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane-9c2edd4f78391c85464f42a03b57cfa882d1aba9/imaptest/src/tests/urlauth-binary" =====> Instance::_fork_command[1562] child pid=27749 =====> Instance::_fork_command[1562] setting core size limit to 104857600 1 test groups: 1 failed, 0 skipped due to missing capabilities base protocol: 0/0 individual commands failed extensions: 3/16 individual commands failed =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) *** Test urlauth-binary command 9/16 (line 22) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - failed: Missing 1 untagged replies (1 mismatches) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - first unexpanded: URLFETCH $mail_url1 (binary {390} =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) From: sub at domain.org =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Date: Sun, 12 Aug 2012 12:34:56 +0300 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Subject: submsg =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: multipart/alternative; boundary="sub1" =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME prologue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: binary =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) hello world =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: binary =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) hello world =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1-- =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME epilogue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) ) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - first expanded: URLFETCH imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1;urlauth=user+cassandane:internal:0011b22d85d895a3b5ee1cec0839348c1b9c38e90a (binary {390} =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) From: sub at domain.org =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Date: Sun, 12 Aug 2012 12:34:56 +0300 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Subject: submsg =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: multipart/alternative; boundary="sub1" =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME prologue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: binary =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) hello world =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: binary =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) hello world =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1-- =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME epilogue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) ) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - best match: URLFETCH "imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1;urlauth=user+cassandane:internal:0011b22d85d895a3b5ee1cec0839348c1b9c38e90a" (BINARY "From: sub at domain.org =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Date: Sun, 12 Aug 2012 12:34:56 +0300 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Subject: submsg =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: multipart/alternative; boundary=\"sub1\" =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME prologue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: base64 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) aGVs =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) bG8gd29y =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) bGQ= =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: base64 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) aGVs =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) bG8g =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) d29y =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) bGQ= =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1-- =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME epilogue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) ") =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - Command: URLFETCH ($mail_url1 binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) *** Test urlauth-binary command 13/16 (line 57) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - failed: Missing 1 untagged replies (1 mismatches) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - first unexpanded: URLFETCH $mail_url2 (BODYPARTSTRUCTURE ("message" "rfc822" NIL NIL NIL "7bit" 390 ("Sun, 12 Aug 2012 12:34:56 +0300" "submsg" ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) NIL NIL NIL NIL NIL) (("text" "x-myown" ("charset" "us-ascii") NIL NIL "base64" 11 0 NIL NIL NIL NIL) ("text" "x-myown" ("charset" "us-ascii") NIL NIL "base64" 11 0 NIL NIL NIL NIL) "alternative" ("boundary" "sub1") NIL NIL NIL) 18 NIL NIL NIL NIL) binary {390} =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) From: sub at domain.org =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Date: Sun, 12 Aug 2012 12:34:56 +0300 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Subject: submsg =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: multipart/alternative; boundary="sub1" =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME prologue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: binary =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) hello world =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: binary =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) hello world =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1-- =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME epilogue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) ) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - first expanded: URLFETCH imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1;urlauth=user+cassandane:internal:005fd11034c1463087bb7c2730d1da10d179955576 (BODYPARTSTRUCTURE ("message" "rfc822" NIL NIL NIL "7bit" 390 ("Sun, 12 Aug 2012 12:34:56 +0300" "submsg" ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) NIL NIL NIL NIL NIL) (("text" "x-myown" ("charset" "us-ascii") NIL NIL "base64" 11 0 NIL NIL NIL NIL) ("text" "x-myown" ("charset" "us-ascii") NIL NIL "base64" 11 0 NIL NIL NIL NIL) "alternative" ("boundary" "sub1") NIL NIL NIL) 18 NIL NIL NIL NIL) binary {390} =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) From: sub at domain.org =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Date: Sun, 12 Aug 2012 12:34:56 +0300 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Subject: submsg =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: multipart/alternative; boundary="sub1" =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME prologue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: binary =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) hello world =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: binary =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) hello world =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1-- =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME epilogue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) ) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - best match: URLFETCH "imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1;urlauth=user+cassandane:internal:005fd11034c1463087bb7c2730d1da10d179955576" (BODYPARTSTRUCTURE ("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 437 ("Sun, 12 Aug 2012 12:34:56 +0300" "submsg" ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) NIL NIL NIL NIL NIL) (("TEXT" "X-MYOWN" ("CHARSET" "us-ascii") NIL NIL "BASE64" 22 3 NIL NIL NIL NIL) ("TEXT" "X-MYOWN" ("CHARSET" "us-ascii") NIL NIL "BASE64" 47 5 NIL NIL NIL NIL) "ALTERNATIVE" ("BOUNDARY" "sub1") NIL NIL NIL) 26 NIL NIL NIL NIL)) (BINARY "From: sub at domain.org =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Date: Sun, 12 Aug 2012 12:34:56 +0300 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Subject: submsg =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: multipart/alternative; boundary=\"sub1\" =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME prologue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: base64 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) aGVs =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) bG8gd29y =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) bGQ= =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Type: text/x-myown; charset=us-ascii =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Content-Transfer-Encoding: base64 =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) aGVs =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) bG8g =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) d29y =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) bGQ= =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) --sub1-- =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) Sub MIME epilogue =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) ") =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - Command: URLFETCH ($mail_url2 binary bodypartstructure) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) *** Test urlauth-binary command 15/16 (line 85) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - failed: Missing 1 untagged replies (1 mismatches) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - first unexpanded: URLFETCH $mail_url2sub (BODYPARTSTRUCTURE ("text" "x-myown" ("charset" "us-ascii") NIL NIL "base64" 11 0 NIL NIL NIL NIL) BINARY {11} =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) hello world) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - first expanded: URLFETCH imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1.1;urlauth=user+cassandane:internal:00d648274b0fa5a4aec821c7e06757f6055b7d398b (BODYPARTSTRUCTURE ("text" "x-myown" ("charset" "us-ascii") NIL NIL "base64" 11 0 NIL NIL NIL NIL) BINARY {11} =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) hello world) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - best match: URLFETCH "imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1.1;urlauth=user+cassandane:internal:00d648274b0fa5a4aec821c7e06757f6055b7d398b" (BODYPARTSTRUCTURE ("TEXT" "X-MYOWN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 11 0 NIL NIL NIL NIL)) (BINARY "hello world") =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) - Command: URLFETCH ($mail_url2sub binary bodypartstructure) =====> Cyrus::ImapTest::run_test[61] (test_urlauth-binary) ============> rawlog.1 <============= 1588762940.837818 I: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] 127.0.0.1 Cyrus IMAP 3.2.0-1.el8 server ready 1588762940.837854 O: 1.1 LOGIN "cassandane" "testpw" 1588762940.841289 I: 1.1 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<10534601A6-1588762940-27748-3-14856087864419154689> 1588762940.841355 O: 1.2 LIST "" "imaptest*" 1588762940.841360 O: 1.3 LSUB "" "imaptest*" 1588762940.842000 I: 1.2 OK Completed (0.000 secs) 1588762940.882025 I: 1.3 OK Completed (0.000 secs) 1588762940.882153 O: 1.4 CREATE "imaptest" 1588762940.890927 I: 1.4 OK [MAILBOXID (3cb59094-4bab-4821-82d8-781c3de7122a)] Completed 1588762940.890962 O: 1.5 select imaptest 1588762940.891514 I: * 0 EXISTS 1588762940.891514 I: * 0 RECENT 1588762940.891514 I: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) 1588762940.891514 I: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok 1588762940.891514 I: * OK [UIDVALIDITY 1588762941] Ok 1588762940.891514 I: * OK [UIDNEXT 1] Ok 1588762940.891514 I: * OK [HIGHESTMODSEQ 1] Ok 1588762940.891514 I: * OK [URLMECH INTERNAL] Ok 1588762940.891514 I: * OK [ANNOTATIONS 65536] Ok 1588762940.891514 I: 1.5 OK [READ-WRITE] Completed 1588762940.891639 O: 1.6 APPEND "imaptest" "22-Feb-2008 17:06:23 +0100" {673+} 1588762940.891661 O: From: user at domain.org 1588762940.891661 O: Date: Sat, 24 Mar 2007 23:00:00 +0200 1588762940.891661 O: Mime-Version: 1.0 1588762940.891661 O: Content-Type: multipart/mixed; boundary="foo 1588762940.891661 O: bar" 1588762940.891661 O: 1588762940.891661 O: Root MIME prologue 1588762940.891661 O: 1588762940.891661 O: --foo bar 1588762940.891661 O: Content-Type: message/rfc822 1588762940.891661 O: 1588762940.891661 O: From: sub at domain.org 1588762940.891661 O: Date: Sun, 12 Aug 2012 12:34:56 +0300 1588762940.891661 O: Subject: submsg 1588762940.891661 O: Content-Type: multipart/alternative; boundary="sub1" 1588762940.891661 O: 1588762940.891661 O: Sub MIME prologue 1588762940.891661 O: --sub1 1588762940.891661 O: Content-Type: text/x-myown; charset=us-ascii 1588762940.891661 O: Content-Transfer-Encoding: base64 1588762940.891661 O: 1588762940.891661 O: aGVs 1588762940.891661 O: bG8gd29y 1588762940.891661 O: bGQ= 1588762940.891661 O: 1588762940.891661 O: --sub1 1588762940.891661 O: Content-Type: text/x-myown; charset=us-ascii 1588762940.891661 O: Content-Transfer-Encoding: base64 1588762940.891661 O: 1588762940.891661 O: aGVs 1588762940.891661 O: bG8g 1588762940.891661 O: d29y 1588762940.891661 O: bGQ= 1588762940.891661 O: 1588762940.891661 O: 1588762940.891661 O: --sub1-- 1588762940.891661 O: Sub MIME epilogue 1588762940.891661 O: 1588762940.891661 O: --foo bar-- 1588762940.891661 O: Root MIME epilogue 1588762940.891696 O: 1588762940.898907 I: * 1 EXISTS 1588762940.898907 I: * 1 RECENT 1588762940.898907 I: 1.6 OK [APPENDUID 1588762941 1] Completed 1588762940.898961 O: 1.7 APPEND "imaptest" "22-Feb-2008 17:06:23 +0100" {673+} 1588762940.898969 O: From: user at domain.org 1588762940.898969 O: Date: Sat, 24 Mar 2007 23:00:00 +0200 1588762940.898969 O: Mime-Version: 1.0 1588762940.898969 O: Content-Type: multipart/mixed; boundary="foo 1588762940.898969 O: bar" 1588762940.898969 O: 1588762940.898969 O: Root MIME prologue 1588762940.898969 O: 1588762940.898969 O: --foo bar 1588762940.898969 O: Content-Type: message/rfc822 1588762940.898969 O: 1588762940.898969 O: From: sub at domain.org 1588762940.898969 O: Date: Sun, 12 Aug 2012 12:34:56 +0300 1588762940.898969 O: Subject: submsg 1588762940.898969 O: Content-Type: multipart/alternative; boundary="sub1" 1588762940.898969 O: 1588762940.898969 O: Sub MIME prologue 1588762940.898969 O: --sub1 1588762940.898969 O: Content-Type: text/x-myown; charset=us-ascii 1588762940.898969 O: Content-Transfer-Encoding: base64 1588762940.898969 O: 1588762940.898969 O: aGVs 1588762940.898969 O: bG8gd29y 1588762940.898969 O: bGQ= 1588762940.898969 O: 1588762940.898969 O: --sub1 1588762940.898969 O: Content-Type: text/x-myown; charset=us-ascii 1588762940.898969 O: Content-Transfer-Encoding: base64 1588762940.898969 O: 1588762940.898969 O: aGVs 1588762940.898969 O: bG8g 1588762940.898969 O: d29y 1588762940.898969 O: bGQ= 1588762940.898969 O: 1588762940.898969 O: 1588762940.898969 O: --sub1-- 1588762940.898969 O: Sub MIME epilogue 1588762940.898969 O: 1588762940.898969 O: --foo bar-- 1588762940.898969 O: Root MIME epilogue 1588762940.899002 O: 1588762940.904425 I: * 2 EXISTS 1588762940.904425 I: * 2 RECENT 1588762940.904425 I: 1.7 OK [APPENDUID 1588762941 2] Completed 1588762940.904455 O: 1.8 fetch 1:2 uid 1588762940.904870 I: * 1 FETCH (UID 1) 1588762940.904870 I: * 2 FETCH (UID 2) 1588762940.904870 I: 1.8 OK Completed (0.000 sec) 1588762940.904931 O: 1.9 GENURLAUTH "imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1;urlauth=user+cassandane" INTERNAL 1588762940.907456 I: * GENURLAUTH "imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1;urlauth=user+cassandane:internal:0011b22d85d895a3b5ee1cec0839348c1b9c38e90a" 1588762940.907456 I: 1.9 OK Completed 1588762940.907491 O: 1.10 GENURLAUTH "imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1.1;urlauth=user+cassandane" INTERNAL 1588762940.907773 I: * GENURLAUTH "imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1.1;urlauth=user+cassandane:internal:00d43af988486d6542c34d19b300dbaf742f9748d1" 1588762940.907773 I: 1.10 OK Completed 1588762940.907799 O: 1.11 GENURLAUTH "imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1;urlauth=user+cassandane" INTERNAL 1588762940.908078 I: * GENURLAUTH "imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1;urlauth=user+cassandane:internal:005fd11034c1463087bb7c2730d1da10d179955576" 1588762940.908078 I: 1.11 OK Completed 1588762940.908106 O: 1.12 GENURLAUTH "imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1.1;urlauth=user+cassandane" INTERNAL 1588762940.908384 I: * GENURLAUTH "imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1.1;urlauth=user+cassandane:internal:00d648274b0fa5a4aec821c7e06757f6055b7d398b" 1588762940.908384 I: 1.12 OK Completed 1588762940.908407 O: 1.13 URLFETCH (imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1;urlauth=user+cassandane:internal:0011b22d85d895a3b5ee1cec0839348c1b9c38e90a binary) 1588762940.908912 I: * URLFETCH "imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1;urlauth=user+cassandane:internal:0011b22d85d895a3b5ee1cec0839348c1b9c38e90a" (BINARY {437} 1588762940.908912 I: From: sub at domain.org 1588762940.908912 I: Date: Sun, 12 Aug 2012 12:34:56 +0300 1588762940.908912 I: Subject: submsg 1588762940.908912 I: Content-Type: multipart/alternative; boundary="sub1" 1588762940.908912 I: 1588762940.908912 I: Sub MIME prologue 1588762940.908912 I: --sub1 1588762940.908912 I: Content-Type: text/x-myown; charset=us-ascii 1588762940.908912 I: Content-Transfer-Encoding: base64 1588762940.908912 I: 1588762940.908912 I: aGVs 1588762940.908912 I: bG8gd29y 1588762940.908912 I: bGQ= 1588762940.908912 I: 1588762940.908912 I: --sub1 1588762940.908912 I: Content-Type: text/x-myown; charset=us-ascii 1588762940.908912 I: Content-Transfer-Encoding: base64 1588762940.908912 I: 1588762940.908912 I: aGVs 1588762940.908912 I: bG8g 1588762940.908912 I: d29y 1588762940.908912 I: bGQ= 1588762940.908912 I: 1588762940.908912 I: 1588762940.908912 I: --sub1-- 1588762940.908912 I: Sub MIME epilogue 1588762940.908912 I: ) 1588762940.908912 I: 1.13 OK Completed 1588762940.909032 O: 1.14 URLFETCH (imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1.1;urlauth=user+cassandane:internal:00d43af988486d6542c34d19b300dbaf742f9748d1 binary) 1588762940.909543 I: * URLFETCH "imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1.1;urlauth=user+cassandane:internal:00d43af988486d6542c34d19b300dbaf742f9748d1" (BINARY {11} 1588762940.909543 I: hello world) 1588762940.909543 I: 1.14 OK Completed 1588762940.909574 O: 1.15 URLFETCH (imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1;urlauth=user+cassandane:internal:0011b22d85d895a3b5ee1cec0839348c1b9c38e90a bodypartstructure) 1588762940.910061 I: * URLFETCH "imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1;urlauth=user+cassandane:internal:0011b22d85d895a3b5ee1cec0839348c1b9c38e90a" (BODYPARTSTRUCTURE ("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 437 ("Sun, 12 Aug 2012 12:34:56 +0300" "submsg" ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) NIL NIL NIL NIL NIL) (("TEXT" "X-MYOWN" ("CHARSET" "us-ascii") NIL NIL "BASE64" 22 3 NIL NIL NIL NIL)("TEXT" "X-MYOWN" ("CHARSET" "us-ascii") NIL NIL "BASE64" 47 5 NIL NIL NIL NIL) "ALTERNATIVE" ("BOUNDARY" "sub1") NIL NIL NIL) 26 NIL NIL NIL NIL)) 1588762940.910061 I: 1.15 OK Completed 1588762940.910135 O: 1.16 URLFETCH (imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1.1;urlauth=user+cassandane:internal:00d43af988486d6542c34d19b300dbaf742f9748d1 bodypartstructure) 1588762940.910637 I: * URLFETCH "imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1.1;urlauth=user+cassandane:internal:00d43af988486d6542c34d19b300dbaf742f9748d1" (BODYPARTSTRUCTURE ("TEXT" "X-MYOWN" ("CHARSET" "us-ascii") NIL NIL "BASE64" 22 3 NIL NIL NIL NIL)) 1588762940.910637 I: 1.16 OK Completed 1588762940.910670 O: 1.17 URLFETCH (imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1;urlauth=user+cassandane:internal:005fd11034c1463087bb7c2730d1da10d179955576 binary bodypartstructure) 1588762940.911157 I: * URLFETCH "imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1;urlauth=user+cassandane:internal:005fd11034c1463087bb7c2730d1da10d179955576" (BODYPARTSTRUCTURE ("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 437 ("Sun, 12 Aug 2012 12:34:56 +0300" "submsg" ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) NIL NIL NIL NIL NIL) (("TEXT" "X-MYOWN" ("CHARSET" "us-ascii") NIL NIL "BASE64" 22 3 NIL NIL NIL NIL)("TEXT" "X-MYOWN" ("CHARSET" "us-ascii") NIL NIL "BASE64" 47 5 NIL NIL NIL NIL) "ALTERNATIVE" ("BOUNDARY" "sub1") NIL NIL NIL) 26 NIL NIL NIL NIL)) (BINARY {437} 1588762940.911157 I: From: sub at domain.org 1588762940.911157 I: Date: Sun, 12 Aug 2012 12:34:56 +0300 1588762940.911157 I: Subject: submsg 1588762940.911157 I: Content-Type: multipart/alternative; boundary="sub1" 1588762940.911157 I: 1588762940.911157 I: Sub MIME prologue 1588762940.911157 I: --sub1 1588762940.911157 I: Content-Type: text/x-myown; charset=us-ascii 1588762940.911157 I: Content-Transfer-Encoding: base64 1588762940.911157 I: 1588762940.911157 I: aGVs 1588762940.911157 I: bG8gd29y 1588762940.911157 I: bGQ= 1588762940.911157 I: 1588762940.911157 I: --sub1 1588762940.911157 I: Content-Type: text/x-myown; charset=us-ascii 1588762940.911157 I: Content-Transfer-Encoding: base64 1588762940.911157 I: 1588762940.911157 I: aGVs 1588762940.911157 I: bG8g 1588762940.911157 I: d29y 1588762940.911157 I: bGQ= 1588762940.911157 I: 1588762940.911157 I: 1588762940.911157 I: --sub1-- 1588762940.911157 I: Sub MIME epilogue 1588762940.911157 I: ) 1588762940.911157 I: 1.17 OK Completed 1588762940.911359 O: 1.18 URLFETCH (imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1.1;urlauth=user+cassandane:internal:00d43af988486d6542c34d19b300dbaf742f9748d1 binary) 1588762940.911869 I: * URLFETCH "imap://cassandane at 127.0.0.1/imaptest/;uid=1/;section=1.1;urlauth=user+cassandane:internal:00d43af988486d6542c34d19b300dbaf742f9748d1" (BINARY {11} 1588762940.911869 I: hello world) 1588762940.911869 I: 1.18 OK Completed 1588762940.911916 O: 1.19 URLFETCH (imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1.1;urlauth=user+cassandane:internal:00d648274b0fa5a4aec821c7e06757f6055b7d398b binary bodypartstructure) 1588762940.912421 I: * URLFETCH "imap://cassandane at 127.0.0.1/imaptest/;uid=2/;section=1.1;urlauth=user+cassandane:internal:00d648274b0fa5a4aec821c7e06757f6055b7d398b" (BODYPARTSTRUCTURE ("TEXT" "X-MYOWN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 11 0 NIL NIL NIL NIL)) (BINARY {11} 1588762940.912421 I: hello world) 1588762940.912421 I: 1.19 OK Completed 1588762940.912482 O: 1.20 logout 1588762940.912760 I: * BYE LOGOUT received 1588762940.912760 I: 1.20 OK Completed =====> Cyrus::TestCase::tear_down[98] (test_urlauth-binary) Beginning tear_down =====> Instance::stop[773] stop main instance for test test_urlauth-binary: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601A6 =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 27740 =====> Util::Wait::timed_wait[1376] Waited 0.010115 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 27719 2020/05/06-13:02:20 Server closing! =====> Instance::__ANON__[1420] killing notifyd 27737 =====> Instance::__ANON__[1459] killing smtpd 27719 =====> Cyrus::TestCase::tear_down[98] ---------- END test_urlauth-binary ---------- =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19104 19105 8) Master.service_dup_port expected 1, got 0 at Cassandane/Cyrus/Master.pm line 677. Cassandane::Cyrus::Master::test_service_dup_port(Cassandane::Cyrus::Master=HASH(0x5613687b59b0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 75 [...framework calls elided...] Annotations: =====> Cyrus::TestCase::set_up[72] ---------- BEGIN test_service_dup_port ---------- =====> Cyrus::TestCase::set_up[72] (test_service_dup_port) Calling test function =====> Cyrus::Master::test_service_dup_port[75] (test_service_dup_port) successful two services with listen= =====> Cyrus::Master::test_service_dup_port[75] (test_service_dup_port) parameters which reference the same IPv4 port =====> Instance::start[230] start unknown: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602AF 2020/05/06-13:03:31 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(29333) Resolved [localhost]:19126 to [::1]:19126, IPv6 Resolved [localhost]:19126 to [127.0.0.1]:19126, IPv4 Binding to TCP port 19126 on host ::1 with IPv6 Binding to TCP port 19126 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 29333 =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602AF as 29344 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602AF/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602AF/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602AF/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602AF/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602AF/conf/master.log" =====> Instance::_fork_command[1562] child pid=29347 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service B is listening on 127.0.0.1:19125 =====> Util::Wait::timed_wait[909] Waited 0.096851 sec for 127.0.0.1:19125 to be in LISTEN state =====> GenericDaemon::_is_listening_af[375] is_listening: service A is listening on 127.0.0.1:19125 =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::start[230] started unknown: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::tear_down[81] (test_service_dup_port) Beginning tear_down =====> Instance::stop[773] stop unknown: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602AF =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 29349 =====> Util::Wait::timed_wait[1376] Waited 0.010117 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 29333 2020/05/06-13:03:32 Server closing! =====> Instance::__ANON__[1420] killing notifyd 29344 =====> Instance::__ANON__[1459] killing smtpd 29333 =====> Cyrus::TestCase::tear_down[81] ---------- END test_service_dup_port ---------- =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19125 19126 14) Rename.intermediate_cleanup EXPECTED TO SEE $VAR1 = { 'user.cassandane.INBOX.a' => undef, 'user.cassandane.a' => undef, 'user.cassandane.a.b' => undef, 'user.cassandane.a.b.c' => undef, 'user.cassandane.x' => undef, 'user.cassandane.x.y' => undef, 'user.cassandane.x.y.z' => undef, }; $VAR2 = []; at Cassandane/Cyrus/Rename.pm line 699. Cassandane::Cyrus::Rename::_match_intermediates(Cassandane::Cyrus::Rename=HASH(0x561368e009e8), "user.cassandane.a", undef, "user.cassandane.a.b", undef, "user.cassandane.a.b.c", undef, "user.cassandane.x", ...) called at Cassandane/Cyrus/Rename.pm line 728 Cassandane::Cyrus::Rename::test_intermediate_cleanup(Cassandane::Cyrus::Rename=HASH(0x561368e009e8)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 75 [...framework calls elided...] Annotations: =====> Cyrus::TestCase::set_up[67] ---------- BEGIN test_intermediate_cleanup ---------- =====> Instance::start[659] start main instance for test test_intermediate_cleanup: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601103 2020/05/06-13:07:05 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(722) Resolved [localhost]:19109 to [::1]:19109, IPv6 Resolved [localhost]:19109 to [127.0.0.1]:19109, IPv4 Binding to TCP port 19109 on host ::1 with IPv6 Binding to TCP port 19109 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 722 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601103 as 729 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601103/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601103/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601103/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601103/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601103/conf/master.log" =====> Instance::_fork_command[1562] child pid=731 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19110 =====> Util::Wait::timed_wait[909] Waited 0.160887 sec for 127.0.0.1:19110 to be in LISTEN state =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::create_user[1175] create user cassandane =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19110 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<10534601103-1588763226-751-1-13228619984216888929> C: 3 create user.cassandane S: 3 OK [MAILBOXID (9a1a3ee5-0445-4062-9643-b384bd07fac5)] Completed C: 4 setacl user.cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user.cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user.cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=57 =====> Instance::start[659] started main instance for test test_intermediate_cleanup: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::set_up[67] (test_intermediate_cleanup) Calling test function =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19110 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<10534601103-1588763226-751-2-11566141531137890733> C: 3 create INBOX.a.b.c.subdir S: 3 OK [MAILBOXID (2c925091-d80f-4eae-b8e4-a5dbe3f6a3ae)] Completed C: 4 create INBOX.x.y.z.subdir S: 4 OK [MAILBOXID (24e1cbe2-7cbc-4ca1-9275-28909234974d)] Completed C: 5 create INBOX.INBOX.subinbox S: 5 OK [MAILBOXID (5a05787f-a376-4111-940d-621e740a33fb)] Completed C: 6 create INBOX.INBOX.a.b S: 6 OK [MAILBOXID (db186291-f886-4a0f-8fa3-c46bc3d2686c)] Completed =====> Cyrus::TestCase::tear_down[73] (test_intermediate_cleanup) Beginning tear_down C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=57 =====> Instance::stop[773] stop main instance for test test_intermediate_cleanup: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601103 =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 732 =====> Util::Wait::timed_wait[1376] Waited 0.026361 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 722 2020/05/06-13:07:07 Server closing! =====> Instance::__ANON__[1420] killing notifyd 729 =====> Instance::__ANON__[1459] killing smtpd 722 =====> Cyrus::TestCase::tear_down[73] ---------- END test_intermediate_cleanup ---------- =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19109 19110 16) Replication.splitbrain_mailbox Boolean assertion failed at /usr/share/perl5/vendor_perl/Test/Unit/Exception.pm line 13. Test::Unit::Exception::throw_new(Test::Unit::Failure=HASH(0x561369cfee08), "-package", "Cassandane::Cyrus::Replication", "-file", "Cassandane/Cyrus/Replication.pm", "-line", 195, "-object", ...) called at /usr/share/perl5/vendor_perl/Test/Unit/Assert.pm line 85 Test::Unit::Assert::do_assertion(Cassandane::Cyrus::Replication=HASH(0x561368ef8448), Test::Unit::Assertion::Boolean=SCALAR(0x561369f434a8), "Cassandane::Cyrus::Replication", "Cassandane/Cyrus/Replication.pm", 195) called at /usr/share/perl5/vendor_perl/Test/Unit/Assert.pm line 19 Test::Unit::Assert::assert(Cassandane::Cyrus::Replication=HASH(0x561368ef8448)) called at Cassandane/Cyrus/Replication.pm line 195 Cassandane::Cyrus::Replication::test_splitbrain_mailbox(Cassandane::Cyrus::Replication=HASH(0x561368ef8448)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 75 [...framework calls elided...] Annotations: =====> Cyrus::TestCase::set_up[61] ---------- BEGIN test_splitbrain_mailbox ---------- =====> Instance::start[659] start main instance for test test_splitbrain_mailbox: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111B 2020/05/06-13:08:39 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(2354) Resolved [localhost]:19107 to [::1]:19107, IPv6 Resolved [localhost]:19107 to [127.0.0.1]:19107, IPv4 Binding to TCP port 19107 on host ::1 with IPv6 Binding to TCP port 19107 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 2354 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111B as 2364 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111B/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111B/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111B/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111B/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111B/conf/master.log" =====> Instance::_fork_command[1562] child pid=2366 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19108 =====> Util::Wait::timed_wait[909] Waited 0.162691 sec for 127.0.0.1:19108 to be in LISTEN state =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::create_user[1175] create user cassandane =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19108 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460111B-1588763320-2377-1-3530593186186262734> C: 3 create user.cassandane S: 3 OK [MAILBOXID (b974b2f5-e232-482f-87d5-83cc4eab3616)] Completed C: 4 setacl user.cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user.cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user.cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=57 =====> Instance::start[659] started main instance for test test_splitbrain_mailbox: cyrus version 3.2.0-1.el8 =====> Instance::start[663] start replica instance for test test_splitbrain_mailbox: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111C 2020/05/06-13:08:40 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(2378) Resolved [localhost]:19109 to [::1]:19109, IPv6 Resolved [localhost]:19109 to [127.0.0.1]:19109, IPv4 Binding to TCP port 19109 on host ::1 with IPv6 Binding to TCP port 19109 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 2378 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111C as 2394 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111C/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111C/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111C/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111C/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111C/conf/master.log" =====> Instance::_fork_command[1562] child pid=2397 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19110 =====> Util::Wait::timed_wait[909] Waited 0.165849 sec for 127.0.0.1:19110 to be in LISTEN state =====> GenericDaemon::_is_listening_af[375] is_listening: service sync is listening on 127.0.0.1:19106 =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::start[663] started replica instance for test test_splitbrain_mailbox: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::run_replication[684] (test_splitbrain_mailbox) running replication =====> Instance::_find_binary[525] Found binary sync_client in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/sync_client" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111B/conf/imapd.conf" "-v" "-v" "-o" "-S" "127.0.0.1" "-u" "cassandane" =====> Instance::_fork_command[1562] child pid=2413 =====> Instance::_fork_command[1562] setting core size limit to 104857600 1053460111B/sync_client[2413]: SQL backend defaulting to engine 'mysql' 1053460111B/sync_client[2413]: imap_sasl_parsesuccess(): input is: A01 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] Success (no protection) SESSIONID=<1053460111C-1588763322-2415-1-1324532802764138914> 1053460111B/sync_client[2413]: imap_sasl_parsesuccess(): found capability string: [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] USER cassandane >1588763322>S0 SYNCGET USER cassandane <15887633221588763322>S1 SYNCAPPLY MAILBOX %(UNIQUEID b974b2f5-e232-482f-87d5-83cc4eab3616 MBOXNAME user.cassandane SYNC_CRC 0 SYNC_CRC_ANNOT 12345678 LAST_UID 0 HIGHESTMODSEQ 4 RECENTUID 0 RECENTTIME 0 LAST_APPENDDATE 0 POP3_LAST_LOGIN 0 POP3_SHOW_AFTER 0 UIDVALIDITY 1588763321 PARTITION default ACL "cassandane lrswipkxtecdan admin lrswipkxtecdan anyone p " OPTIONS P CREATEDMODSEQ 1 FOLDERMODSEQ 4 RECORD ()) <15887633221588763322>Q01 LOGOUT <1588763322<* BYE LOGOUT received Q01 OK Completed =====> Cyrus::TestCase::set_up[61] (test_splitbrain_mailbox) Calling test function =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19108 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460111B-1588763322-2377-1-14193159480434873286> =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19110 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460111C-1588763322-2424-1-14961550007535884969> C: 3 create INBOX.src-name S: 3 OK [MAILBOXID (5f9e1a73-0dd3-4969-a0d0-42a56c8b162d)] Completed =====> Cyrus::Replication::test_splitbrain_mailbox[75] (test_splitbrain_mailbox) run initial replication =====> Cyrus::TestCase::run_replication[180] (test_splitbrain_mailbox) running replication C: 4 logout S: * BYE LOGOUT received S: 4 OK Completed A: Release socket, fileno=58 C: 3 logout S: * BYE LOGOUT received S: 3 OK Completed A: Release socket, fileno=59 =====> Instance::_find_binary[525] Found binary sync_client in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/sync_client" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111B/conf/imapd.conf" "-v" "-v" "-o" "-S" "127.0.0.1" "-u" "cassandane" =====> Instance::_fork_command[1562] child pid=2427 =====> Instance::_fork_command[1562] setting core size limit to 104857600 1053460111B/sync_client[2427]: SQL backend defaulting to engine 'mysql' 1053460111B/sync_client[2427]: imap_sasl_parsesuccess(): input is: A01 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] Success (no protection) SESSIONID=<1053460111C-1588763322-2415-2-1484725736988109801> 1053460111B/sync_client[2427]: imap_sasl_parsesuccess(): found capability string: [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] USER cassandane >1588763322>S0 SYNCGET USER cassandane <1588763322<* MAILBOX %(UNIQUEID b974b2f5-e232-482f-87d5-83cc4eab3616 MBOXNAME user.cassandane SYNC_CRC 0 SYNC_CRC_ANNOT 12345678 LAST_UID 0 HIGHESTMODSEQ 4 RECENTUID 0 RECENTTIME 0 LAST_APPENDDATE 0 POP3_LAST_LOGIN 0 POP3_SHOW_AFTER 0 UIDVALIDITY 1588763321 PARTITION default ACL "cassandane lrswipkxtecdan adminlrswipkxtecdan anyone p " OPTIONS P CREATEDMODSEQ 1 FOLDERMODSEQ 4) S0 OK success MAILBOX user.cassandane.src-name >1588763322>S1 SYNCAPPLY MAILBOX %(UNIQUEID 5f9e1a73-0dd3-4969-a0d0-42a56c8b162d MBOXNAME user.cassandane.src-name SYNC_CRC 0 SYNC_CRC_ANNOT 12345678 LAST_UID 0 HIGHESTMODSEQ 1 RECENTUID 0 RECENTTIME 0 LAST_APPENDDATE 0 POP3_LAST_LOGIN 0 POP3_SHOW_AFTER 0 UIDVALIDITY 1588763323 PARTITION default ACL "cassandane lrswipkxtecdan admin lrswipkxtecdan anyone p " OPTIONS P CREATEDMODSEQ 1 FOLDERMODSEQ 1 RECORD ()) <15887633221588763322>Q01 LOGOUT <1588763322<* BYE LOGOUT received Q01 OK Completed =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19108 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460111B-1588763322-2377-2-7264655289928192886> C: 3 select "inbox" S: * 0 EXISTS S: * 0 RECENT S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok S: * OK [UIDVALIDITY 1588763321] Ok S: * OK [UIDNEXT 1] Ok S: * OK [HIGHESTMODSEQ 4] Ok S: * OK [URLMECH INTERNAL] Ok S: * OK [ANNOTATIONS 65536] Ok S: 3 OK [READ-WRITE] Completed =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19110 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460111C-1588763322-2424-2-3312503163462846826> C: 3 select "inbox" S: * 0 EXISTS S: * 0 RECENT S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok S: * OK [UIDVALIDITY 1588763321] Ok S: * OK [UIDNEXT 1] Ok S: * OK [HIGHESTMODSEQ 4] Ok S: * OK [URLMECH INTERNAL] Ok S: * OK [ANNOTATIONS 65536] Ok S: 3 OK [READ-WRITE] Completed =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19108 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460111B-1588763322-2432-1-15452859474456518124> =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19110 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<1053460111C-1588763322-2433-1-1415586701204451406> C: 3 list "INBOX.*" "*" S: * LIST (\HasNoChildren) "." INBOX.src-name S: 3 OK Completed (0.000 secs 1 calls) C: 3 list "INBOX.*" "*" S: * LIST (\HasNoChildren) "." INBOX.src-name S: 3 OK Completed (0.000 secs 1 calls) C: 4 lsub "*" "*" S: 4 OK Completed (0.000 secs) C: 4 lsub "*" "*" S: 4 OK Completed (0.000 secs) C: 5 getquotaroot INBOX S: * QUOTAROOT INBOX S: 5 OK Completed C: 5 getquotaroot INBOX S: * QUOTAROOT INBOX S: 5 OK Completed C: 6 status INBOX (messages uidnext unseen recent uidvalidity highestmodseq) S: * STATUS INBOX (MESSAGES 0 RECENT 0 UIDNEXT 1 UIDVALIDITY 1588763321 UNSEEN 0 HIGHESTMODSEQ 4) S: 6 OK Completed C: 6 status INBOX (messages uidnext unseen recent uidvalidity highestmodseq) S: * STATUS INBOX (MESSAGES 0 RECENT 0 UIDNEXT 1 UIDVALIDITY 1588763321 UNSEEN 0 HIGHESTMODSEQ 4) S: 6 OK Completed C: 7 status INBOX.src-name (messages uidnext unseen recent uidvalidity highestmodseq) S: * STATUS INBOX.src-name (MESSAGES 0 RECENT 0 UIDNEXT 1 UIDVALIDITY 1588763323 UNSEEN 0 HIGHESTMODSEQ 1) S: 7 OK Completed C: 7 status INBOX.src-name (messages uidnext unseen recent uidvalidity highestmodseq) S: * STATUS INBOX.src-name (MESSAGES 0 RECENT 0 UIDNEXT 1 UIDVALIDITY 1588763323 UNSEEN 0 HIGHESTMODSEQ 1) S: 7 OK Completed A: is_open test A: is_open test received timeout, still open C: 8 logout S: * BYE LOGOUT received S: 8 OK Completed A: Release socket, fileno=61 A: is_open test A: is_open test received timeout, still open C: 8 logout S: * BYE LOGOUT received S: 8 OK Completed A: Release socket, fileno=60 C: 4 rename INBOX.src-name INBOX.dest-name S: * OK rename INBOX.src-name INBOX.dest-name S: 4 OK Completed =====> Cyrus::Replication::test_splitbrain_mailbox[75] (test_splitbrain_mailbox) try replicating just the mailbox by name fails due to duplicate uniqueid =====> Cyrus::TestCase::run_replication[190] (test_splitbrain_mailbox) running replication C: 5 logout S: * BYE LOGOUT received S: 5 OK Completed A: Release socket, fileno=58 C: 4 logout S: * BYE LOGOUT received S: 4 OK Completed A: Release socket, fileno=59 =====> Instance::_find_binary[525] Found binary sync_client in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/sync_client" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111B/conf/imapd.conf" "-v" "-v" "-o" "-S" "127.0.0.1" "-m" "user.cassandane.dest-name" =====> Instance::_fork_command[1562] child pid=2434 =====> Instance::_fork_command[1562] setting core size limit to 104857600 1053460111B/sync_client[2434]: SQL backend defaulting to engine 'mysql' 1053460111B/sync_client[2434]: imap_sasl_parsesuccess(): input is: A01 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] Success (no protection) SESSIONID=<1053460111C-1588763323-2415-1-8172331016602020637> 1053460111B/sync_client[2434]: imap_sasl_parsesuccess(): found capability string: [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] MAILBOXES user.cassandane.dest-name >1588763323>S0 SYNCGET MAILBOXES (user.cassandane.dest-name) <15887633231588763323>S1 SYNCAPPLY MAILBOX %(UNIQUEID 5f9e1a73-0dd3-4969-a0d0-42a56c8b162d MBOXNAME user.cassandane.dest-name SYNC_CRC 0 SYNC_CRC_ANNOT 12345678 LAST_UID 0 HIGHESTMODSEQ 2 RECENTUID 0 RECENTTIME 0 LAST_APPENDDATE 0 POP3_LAST_LOGIN 0 POP3_SHOW_AFTER 0 UIDVALIDITY 1588763323 PARTITION default ACL "cassandanelrswipkxtecdan admin lrswipkxtecdan anyone p " OPTIONS P CREATEDMODSEQ 1 FOLDERMODSEQ 2 RECORD ()) <15887633231588763323>Q01 LOGOUT <1588763323<* BYE LOGOUT received Q01 OK Completed =====> Cyrus::TestCase::tear_down[67] (test_splitbrain_mailbox) Beginning tear_down =====> Instance::stop[773] stop main instance for test test_splitbrain_mailbox: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111B =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 2367 =====> Util::Wait::timed_wait[1376] Waited 0.029108 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 2354 2020/05/06-13:08:43 Server closing! =====> Instance::__ANON__[1420] killing notifyd 2364 =====> Instance::__ANON__[1459] killing smtpd 2354 =====> Instance::stop[791] stop replica instance for test test_splitbrain_mailbox: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/1053460111C =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 2398 =====> Util::Wait::timed_wait[1376] Waited 0.033878 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 2378 2020/05/06-13:08:43 Server closing! =====> Instance::__ANON__[1459] killing smtpd 2354 =====> Instance::__ANON__[1459] killing notifyd 2364 =====> Instance::__ANON__[1459] killing smtpd 2354 =====> Instance::__ANON__[1459] killing notifyd 2364 =====> Instance::__ANON__[1459] killing smtpd 2354 =====> Instance::__ANON__[1459] killing notifyd 2364 =====> Instance::__ANON__[1459] killing smtpd 2354 =====> Instance::__ANON__[1459] killing notifyd 2364 =====> Instance::__ANON__[1420] killing notifyd 2394 =====> Instance::__ANON__[1459] killing smtpd 2378 =====> Instance::__ANON__[1459] killing smtpd 2354 =====> Instance::__ANON__[1459] killing notifyd 2364 =====> Cyrus::TestCase::tear_down[67] ---------- END test_splitbrain_mailbox ---------- =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19106 19107 19108 19109 19110 19) SearchFuzzy.striphtml_alternative Structures begin differing at: $a->[0] = Does not exist $b->[0] = '1' at Cassandane/Cyrus/SearchFuzzy.pm line 1405. Cassandane::Cyrus::SearchFuzzy::test_striphtml_alternative(Cassandane::Cyrus::SearchFuzzy=HASH(0x56136902bbd8)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 75 [...framework calls elided...] Annotations: =====> Cyrus::TestCase::set_up[62] ---------- BEGIN test_striphtml_alternative ---------- =====> Instance::start[659] start main instance for test test_striphtml_alternative: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601129 2020/05/06-13:09:19 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(3068) Resolved [localhost]:19117 to [::1]:19117, IPv6 Resolved [localhost]:19117 to [127.0.0.1]:19117, IPv4 Binding to TCP port 19117 on host ::1 with IPv6 Binding to TCP port 19117 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 3068 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601129 as 3083 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601129/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601129/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601129/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601129/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601129/conf/master.log" =====> Instance::_fork_command[1562] child pid=3086 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19118 =====> Util::Wait::timed_wait[909] Waited 0.155084 sec for 127.0.0.1:19118 to be in LISTEN state =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::create_user[1175] create user cassandane =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19118 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<10534601129-1588763360-3101-1-12939915791064375203> C: 3 create user.cassandane S: 3 OK [MAILBOXID (7f91fb23-af8b-427d-b58b-6ae1af4f3c75)] Completed C: 4 setacl user.cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user.cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user.cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=57 =====> Instance::start[659] started main instance for test test_striphtml_alternative: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::set_up[62] (test_striphtml_alternative) Calling test function =====> Cyrus::SearchFuzzy::set_up[58] (test_striphtml_alternative) Xapian CJK tokeniser 'ngrams' detected. =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19118 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<10534601129-1588763360-3101-2-1219524062886537765> =====> Cyrus::SearchFuzzy::test_striphtml_alternative[75] Index message with both html and plain text part C: 3 select "inbox" S: * 0 EXISTS S: * 0 RECENT S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok S: * OK [UIDVALIDITY 1588763361] Ok S: * OK [UIDNEXT 1] Ok S: * OK [HIGHESTMODSEQ 4] Ok S: * OK [URLMECH INTERNAL] Ok S: * OK [ANNOTATIONS 65536] Ok S: 3 OK [READ-WRITE] Completed C: 4 append inbox " 6-May-2020 13:09:20 +0200" {896} S: + go ahead C: Return-Path: Received: from gateway (gateway.vmtom.com [10.0.0.1]) by ahost (ahost.vmtom.com[10.0.0.2]); Wed, 06 May 2020 13:09:20 +0200 Received: from mail.hotmail.com (mail.hotmail.com [192.168.0.1]) by gateway.vmtom.com (gateway.vmtom.com [10.0.0.1]); Wed, 06 May 2020 13:09:20 +0200 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="boundary_1" Content-Transfer-Encoding: 7bit Subject: test From: Abigail G. Nguyen Message-ID: Date: Wed, 06 May 2020 13:09:20 +0200 To: Test User X-Cassandane-Unique: 4e21b7930641479e6b0f5e3f5e557be3ef57609b --boundary_1 Content-Type: text/plain; charset="UTF-8"
This is a plain text body with html.
--boundary_1 Content-Type: text/html; charset="UTF-8"
This is an html body.
--boundary_1-- C: S: * 1 EXISTS S: * 1 RECENT S: 4 OK [APPENDUID 1588763361 1] Completed =====> Instance::_find_binary[525] Found binary squatter in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/squatter" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601129/conf/imapd.conf" =====> Instance::_fork_command[1562] child pid=3102 =====> Instance::_fork_command[1562] setting core size limit to 104857600 10534601129/squatter[3102]: SQL backend defaulting to engine 'mysql' 10534601129/squatter[3102]: extractor_init((nil)) 10534601129/squatter[3102]: indexing mailboxes 10534601129/squatter[3102]: indexing mailbox user.cassandane... 10534601129/squatter[3102]: Xapian committed 1 updates in 0.003525 sec 10534601129/squatter[3102]: done indexing mailboxes 10534601129/squatter[3102]: extractor_destroy(0x55e04b412ba0) =====> Cyrus::SearchFuzzy::test_striphtml_alternative[75] Assert that HTML in plain text is stripped C: 5 search fuzzy body html S: * SEARCH 1 S: 5 OK Completed (1 msgs in 0.002 secs) C: 6 search fuzzy body div S: * SEARCH 1 S: 6 OK Completed (1 msgs in 0.001 secs) =====> Cyrus::TestCase::tear_down[93] (test_striphtml_alternative) Beginning tear_down C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=57 =====> Instance::stop[773] stop main instance for test test_striphtml_alternative: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534601129 =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 3088 =====> Util::Wait::timed_wait[1376] Waited 0.013027 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 3068 2020/05/06-13:09:20 Server closing! =====> Instance::__ANON__[1420] killing notifyd 3083 =====> Instance::__ANON__[1459] killing smtpd 3068 =====> Cyrus::TestCase::tear_down[93] ---------- END test_striphtml_alternative ---------- =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19117 19118 20) SearchFuzzy.striphtml_rfc822 Structures begin differing at: $a->[0] = Does not exist $b->[0] = '1' at Cassandane/Cyrus/SearchFuzzy.pm line 1472. Cassandane::Cyrus::SearchFuzzy::test_striphtml_rfc822(Cassandane::Cyrus::SearchFuzzy=HASH(0x561368f186a0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 75 [...framework calls elided...] Annotations: =====> Cyrus::TestCase::set_up[62] ---------- BEGIN test_striphtml_rfc822 ---------- =====> Instance::start[659] start main instance for test test_striphtml_rfc822: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602129 2020/05/06-13:09:21 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(3116) Resolved [localhost]:19122 to [::1]:19122, IPv6 Resolved [localhost]:19122 to [127.0.0.1]:19122, IPv4 Binding to TCP port 19122 on host ::1 with IPv6 Binding to TCP port 19122 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 3116 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602129 as 3135 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602129/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602129/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602129/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602129/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602129/conf/master.log" =====> Instance::_fork_command[1562] child pid=3137 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19123 =====> Util::Wait::timed_wait[909] Waited 0.187334 sec for 127.0.0.1:19123 to be in LISTEN state =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::create_user[1175] create user cassandane =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19123 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<10534602129-1588763362-3153-1-15480066184726821442> C: 3 create user.cassandane S: 3 OK [MAILBOXID (9a24ad53-daf0-481e-b4cd-c6ef64fcd3d4)] Completed C: 4 setacl user.cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user.cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user.cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=57 =====> Instance::start[659] started main instance for test test_striphtml_rfc822: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::set_up[62] (test_striphtml_rfc822) Calling test function =====> Cyrus::SearchFuzzy::set_up[58] (test_striphtml_rfc822) Xapian CJK tokeniser 'ngrams' detected. =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19123 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<10534602129-1588763362-3153-2-17017686861392155066> =====> Cyrus::SearchFuzzy::test_striphtml_rfc822[75] Index message with attached rfc822 message C: 3 select "inbox" S: * 0 EXISTS S: * 0 RECENT S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok S: * OK [UIDVALIDITY 1588763363] Ok S: * OK [UIDNEXT 1] Ok S: * OK [HIGHESTMODSEQ 4] Ok S: * OK [URLMECH INTERNAL] Ok S: * OK [ANNOTATIONS 65536] Ok S: 3 OK [READ-WRITE] Completed C: 4 append inbox " 6-May-2020 13:09:22 +0200" {1184} S: + go ahead C: Return-Path: Received: from gateway (gateway.vmtom.com [10.0.0.1]) by ahost (ahost.vmtom.com[10.0.0.2]); Wed, 06 May 2020 13:09:22 +0200 Received: from mail.yahoo.com (mail.yahoo.com [192.168.0.1]) by gateway.vmtom.com (gateway.vmtom.com [10.0.0.1]); Wed, 06 May 2020 13:09:22 +0200 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="boundary_1" Content-Transfer-Encoding: 7bit Subject: test From: Isabella E. Williams Message-ID: Date: Wed, 06 May 2020 13:09:22 +0200 To: Test User X-Cassandane-Unique: b73d082c465ef09890dc35e85d4e506b906d0a97 --boundary_1 Content-Type: text/plain; charset="UTF-8"
plain
--boundary_1 Content-Type: message/rfc822 Subject: bar From: from at local Date: Wed, 05 Oct 2016 14:59:07 +1100 To: to at local Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=boundary_2 --boundary_2 Content-Type: text/plain; charset="UTF-8"
embeddedplain with html.
--boundary_2 Content-Type: text/html; charset="UTF-8"
embeddedhtml.
--boundary_2-- C: S: * 1 EXISTS S: * 1 RECENT S: 4 OK [APPENDUID 1588763363 1] Completed =====> Instance::_find_binary[525] Found binary squatter in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/squatter" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602129/conf/imapd.conf" =====> Instance::_fork_command[1562] child pid=3154 =====> Instance::_fork_command[1562] setting core size limit to 104857600 10534602129/squatter[3154]: SQL backend defaulting to engine 'mysql' 10534602129/squatter[3154]: extractor_init((nil)) 10534602129/squatter[3154]: indexing mailboxes 10534602129/squatter[3154]: indexing mailbox user.cassandane... 10534602129/squatter[3154]: Xapian committed 1 updates in 0.005897 sec 10534602129/squatter[3154]: done indexing mailboxes 10534602129/squatter[3154]: extractor_destroy(0x56118a562ba0) =====> Cyrus::SearchFuzzy::test_striphtml_rfc822[75] Assert that HTML in top-level message isn't stripped C: 5 search fuzzy body main S: * SEARCH 1 S: 5 OK Completed (1 msgs in 0.001 secs) =====> Cyrus::SearchFuzzy::test_striphtml_rfc822[75] Assert that HTML in embedded message plain text is stripped C: 6 search fuzzy body div S: * SEARCH 1 S: 6 OK Completed (1 msgs in 0.000 secs) =====> Cyrus::TestCase::tear_down[93] (test_striphtml_rfc822) Beginning tear_down C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=57 =====> Instance::stop[773] stop main instance for test test_striphtml_rfc822: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/10534602129 =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 3139 =====> Util::Wait::timed_wait[1376] Waited 0.010099 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 3116 2020/05/06-13:09:23 Server closing! =====> Instance::__ANON__[1420] killing notifyd 3135 =====> Instance::__ANON__[1459] killing smtpd 3116 =====> Cyrus::TestCase::tear_down[93] ---------- END test_striphtml_rfc822 ---------- =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19122 19123 Thanks a lot Bye Marco From brian at interlinx.bc.ca Wed May 6 13:10:05 2020 From: brian at interlinx.bc.ca (Brian J. Murrell) Date: Wed, 06 May 2020 13:10:05 -0400 Subject: files on disk but not in index? In-Reply-To: <92e92443-7bca-bf37-2662-214e5298a844@fastmail.com> References: <85d0974fedad3591653285505e4b2d7f3063204b.camel@interlinx.bc.ca> <914de763-7804-ede0-3bca-98dc63ad5ae9@fastmail.com> <9387124c4508be294af3e0c35209ae67b16194d7.camel@interlinx.bc.ca> <92e92443-7bca-bf37-2662-214e5298a844@fastmail.com> Message-ID: <183bd4abba9d8728fb977cdf002103951c6a3516.camel@interlinx.bc.ca> On Wed, 2020-05-06 at 09:11 -0400, Ken Murchison wrote: > You may have a bunch of messages that were marked as \Deleted (and > not > displayed by your client) but haven't been expunged. I have my every-day-all-day e-mail client, evolution, set to display deleted messages (it shows them with a strike-through) and not expunge until I tell it to with a key-combination, so I expunge many times a day already. > How many of the messages shown by mbexamine have the \Deleted flag > set? Does this mean 0? Index Header Info: Generation Number: -79183387 Minor Version: 12 Header Size: 128 bytes Record Size: 96 bytes Number of Messages: 3963 Mailbox Size: 114722914 bytes Last Append Date: (1588775886) Wed May 6 10:38:06 2020 UIDValidity: 957666537 Last UID: 1611876 Deleted: 0 Answered: 1634 Flagged: 54 Mailbox Options: POP3_NEW_UIDL Last POP3 Login: (0) Wed Dec 31 19:00:00 1969 Highest Mod Sequence: 1077383 Or is the "Deteled: 0" there something different than \Deleted? In any case: # /usr/lib/cyrus-imapd/mbexamine user.brian | grep \\\\Deleted reports nothing. Cheers, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: This is a digitally signed message part URL: From tibbs at math.uh.edu Wed May 6 13:59:43 2020 From: tibbs at math.uh.edu (Jason Tibbitts) Date: Wed, 06 May 2020 12:59:43 -0500 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> (Marco's message of "Wed, 6 May 2020 15:53:39 +0200") References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> Message-ID: <5034_1588787990_046HxmBB068969_87sggd2bcg.fsf@math.uh.edu> >>>>> "M" == Marco writes: M> thank you for the info. I trusted an old commit which I found on a M> SPEC file for Fedora Cyrus IMAP 3.0.x. I'm trying to build an RPM M> file. Yes, you shouldn't trust that as I froze the Cassandane version in Fedora's packaging at an appropriate checkout back when it was decidedly not useful for testing the released versions. I know that changed now but I haven't put in the work to get it all updated. That will of course have to happen when rawhide gets 3.2.0 (which I will hopefully be able to work on soon). - J< From falon at ruparpiemonte.it Thu May 7 05:51:34 2020 From: falon at ruparpiemonte.it (Marco) Date: Thu, 7 May 2020 11:51:34 +0200 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <87sggd2bcg.fsf@math.uh.edu> References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> Message-ID: On 06/05/2020 19:59, Jason Tibbitts has written: >>>>>> "M" == Marco writes: > > M> thank you for the info. I trusted an old commit which I found on a > M> SPEC file for Fedora Cyrus IMAP 3.0.x. I'm trying to build an RPM > M> file. > > Yes, you shouldn't trust that as I froze the Cassandane version in > Fedora's packaging at an appropriate checkout back when it was decidedly > not useful for testing the released versions. I know that changed now > but I haven't put in the work to get it all updated. That will of > course have to happen when rawhide gets 3.2.0 (which I will hopefully be > able to work on soon). Hello, thank you for these clarification. I'm quite new on building for Cyrus3. Waiting for rawhide, anyway I found the bug about many failing tests. The Instance.pm of Cassandane looks for a log in {basedir}/conf/log/syslog but the Cyrus IMAP log to system MAIL syslog, in redhat by default is /var/log/maillog. After patching this, I still have few tests failed. They are: 1) The Rename.rename_inbox fails for this syslog error: "syslog error: May 7 10:42:36 imap 08292501FB/imap[21159]: IOERROR: conversations_audit on store: /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/user/c/cassandane.conversations B82adf4514b98522d 0 (8 1 0 0 () ((0 5 1 1 0)) () subject1 0 () 5)" 2) The SearchFuzzy.striphtml_alternative fails for the following reason: Structures begin differing at: $a->[0] = Does not exist $b->[0] = '1' 3) The SearchFuzzy.striphtml_rfc822 fails for the following reason: Structures begin differing at: $a->[0] = Does not exist $b->[0] = '1' I attach the the details about these three errors. If you like I could add these info as a bug on github. Other searchfuzzy test failed on 3.0.7 now succeed. Thank you Warm Regards Marco -------------- next part -------------- --- a/Cassandane/Instance.pm.orig 2020-05-07 09:57:28.762872556 +0200 +++ b/Cassandane/Instance.pm 2020-05-07 10:00:32.529012919 +0200 @@ -1099,7 +1099,7 @@ my $syslog_start = 0; if (-e 'utils/syslog.so') { # XXX check a bit harder? - $self->{syslog_fname} = "$self->{basedir}/conf/log/syslog"; + $self->{syslog_fname} = '/var/log/maillog'; $self->{have_syslog_replacement} = 1; # if the syslog file already exists, remember how large it is -------------- next part -------------- Test Results: Run: 1140, Failures: 2, Errors: 1 There was 1 error: 1) Rename.rename_inbox Perl exception: Errors found in syslog at Cassandane/Instance.pm line 1338, line 296. Cassandane::Instance::_check_syslog(Cassandane::Instance=HASH(0x555f1b35a948)) called at Cassandane/Instance.pm line 1427 Cassandane::Instance::stop(Cassandane::Instance=HASH(0x555f1b35a948)) called at Cassandane/Cyrus/TestCase.pm line 773 Cassandane::Cyrus::TestCase::tear_down(Cassandane::Cyrus::Rename=HASH(0x555f1a367158)) called at Cassandane/Cyrus/Rename.pm line 73 Cassandane::Cyrus::Rename::tear_down(Cassandane::Cyrus::Rename=HASH(0x555f1a367158)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 65 Test::Unit::TestCase::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 436 Error::subs::try(CODE(0x555f1b17f660), HASH(0x555f1b1900a0)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 66 Test::Unit::TestCase::run_bare(Cassandane::Cyrus::Rename=HASH(0x555f1a367158)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 103 Test::Unit::Result::__ANON__() called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 119 Test::Unit::Result::run_protected(Test::Unit::Result=HASH(0x555f16424730), Cassandane::Cyrus::Rename=HASH(0x555f1a367158), CODE(0x555f1b1bcb30)) called at /usr/share/perl5/vendor_perl/Test/Unit/Result.pm line 107 Test::Unit::Result::run(Test::Unit::Result=HASH(0x555f16424730), Cassandane::Cyrus::Rename=HASH(0x555f1a367158)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 51 Test::Unit::TestCase::run(Cassandane::Cyrus::Rename=HASH(0x555f1a367158), Test::Unit::Result=HASH(0x555f16424730), Cassandane::Unit::RunnerPretty=HASH(0x555f16412f88)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestSuite.pm line 278 Test::Unit::TestSuite::run(Test::Unit::TestSuite=HASH(0x555f1a334750), Test::Unit::Result=HASH(0x555f16424730), Cassandane::Unit::RunnerPretty=HASH(0x555f16412f88)) called at Cassandane/Unit/TestPlan.pm line 769 Cassandane::Unit::TestPlan::_run_workitem(Cassandane::Unit::TestPlan=HASH(0x555f164102d0), HASH(0x555f1b226b80), Test::Unit::Result=HASH(0x555f16424730), Cassandane::Unit::RunnerPretty=HASH(0x555f16412f88), 0) called at Cassandane/Unit/TestPlan.pm line 885 Cassandane::Unit::TestPlan::__ANON__(HASH(0x555f1b226b80)) called at Cassandane/Unit/TestPlan.pm line 205 Cassandane::Unit::Worker::_mainloop(Cassandane::Unit::Worker=HASH(0x555f164153f0)) called at Cassandane/Unit/TestPlan.pm line 165 Cassandane::Unit::Worker::start(Cassandane::Unit::Worker=HASH(0x555f164153f0)) called at Cassandane/Unit/TestPlan.pm line 310 Cassandane::Unit::WorkerPool::start(Cassandane::Unit::WorkerPool=HASH(0x555f16415420)) called at Cassandane/Unit/TestPlan.pm line 889 Cassandane::Unit::TestPlan::run(Cassandane::Unit::TestPlan=HASH(0x555f164102d0), Test::Unit::Result=HASH(0x555f16424730), Cassandane::Unit::RunnerPretty=HASH(0x555f16412f88)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestRunner.pm line 54 Test::Unit::TestRunner::do_run(Cassandane::Unit::RunnerPretty=HASH(0x555f16412f88), Cassandane::Unit::TestPlan=HASH(0x555f164102d0), 0) called at ./testrunner.pl line 132 main::__ANON__(Cassandane::Unit::TestPlan=HASH(0x555f164102d0), GLOB(0x555f1640ff10)) called at ./testrunner.pl line 315 Annotations: =====> Cyrus::TestCase::set_up[67] ---------- BEGIN test_rename_inbox ---------- =====> Cyrus::TestCase::config_set[223] Magic attribute Conversations sets config conversations = yes =====> Instance::start[659] start main instance for test test_rename_inbox: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB 2020/05/07-10:42:35 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(21140) Resolved [localhost]:19110 to [::1]:19110, IPv6 Resolved [localhost]:19110 to [127.0.0.1]:19110, IPv4 Binding to TCP port 19110 on host ::1 with IPv6 Binding to TCP port 19110 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 21140 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB as 21145 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/master.log" =====> Instance::_fork_command[1562] child pid=21147 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19111 =====> Util::Wait::timed_wait[909] Waited 0.141438 sec for 127.0.0.1:19111 to be in LISTEN state =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::create_user[1175] create user cassandane =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19111 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<08292501FB-1588840956-21159-1-5071158053237003030> C: 3 create user.cassandane S: 3 OK [MAILBOXID (c1d7fecb-5bf6-4303-840a-723d7f7debd4)] Completed C: 4 setacl user.cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user.cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user.cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=54 =====> Instance::start[659] started main instance for test test_rename_inbox: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::set_up[67] (test_rename_inbox) Calling test function =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19111 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<08292501FB-1588840956-21159-2-8678172835430764841> C: 3 select "INBOX" S: * 0 EXISTS S: * 0 RECENT S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok S: * OK [UIDVALIDITY 1588840957] Ok S: * OK [UIDNEXT 1] Ok S: * OK [HIGHESTMODSEQ 4] Ok S: * OK [URLMECH INTERNAL] Ok S: * OK [ANNOTATIONS 65536] Ok S: 3 OK [READ-WRITE] Completed C: 4 append INBOX (\Seen $NotJunk) " 7-May-2020 10:42:36 +0200" {756} S: + go ahead C: Return-Path: Received: from gateway (gateway.vmtom.com [10.0.0.1]) by ahost (ahost.vmtom.com[10.0.0.2]); Thu, 07 May 2020 10:42:36 +0200 Received: from mail.hotmail.com (mail.hotmail.com [192.168.0.1]) by gateway.vmtom.com (gateway.vmtom.com [10.0.0.1]); Thu, 07 May 2020 10:42:36 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: subject 1 From: Isabella J. Brown Message-ID: Date: Thu, 07 May 2020 10:42:36 +0200 To: Test User X-Cassandane-Unique: 162acf466f539004c0daa2ad79a45648cd4776e7 This is a generated test email. If received, please notify qa at cyrus.works C: S: * 1 EXISTS S: * 1 RECENT S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk \*)] Ok S: 4 OK [APPENDUID 1588840957 1] Completed C: 5 search SEEN S: * SEARCH 1 S: 5 OK Completed (1 msgs in 0.000 secs) =====> Instance::_find_binary[525] Found binary ctl_conversationsdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/ctl_conversationsdb" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/imapd.conf" "-A" "-r" "-v" =====> Instance::_fork_command[1562] child pid=21160 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Cyrus::TestCase::check_conversations[349] (test_rename_inbox) RESULT: User cassandane Pass 1: recalculate counts into temporary db user.cassandane Pass 2: find differences from recalculated to live dbs cassandane is OK C: 6 rename INBOX INBOX.dst S: * 1 FETCH (FLAGS (\Recent \Seen $NotJunk)) S: 6 OK Completed C: 7 select "INBOX" S: * OK [CLOSED] Ok S: * 0 EXISTS S: * 0 RECENT S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk \*)] Ok S: * OK [UIDVALIDITY 1588840957] Ok S: * OK [UIDNEXT 2] Ok S: * OK [HIGHESTMODSEQ 8] Ok S: * OK [URLMECH INTERNAL] Ok S: * OK [ANNOTATIONS 65536] Ok S: 7 OK [READ-WRITE] Completed C: 8 search KEYWORD $NotJunk S: * SEARCH S: 8 OK Completed (0 msgs in 0.000 secs) C: 9 select "INBOX.dst" S: * OK [CLOSED] Ok S: * 1 EXISTS S: * 0 RECENT S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk \*)] Ok S: * OK [UIDVALIDITY 1588840957] Ok S: * OK [UIDNEXT 2] Ok S: * OK [HIGHESTMODSEQ 7] Ok S: * OK [URLMECH INTERNAL] Ok S: * OK [ANNOTATIONS 65536] Ok S: 9 OK [READ-WRITE] Completed C: 10 search KEYWORD $NotJunk S: * SEARCH 1 S: 10 OK Completed (1 msgs in 0.000 secs) =====> Instance::_find_binary[525] Found binary ctl_conversationsdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/ctl_conversationsdb" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/imapd.conf" "-A" "-r" "-v" =====> Instance::_fork_command[1562] child pid=21161 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Cyrus::TestCase::check_conversations[361] (test_rename_inbox) RESULT: User cassandane Pass 1: recalculate counts into temporary db user.cassandane user.cassandane.dst Pass 2: find differences from recalculated to live dbs cassandane is OK =====> Cyrus::TestCase::tear_down[73] (test_rename_inbox) Beginning tear_down C: 11 logout S: * BYE LOGOUT received S: 11 OK Completed A: Release socket, fileno=54 =====> Instance::stop[773] stop main instance for test test_rename_inbox: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 21148 =====> Util::Wait::timed_wait[1376] Waited 0.010127 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 21140 2020/05/07-10:42:36 Server closing! =====> Instance::__ANON__[1420] killing notifyd 21145 =====> Instance::__ANON__[1459] killing smtpd 21140 =====> Instance::_check_syslog[1427] Cassandane::Instance=HASH(0x555f1b35a948) syslog error: May 7 10:42:36 imap 08292501FB/imap[21159]: IOERROR: conversations_audit on store: /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/user/c/cassandane.conversations B82adf4514b98522d 0 (8 1 0 0 () ((0 5 1 1 0)) () subject1 0 () 5) =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19110 19111 There were 2 failures: 1) SearchFuzzy.striphtml_alternative Structures begin differing at: $a->[0] = Does not exist $b->[0] = '1' at Cassandane/Cyrus/SearchFuzzy.pm line 1405. Cassandane::Cyrus::SearchFuzzy::test_striphtml_alternative(Cassandane::Cyrus::SearchFuzzy=HASH(0x555f1a5ed880)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 75 [...framework calls elided...] Annotations: =====> Cyrus::TestCase::set_up[62] ---------- BEGIN test_striphtml_alternative ---------- =====> Instance::start[659] start main instance for test test_striphtml_alternative: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F 2020/05/07-10:44:19 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(22930) Resolved [localhost]:19114 to [::1]:19114, IPv6 Resolved [localhost]:19114 to [127.0.0.1]:19114, IPv4 Binding to TCP port 19114 on host ::1 with IPv6 Binding to TCP port 19114 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 22930 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F as 22953 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F/conf/master.log" =====> Instance::_fork_command[1562] child pid=22955 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19115 =====> Util::Wait::timed_wait[909] Waited 0.174427 sec for 127.0.0.1:19115 to be in LISTEN state =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::create_user[1175] create user cassandane =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19115 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<0829250111F-1588841060-22974-1-15100183818831621430> C: 3 create user.cassandane S: 3 OK [MAILBOXID (ef32e77b-6fd5-4e69-a90b-ba2ccb161d56)] Completed C: 4 setacl user.cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user.cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user.cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=55 =====> Instance::start[659] started main instance for test test_striphtml_alternative: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::set_up[62] (test_striphtml_alternative) Calling test function =====> Cyrus::SearchFuzzy::set_up[58] (test_striphtml_alternative) Xapian CJK tokeniser 'ngrams' detected. =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19115 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<0829250111F-1588841060-22974-2-4890090259575676349> =====> Cyrus::SearchFuzzy::test_striphtml_alternative[75] Index message with both html and plain text part C: 3 select "inbox" S: * 0 EXISTS S: * 0 RECENT S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok S: * OK [UIDVALIDITY 1588841061] Ok S: * OK [UIDNEXT 1] Ok S: * OK [HIGHESTMODSEQ 4] Ok S: * OK [URLMECH INTERNAL] Ok S: * OK [ANNOTATIONS 65536] Ok S: 3 OK [READ-WRITE] Completed C: 4 append inbox " 7-May-2020 10:44:20 +0200" {889} S: + go ahead C: Return-Path: Received: from gateway (gateway.vmtom.com [10.0.0.1]) by ahost (ahost.vmtom.com[10.0.0.2]); Thu, 07 May 2020 10:44:20 +0200 Received: from mail.gmail.com (mail.gmail.com [192.168.0.1]) by gateway.vmtom.com (gateway.vmtom.com [10.0.0.1]); Thu, 07 May 2020 10:44:20 +0200 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="boundary_1" Content-Transfer-Encoding: 7bit Subject: test From: Ava Z. Smith Message-ID: Date: Thu, 07 May 2020 10:44:20 +0200 To: Test User X-Cassandane-Unique: 9b8b033361ecce2586aa1ffe0a5edb81d4545f82 --boundary_1 Content-Type: text/plain; charset="UTF-8"
This is a plain text body with html.
--boundary_1 Content-Type: text/html; charset="UTF-8"
This is an html body.
--boundary_1-- C: S: * 1 EXISTS S: * 1 RECENT S: 4 OK [APPENDUID 1588841061 1] Completed =====> Instance::_find_binary[525] Found binary squatter in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/squatter" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F/conf/imapd.conf" =====> Instance::_fork_command[1562] child pid=22975 =====> Instance::_fork_command[1562] setting core size limit to 104857600 0829250111F/squatter[22975]: SQL backend defaulting to engine 'mysql' 0829250111F/squatter[22975]: extractor_init((nil)) 0829250111F/squatter[22975]: indexing mailboxes 0829250111F/squatter[22975]: indexing mailbox user.cassandane... 0829250111F/squatter[22975]: Xapian committed 1 updates in 0.008074 sec 0829250111F/squatter[22975]: done indexing mailboxes 0829250111F/squatter[22975]: extractor_destroy(0x55a1cb185b10) =====> Cyrus::SearchFuzzy::test_striphtml_alternative[75] Assert that HTML in plain text is stripped C: 5 search fuzzy body html S: * SEARCH 1 S: 5 OK Completed (1 msgs in 0.001 secs) C: 6 search fuzzy body div S: * SEARCH 1 S: 6 OK Completed (1 msgs in 0.000 secs) =====> Cyrus::TestCase::tear_down[93] (test_striphtml_alternative) Beginning tear_down C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=55 =====> Instance::stop[773] stop main instance for test test_striphtml_alternative: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0829250111F =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 22956 =====> Util::Wait::timed_wait[1376] Waited 0.010104 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 22930 2020/05/07-10:44:20 Server closing! =====> Instance::__ANON__[1420] killing notifyd 22953 =====> Instance::__ANON__[1459] killing smtpd 22930 =====> Cyrus::TestCase::tear_down[93] ---------- END test_striphtml_alternative ---------- =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19114 19115 2) SearchFuzzy.striphtml_rfc822 Structures begin differing at: $a->[0] = Does not exist $b->[0] = '1' at Cassandane/Cyrus/SearchFuzzy.pm line 1472. Cassandane::Cyrus::SearchFuzzy::test_striphtml_rfc822(Cassandane::Cyrus::SearchFuzzy=HASH(0x555f1a5f1940)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 75 [...framework calls elided...] Annotations: =====> Cyrus::TestCase::set_up[62] ---------- BEGIN test_striphtml_rfc822 ---------- =====> Instance::start[659] start main instance for test test_striphtml_rfc822: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120 2020/05/07-10:44:21 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(22980) Resolved [localhost]:19116 to [::1]:19116, IPv6 Resolved [localhost]:19116 to [127.0.0.1]:19116, IPv4 Binding to TCP port 19116 on host ::1 with IPv6 Binding to TCP port 19116 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 22980 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120 as 23005 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120/conf/master.log" =====> Instance::_fork_command[1562] child pid=23010 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19117 =====> Util::Wait::timed_wait[909] Waited 0.122989 sec for 127.0.0.1:19117 to be in LISTEN state =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::create_user[1175] create user cassandane =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19117 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<08292501120-1588841062-23020-1-11887763518844812985> C: 3 create user.cassandane S: 3 OK [MAILBOXID (cd5b7434-59cd-4f89-9074-263ae695df1a)] Completed C: 4 setacl user.cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user.cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user.cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=55 =====> Instance::start[659] started main instance for test test_striphtml_rfc822: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::set_up[62] (test_striphtml_rfc822) Calling test function =====> Cyrus::SearchFuzzy::set_up[58] (test_striphtml_rfc822) Xapian CJK tokeniser 'ngrams' detected. =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19117 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login cassandane "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<08292501120-1588841062-23020-2-13985767738996380584> =====> Cyrus::SearchFuzzy::test_striphtml_rfc822[75] Index message with attached rfc822 message C: 3 select "inbox" S: * 0 EXISTS S: * 0 RECENT S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok S: * OK [UIDVALIDITY 1588841063] Ok S: * OK [UIDNEXT 1] Ok S: * OK [HIGHESTMODSEQ 4] Ok S: * OK [URLMECH INTERNAL] Ok S: * OK [ANNOTATIONS 65536] Ok S: 3 OK [READ-WRITE] Completed C: 4 append inbox " 7-May-2020 10:44:22 +0200" {1152} S: + go ahead C: Return-Path: Received: from gateway (gateway.vmtom.com [10.0.0.1]) by ahost (ahost.vmtom.com[10.0.0.2]); Thu, 07 May 2020 10:44:22 +0200 Received: from mail.gmail.com (mail.gmail.com [192.168.0.1]) by gateway.vmtom.com (gateway.vmtom.com [10.0.0.1]); Thu, 07 May 2020 10:44:22 +0200 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="boundary_1" Content-Transfer-Encoding: 7bit Subject: test From: Ashley C. Taylor Message-ID: Date: Thu, 07 May 2020 10:44:22 +0200 To: Test User X-Cassandane-Unique: 8304c52b0c2b67372d5dcbe998ee4e04271275d6 --boundary_1 Content-Type: text/plain; charset="UTF-8"
plain
--boundary_1 Content-Type: message/rfc822 Subject: bar From: from at local Date: Wed, 05 Oct 2016 14:59:07 +1100 To: to at local Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=boundary_2 --boundary_2 Content-Type: text/plain; charset="UTF-8"
embeddedplain with html.
--boundary_2 Content-Type: text/html; charset="UTF-8"
embeddedhtml.
--boundary_2-- C: S: * 1 EXISTS S: * 1 RECENT S: 4 OK [APPENDUID 1588841063 1] Completed =====> Instance::_find_binary[525] Found binary squatter in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin/squatter" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120/conf/imapd.conf" =====> Instance::_fork_command[1562] child pid=23021 =====> Instance::_fork_command[1562] setting core size limit to 104857600 08292501120/squatter[23021]: SQL backend defaulting to engine 'mysql' 08292501120/squatter[23021]: extractor_init((nil)) 08292501120/squatter[23021]: indexing mailboxes 08292501120/squatter[23021]: indexing mailbox user.cassandane... 08292501120/squatter[23021]: Xapian committed 1 updates in 0.004684 sec 08292501120/squatter[23021]: done indexing mailboxes 08292501120/squatter[23021]: extractor_destroy(0x5572e5c10b10) =====> Cyrus::SearchFuzzy::test_striphtml_rfc822[75] Assert that HTML in top-level message isn't stripped C: 5 search fuzzy body main S: * SEARCH 1 S: 5 OK Completed (1 msgs in 0.002 secs) =====> Cyrus::SearchFuzzy::test_striphtml_rfc822[75] Assert that HTML in embedded message plain text is stripped C: 6 search fuzzy body div S: * SEARCH 1 S: 6 OK Completed (1 msgs in 0.001 secs) =====> Cyrus::TestCase::tear_down[93] (test_striphtml_rfc822) Beginning tear_down C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=55 =====> Instance::stop[773] stop main instance for test test_striphtml_rfc822: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501120 =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 23011 =====> Util::Wait::timed_wait[1376] Waited 0.010126 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 22980 2020/05/07-10:44:22 Server closing! =====> Instance::__ANON__[1420] killing notifyd 23005 =====> Instance::__ANON__[1459] killing smtpd 22980 =====> Cyrus::TestCase::tear_down[93] ---------- END test_striphtml_rfc822 ---------- =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19116 19117 From rsto at fastmailteam.com Thu May 7 06:15:36 2020 From: rsto at fastmailteam.com (Robert Stepanek) Date: Thu, 07 May 2020 12:15:36 +0200 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> Message-ID: <61bb785e-ec01-430c-b198-63718d99207b@www.fastmail.com> On Thu, May 7, 2020, at 11:51 AM, Marco wrote: > 1) The Rename.rename_inbox fails for this syslog error: Probably ellie knows more for this one? > 2) The SearchFuzzy.striphtml_alternative fails for the following reason: > 3) The SearchFuzzy.striphtml_rfc822 fails for the following reason: These fail because they test a feature on the development branch. I have fixed that on the cassandane master branch, so they should not fail for you anymore. Cheers, Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: From falon at ruparpiemonte.it Thu May 7 09:47:56 2020 From: falon at ruparpiemonte.it (Marco) Date: Thu, 7 May 2020 15:47:56 +0200 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <61bb785e-ec01-430c-b198-63718d99207b@www.fastmail.com> References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> <61bb785e-ec01-430c-b198-63718d99207b@www.fastmail.com> Message-ID: <44a9e4cd-4630-8c83-5300-e9024d839b89@ruparpiemonte.it> Il 07/05/2020 12:15, Robert Stepanek ha scritto: >> 2) The SearchFuzzy.striphtml_alternative fails for the following reason: >> 3) The? SearchFuzzy.striphtml_rfc822 fails for the following reason: > > These fail because they test a feature on the development branch. I have > fixed that on the cassandane master branch, so they should not fail for > you anymore. I confirm they don't fail anymore, thank you! Bye Marco From ellie at fastmail.com Thu May 7 21:29:46 2020 From: ellie at fastmail.com (ellie timoney) Date: Fri, 08 May 2020 11:29:46 +1000 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> Message-ID: Hi Marco, On Thu, May 7, 2020, at 7:51 PM, Marco wrote: > The Instance.pm of Cassandane looks for a log in > > {basedir}/conf/log/syslog > > but the Cyrus IMAP log to system MAIL syslog, in redhat by default is > /var/log/maillog. Did you run "make" in the cassandane directory, like the instructions at https://www.cyrusimap.org/imap/developer/developer-testing.html say to? If you haven't run make, there's probably also an error in syslog telling you to do so, like: > utils/syslog.so not found (do you need to run 'make'?) > tests will not examine syslog output Cassandane LD_PRELOADs utils/syslog.so, which intercepts syslog() calls and duplicates the lines into [basedir]/conf/log/syslog. That way Cassandane can a) read them without needing to know where your system's syslog output resides, and b) associate each group of syslog lines to the test that produced them. Thoooough... if it's failing on missing syslog errors, that means it found "utils/syslog.so" (otherwise it would be ignoring syslog problems), so you probably did already run "make". But if it still didn't find the syslog file, maybe that means the syslog intercept isn't working on your system. Off the top of my head, I have no particular insight as to why this would be. Do you know whether Redhat does anything weird with, or needs any additional setup for, LD_PRELOAD? > After patching this If you patch Cassandane to look at your system's syslog file, then you lose the "b" behaviour above. So, tests run in parallel (with the -j option or maxworkers cassandane.ini option) will race against each other when they check syslog, and will fail randomly. > 1) The Rename.rename_inbox fails for this syslog error: > > "syslog error: May 7 10:42:36 imap 08292501FB/imap[21159]: IOERROR: > conversations_audit on store: > /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/08292501FB/conf/user/c/cassandane.conversations > B82adf4514b98522d 0 (8 1 0 0 () ((0 5 1 1 0)) () subject1 0 () 5)" This test is known to fail at the moment. The test is correct (there is a subtle problem), and also fails on every previous version of Cyrus (the problem has existed for a long time, but has only recently had a test added to observe it), but there isn't a fix for it yet. This test doesn't fail against cyrus master, ironically because the mechanism Cassandane uses to trigger it no longer exists -- but as far as I know the problem still exists on master too. You can just ignore it, or tell testrunner.pl not to run it by naming it as "!Rename.rename_inbox" or "~Rename.rename_inbox" on the command line. ('!' might interact with your shell history, so use "~" unless you know that it won't!) I see Robert has already fixed the SearchFuzzy problems (thanks!). I didn't read the wall-of-errors in your earlier followup, since you had already followed up with the syslog detail. Do you have other tests that are failing still? (If you have configured them to run, then also expect Cyrus::Caldav.netcaldavtalktests_fromical to fail, and Cyrus::Caldav.netcaldavtalktests_fromje to error. But these two tests won't run unless configured to, which they aren't by default. I believe they're are stale and need updating somehow, but I haven't looked further.) Cheers, ellie -------------- next part -------------- An HTML attachment was scrubbed... URL: From falon at ruparpiemonte.it Fri May 8 06:42:53 2020 From: falon at ruparpiemonte.it (Marco) Date: Fri, 8 May 2020 12:42:53 +0200 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> Message-ID: <91ce8e53-0998-cd3d-9371-55c7c072fc38@ruparpiemonte.it> Hi Ellie, On 08/05/2020 03:29, ellie timoney ha scritto: > Hi Marco, [...] > Thoooough... if it's failing on missing syslog errors, that means it > found "utils/syslog.so" (otherwise it would be ignoring syslog > problems), so you probably did already run "make". ?But if it still > didn't find the syslog file, maybe that means the syslog intercept isn't > working on your system. ?Off the top of my head, I have no particular > insight as to why this would be. > > Do you know whether Redhat does anything weird with, or needs any > additional setup for, LD_PRELOAD? Thank you for the clear explanation. Yes, I do "make". This is hard to understand for me. I tried many things. But it really seems that the LD_PRELOAD or the syslog.so doesn't work for me. I also tried this in my bash shell: # export LD_PRELOAD=/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane-54270a90fb3fa952510ae8589ed11fac2e1078b7/utils/syslog.so # ll /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane-54270a90fb3fa952510ae8589ed11fac2e1078b7/utils/syslog.so -rwxr-xr-x 1 root root 18240 May 8 11:47 /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane-54270a90fb3fa952510ae8589ed11fac2e1078b7/utils/syslog.so # ldd `which logger` linux-vdso.so.1 (0x00007ffea075d000) /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane-54270a90fb3fa952510ae8589ed11fac2e1078b7/utils/syslog.so (0x00007f6e7c05b000) libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f6e7bdb6000) libc.so.6 => /lib64/libc.so.6 (0x00007f6e7b9f3000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f6e7b7ef000) librt.so.1 => /lib64/librt.so.1 (0x00007f6e7b5e6000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f6e7b3bf000) liblz4.so.1 => /lib64/liblz4.so.1 (0x00007f6e7b1a8000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f6e7afa2000) libmount.so.1 => /lib64/libmount.so.1 (0x00007f6e7ad48000) libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007f6e7aa2c000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6e7a814000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6e7a5f4000) /lib64/ld-linux-x86-64.so.2 (0x00007f6e7c46a000) libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f6e7a3a2000) libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f6e7a19a000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f6e79f6f000) libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f6e79d4e000) libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f6e79aca000) # export CASSANDANE_SYSLOG_FNAME=/var/log/cassa # logger -p mail.info "ciao" and the log is only written in /var/log/maillog I also tried to configure rsyslog to log only on /dev/log socket bypassing journald, but it doesn't work yet. The gcc compile of syslog.c doesn't show errors. > This test is known to fail at the moment. ?The test is correct (there is > a subtle problem), and also fails on every previous version of Cyrus > (the problem has existed for a long time, but has only recently had a > test added to observe it), but there isn't a fix for it yet. ?This test > doesn't fail against cyrus master, ironically because the mechanism > Cassandane uses to trigger it no longer exists -- but as far as I know > the problem still exists on master too. > > You can just ignore it, or tell testrunner.pl not to run it by naming it > as "!Rename.rename_inbox" or "~Rename.rename_inbox" on the command line. > ?('!' might interact with your shell history, so use "~" unless you > know that it won't!) > > I see Robert has already fixed the SearchFuzzy problems (thanks!). ?I > didn't read the wall-of-errors in your earlier followup, since you had > already followed up with the syslog detail. ?Do you have other tests > that are failing still? A list of known failing tests for each stable supported version of Cyrus IMAP could be very appreciated, but I understand that this could be difficult to achieve... My currently failing and now ignored tests are based on failing tests in fedora for 3.0.x, reviewed in my env: # This tests coredumping and won't work on a machine where systemd # intercepts coredumps, which includes our builders. Cassandane::Test::Core # Upstream recommends disabling this because it has an internal race and # will fail randomly. https://github.com/cyrusimap/cassandane/issues/17 Master.sighup_recycling # Fails because our Xapian is too old for proper CJK support. 1.5 will be # OK, but it is not yet released. The alternative is to bundle. SearchFuzzy.cjk_words # Can't currently be run at build time because of compiled-in paths. See # https://github.com/cyrusimap/cyrus-imapd/issues/2386 Admin.imap_admins # This fail on 3.2.0 # https://github.com/cyrusimap/cyrus-imapd/issues/2332 Caldav.supports_event # Fail on Cyrus 3.2.0 Rename.rename_inbox # https://github.com/cyrusimap/cyrus-imapd/issues/2087 ImapTest.append-binary ImapTest.fetch-binary-mime ImapTest.urlauth-binary # This one seems to fail randomly on fedora, but in my env always seems to be successful. ImapTest.urlauth2 Thank you very much Cheers Marco From brian at interlinx.bc.ca Fri May 8 07:23:32 2020 From: brian at interlinx.bc.ca (Brian & Jennifer Murrell) Date: Fri, 08 May 2020 07:23:32 -0400 Subject: files on disk but not in index? In-Reply-To: <183bd4abba9d8728fb977cdf002103951c6a3516.camel@interlinx.bc.ca> References: <85d0974fedad3591653285505e4b2d7f3063204b.camel@interlinx.bc.ca> <914de763-7804-ede0-3bca-98dc63ad5ae9@fastmail.com> <9387124c4508be294af3e0c35209ae67b16194d7.camel@interlinx.bc.ca> <92e92443-7bca-bf37-2662-214e5298a844@fastmail.com> <183bd4abba9d8728fb977cdf002103951c6a3516.camel@interlinx.bc.ca> Message-ID: On Wed, 2020-05-06 at 13:10 -0400, Brian J. Murrell wrote: > On Wed, 2020-05-06 at 09:11 -0400, Ken Murchison wrote: > > You may have a bunch of messages that were marked as \Deleted (and > > not > > displayed by your client) but haven't been expunged. > > I have my every-day-all-day e-mail client, evolution, set to display > deleted messages (it shows them with a strike-through) and not > expunge > until I tell it to with a key-combination, so I expunge many times a > day already. > > > How many of the messages shown by mbexamine have the \Deleted flag > > set? > > Does this mean 0? > > Index Header Info: > Generation Number: -79183387 > Minor Version: 12 > Header Size: 128 bytes Record Size: 96 bytes > Number of Messages: 3963 Mailbox Size: 114722914 bytes > Last Append Date: (1588775886) Wed May 6 10:38:06 2020 > UIDValidity: 957666537 Last UID: 1611876 > Deleted: 0 Answered: 1634 Flagged: 54 > Mailbox Options: POP3_NEW_UIDL > Last POP3 Login: (0) Wed Dec 31 19:00:00 1969 > Highest Mod Sequence: 1077383 > > Or is the "Deteled: 0" there something different than \Deleted? > > In any case: > > # /usr/lib/cyrus-imapd/mbexamine user.brian | grep \\\\Deleted > > reports nothing. Any further ideas on this massive discrepancy between files on disk (and in the index) and what my IMAP clients are seeing? Cheers, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: This is a digitally signed message part URL: From ellie at fastmail.com Sun May 10 21:03:36 2020 From: ellie at fastmail.com (ellie timoney) Date: Mon, 11 May 2020 11:03:36 +1000 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <91ce8e53-0998-cd3d-9371-55c7c072fc38@ruparpiemonte.it> References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> <91ce8e53-0998-cd3d-9371-55c7c072fc38@ruparpiemonte.it> Message-ID: <4540d53a-9fa4-42bc-a0f8-871b81f0654c@www.fastmail.com> Hi Marco, > But it really seems that the LD_PRELOAD or the syslog.so doesn't > work for me. Thanks for including that detail. Hopefully someone familiar with RedHat can chime in with some insight into the LD_PRELOAD issue! At a guess, "preventing library injection from intercepting syslog calls" might be a security default of some sort. > A list of known failing tests for each stable supported version of Cyrus > IMAP could be very appreciated, but I understand that this could be > difficult to achieve... Yeah, this would not really be workable, cause even though an individual release of Cyrus doesn't change once it's released, Cassandane changes constantly. We could maybe publish such a list statically at release time, but it's potentially out of date days later, and it would be a headache to be regularly running Cassandane against all the old builds AND working out which new failures are "known failures" and which are "bugs in Cassandane" etc etc. I think most people don't run Cassandane very often, so it's easier for them to just reach out for advice when they do. And if you run Cassandane half a dozen times a day, like I do, you already know which failures can be ignored-for-now and which need investigation. > My currently failing and now ignored tests are based on failing tests in > fedora for 3.0.x, reviewed in my env: > [...] > # This fail on 3.2.0 > # https://github.com/cyrusimap/cyrus-imapd/issues/2332 > Caldav.supports_event This one should be passing on 3.2.0, the issue above has been closed > # https://github.com/cyrusimap/cyrus-imapd/issues/2087 > ImapTest.append-binary > ImapTest.fetch-binary-mime > ImapTest.urlauth-binary > > # This one seems to fail randomly on fedora, but in my env always > seems to be successful. > ImapTest.urlauth2 3.2.0 passes all the imaptest-20190504 tests for me, and I don't skip any. But I don't see urlauth2 or any of the -binary ones in the output, so maybe upstream imaptest has removed the bad tests. (The issue quoted was reported for imaptest-20170719) The rest of these look like about what I'd expect, no surprises. Whew! Cheers, ellie From falon at ruparpiemonte.it Mon May 11 03:08:18 2020 From: falon at ruparpiemonte.it (Marco) Date: Mon, 11 May 2020 09:08:18 +0200 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <4540d53a-9fa4-42bc-a0f8-871b81f0654c@www.fastmail.com> References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> <91ce8e53-0998-cd3d-9371-55c7c072fc38@ruparpiemonte.it> <4540d53a-9fa4-42bc-a0f8-871b81f0654c@www.fastmail.com> Message-ID: Hi Ellie, thank you for these feedback. On 11/05/2020 03:03, ellie timoney has written: >> # This fail on 3.2.0 >> # https://github.com/cyrusimap/cyrus-imapd/issues/2332 >> Caldav.supports_event > > This one should be passing on 3.2.0, the issue above has been closed Ouch. It still fails with the attached reason. I didn't tried no more the other failing tests at the moment. I also realized that the tests which need syslog will fail if they are managed by imjournal. They need to be sent directly to syslog socket (I had to change the rsyslog conf). Cheers Marco >> # https://github.com/cyrusimap/cyrus-imapd/issues/2087 >> ImapTest.append-binary >> ImapTest.fetch-binary-mime >> ImapTest.urlauth-binary >> >> # This one seems to fail randomly on fedora, but in my env always >> seems to be successful. >> ImapTest.urlauth2 > > 3.2.0 passes all the imaptest-20190504 tests for me, and I don't skip any. But I don't see urlauth2 or any of the -binary ones in the output, so maybe upstream imaptest has removed the bad tests. (The issue quoted was reported for imaptest-20170719) > > The rest of these look like about what I'd expect, no surprises. Whew! > > Cheers, > > ellie > ---- > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus > -------------- next part -------------- 1) Caldav.supports_event Boolean assertion failed at /usr/share/perl5/vendor_perl/Test/Unit/Exception.pm line 13. Test::Unit::Exception::throw_new(Test::Unit::Failure=HASH(0x559ed1b95e40), "-package", "Cassandane::Cyrus::Caldav", "-file", "Cassandane/Cyrus/Caldav.pm", "-line", 3755, "-object", ...) called at /usr/share/perl5/vendor_perl/Test/Unit/Assert.pm line 85 Test::Unit::Assert::do_assertion(Cassandane::Cyrus::Caldav=HASH(0x559ed19240f8), Test::Unit::Assertion::Boolean=REF(0x559ed1b98730), "Cassandane::Cyrus::Caldav", "Cassandane/Cyrus/Caldav.pm", 3755) called at /usr/share/perl5/vendor_perl/Test/Unit/Assert.pm line 19 Test::Unit::Assert::assert(Cassandane::Cyrus::Caldav=HASH(0x559ed19240f8), JSON::PP::Boolean=SCALAR(0x559ecf538dc0)) called at Cassandane/Cyrus/Caldav.pm line 3755 Cassandane::Cyrus::Caldav::test_supports_event(Cassandane::Cyrus::Caldav=HASH(0x559ed19240f8)) called at /usr/share/perl5/vendor_perl/Test/Unit/TestCase.pm line 75 [...framework calls elided...] Annotations: =====> Cyrus::TestCase::set_up[115] ---------- BEGIN test_supports_event ---------- =====> Instance::start[659] start main instance for test test_supports_event: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0648210101 2020/05/11-08:48:21 Cassandane::Net::SMTPServer (type Net::Server::PreForkSimple) starting! pid(31403) Resolved [localhost]:19100 to [::1]:19100, IPv6 Resolved [localhost]:19100 to [127.0.0.1]:19100, IPv4 Binding to TCP port 19100 on host ::1 with IPv6 Binding to TCP port 19100 on host 127.0.0.1 with IPv4 Group Not Defined. Defaulting to EGID '12 0' User Not Defined. Defaulting to EUID '76' =====> Instance::_start_smtpd[1119] started smtpd as 31403 =====> Instance::_find_binary[525] Found binary ctl_cyrusdb in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/sbin =====> Instance::_find_binary[525] Found binary imapd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_find_binary[525] Found binary httpd in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_start_notifyd[1151] started notifyd for /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0648210101 as 31412 =====> Instance::_start_master[1153] _start_master: logging to /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0648210101/conf/master.log =====> Instance::_find_binary[525] Found binary master in /root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd =====> Instance::_fork_command[1562] Running: "/root/rpmbuild/BUILDROOT/cyrus-imapd-3.2.0-1.el8.x86_64/usr/libexec/cyrus-imapd/master" "-C" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0648210101/conf/imapd.conf" "-l" "255" "-p" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0648210101/run/master.pid" "-d" "-M" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0648210101/conf/cyrus.conf" "-L" "/root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0648210101/conf/master.log" =====> Instance::_fork_command[1562] child pid=31415 =====> Instance::_fork_command[1562] setting core size limit to 104857600 =====> Instance::_start_master[1153] _start_master: waiting for PID file =====> Instance::_start_master[1153] _start_master: PID file present and correct =====> Instance::_start_master[1153] _start_master: PID waiting for services =====> GenericDaemon::_is_listening_af[375] is_listening: service imap is listening on 127.0.0.1:19101 =====> Util::Wait::timed_wait[909] Waited 0.240375 sec for 127.0.0.1:19101 to be in LISTEN state =====> GenericDaemon::_is_listening_af[375] is_listening: service http is listening on 127.0.0.1:19102 =====> Instance::_start_master[1153] _start_master: all services listening =====> Instance::create_user[1175] create user cassandane =====> Util::Socket::create_client_socket[94] create_client_socket INET host=127.0.0.1 port=19101 C: 1 capability S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN AUTH=LOGIN SASL-IR] imap.example.com.csi.it Cyrus IMAP 3.2.0-1.el8 server ready S: * CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE S: 1 OK Completed C: 2 login admin "testpw" S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION STATUS=SIZE OBJECTID SAVEDATE X-CREATEDMODSEQ PREVIEW=FUZZY URLAUTH URLAUTH=BINARY LOGINDISABLED UNAUTHENTICATE COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<0648210101-1589179702-31428-1-7048552210209094172> C: 3 create user.cassandane S: 3 OK [MAILBOXID (2853f2dd-a6a3-4b4f-8c6a-716f9e742a97)] Completed C: 4 setacl user.cassandane admin lrswipkxtecdan S: 4 OK Completed C: 5 setacl user.cassandane cassandane lrswipkxtecdn S: 5 OK Completed C: 6 setacl user.cassandane anyone p S: 6 OK Completed A: is_open test A: is_open test received timeout, still open C: 7 logout S: * BYE LOGOUT received S: 7 OK Completed A: Release socket, fileno=11 =====> Instance::start[659] started main instance for test test_supports_event: cyrus version 3.2.0-1.el8 =====> Cyrus::TestCase::set_up[115] (test_supports_event) Calling test function ******** REDIRECT 301 to http://127.0.0.1:19102/dav/calendars <<<<<<<< PROPFIND http://127.0.0.1:19102/.well-known/caldav HTTP/1.1 >>>>>>>> HTTP/1.1 207 Multi-Status /dav/calendars /dav/principals/user/cassandane/ HTTP/1.1 200 OK ======== <<<<<<<< PROPFIND http://127.0.0.1:19102/dav/principals/user/cassandane HTTP/1.1 >>>>>>>> HTTP/1.1 207 Multi-Status /dav/principals/user/cassandane /dav/calendars/user/cassandane/ HTTP/1.1 200 OK ======== <<<<<<<< PROPFIND http://127.0.0.1:19102/dav/principals/user/cassandane HTTP/1.1 >>>>>>>> HTTP/1.1 207 Multi-Status /dav/principals/user/cassandane cassandane mailto:cassandane at defdomain HTTP/1.1 200 OK ======== <<<<<<<< PROPPATCH http://127.0.0.1:19102/dav/calendars/user/cassandane HTTP/1.1 Test Usermailto:cassandane at example.com >>>>>>>> HTTP/1.1 207 Multi-Status /dav/calendars/user/cassandane/ HTTP/1.1 200 OK ======== <<<<<<<< MKCALENDAR http://127.0.0.1:19102/dav/calendars/user/cassandane/69558DB8-9353-11EA-A426-50B8BABA8993/ HTTP/1.1 foo >>>>>>>> HTTP/1.1 201 Created ======== <<<<<<<< PROPFIND http://127.0.0.1:19102/dav/calendars/user/cassandane HTTP/1.1 >>>>>>>> HTTP/1.1 207 Multi-Status /dav/calendars/user/cassandane/ /dav/principals/user/admin/ HTTP/1.1 200 OK HTTP/1.1 404 Not Found /dav/calendars/user/cassandane/69558DB8-9353-11EA-A426-50B8BABA8993/ data:,1589179705-3 /dav/principals/user/admin/ HTTP/1.1 200 OK HTTP/1.1 404 Not Found /dav/calendars/user/cassandane/Default/ data:,1589179704-5 /dav/principals/user/admin/ HTTP/1.1 200 OK HTTP/1.1 404 Not Found /dav/calendars/user/cassandane/Inbox/ data:,1589179705-3 /dav/principals/user/admin/ HTTP/1.1 200 OK HTTP/1.1 404 Not Found /dav/calendars/user/cassandane/Outbox/ data:,1589179705-2 /dav/principals/user/admin/ HTTP/1.1 200 OK HTTP/1.1 404 Not Found ======== =====> Cyrus::TestCase::tear_down[138] (test_supports_event) Beginning tear_down =====> Instance::stop[773] stop main instance for test test_supports_event: basedir /root/rpmbuild/BUILD/cyrus-imapd-3.2.0/cassandane/work/0648210101 =====> Instance::_stop_pid[1414] _stop_pid: sending signal TERM to 31416 =====> Util::Wait::timed_wait[1376] Waited 0.034996 sec for unknown condition =====> Instance::__ANON__[1420] killing smtpd 31403 2020/05/11-08:48:25 Server closing! =====> Instance::__ANON__[1420] killing notifyd 31412 =====> Instance::__ANON__[1459] killing smtpd 31403 =====> Cyrus::TestCase::tear_down[138] ---------- END test_supports_event ---------- =====> GenericDaemon::kill_processes_on_ports[808] checking for stray processes on ports: 19100 19101 19102 Test was not successful. From michael.menge at zdv.uni-tuebingen.de Mon May 11 04:45:41 2020 From: michael.menge at zdv.uni-tuebingen.de (Michael Menge) Date: Mon, 11 May 2020 10:45:41 +0200 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <4540d53a-9fa4-42bc-a0f8-871b81f0654c@www.fastmail.com> References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> <91ce8e53-0998-cd3d-9371-55c7c072fc38@ruparpiemonte.it> <4540d53a-9fa4-42bc-a0f8-871b81f0654c@www.fastmail.com> Message-ID: <20200511104541.Horde.QXZ9hGLHKM1aH_iHnIcYZCn@webmail.uni-tuebingen.de> Quoting ellie timoney : > Hi Marco, > >> But it really seems that the LD_PRELOAD or the syslog.so doesn't >> work for me. > > Thanks for including that detail. Hopefully someone familiar with > RedHat can chime in with some insight into the LD_PRELOAD issue! At > a guess, "preventing library injection from intercepting syslog > calls" might be a security default of some sort. > RedHat systems use SELinux by default and SELinux has the habit to block access to files, sockets, ... Especial if software from non-Redhat repos is used. SELinux logs to /var/log/audit/audit.log, but these logs are not easy to understand, therefor I often use audit2allow to see which SELinux permissions are missing. # cat /var/log/audit/audit.log | audit2allow You can change SELinux temporary to permissive mode so that the log will indicate all missing permissions and not only the first few. # setenforce 0 Michael Menge -------------------------------------------------------------------------------- M.Menge Tel.: (49) 7071/29-70316 Universit?t T?bingen Fax.: (49) 7071/29-5912 Zentrum f?r Datenverarbeitung mail: michael.menge at zdv.uni-tuebingen.de W?chterstra?e 76 72074 T?bingen From falon at ruparpiemonte.it Mon May 11 08:37:05 2020 From: falon at ruparpiemonte.it (Marco) Date: Mon, 11 May 2020 14:37:05 +0200 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <20200511104541.Horde.QXZ9hGLHKM1aH_iHnIcYZCn@webmail.uni-tuebingen.de> References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> <91ce8e53-0998-cd3d-9371-55c7c072fc38@ruparpiemonte.it> <4540d53a-9fa4-42bc-a0f8-871b81f0654c@www.fastmail.com> <20200511104541.Horde.QXZ9hGLHKM1aH_iHnIcYZCn@webmail.uni-tuebingen.de> Message-ID: <083691e5-5413-dfd1-6f97-10a922a49384@ruparpiemonte.it> Hello Michael, On 11/05/2020 10:45, Michael Menge has written: > RedHat systems use SELinux by default and SELinux has the habit to > block access to files, sockets, ... Especial if software from > non-Redhat repos is used. thank you for the hint, I think that this is not my issue. I disabled SELINUX prior to run Cassandane. # sestatus SELinux status: disabled # getenforce Disabled Cheers Marco From jan at jvales.net Mon May 11 16:48:38 2020 From: jan at jvales.net (Jan Vales) Date: Mon, 11 May 2020 22:48:38 +0200 Subject: Is it safe to wipe: /var/lib/cyrus/lock/ Message-ID: <9b5215a7-89a0-6d8d-9c2c-e9c5e0b92930@jvales.net> Hello, I just stumbled into this directory: /var/lib/cyrus/lock/ It seems to contain many dead things, like .lock-files that - based on their names - must be older than 2+ years, including .../user/$NAME where $NAME does not have a mailbox/account anymore. Is it safe to shut down cyrus and do a find /var/lib/cyrus/lock/ -mindepth 2 -delete Its currently cyrus 3.0.13 on debian 10. br, Jan From michael.menge at zdv.uni-tuebingen.de Mon May 11 18:01:30 2020 From: michael.menge at zdv.uni-tuebingen.de (Michael Menge) Date: Tue, 12 May 2020 00:01:30 +0200 Subject: Is it safe to wipe: /var/lib/cyrus/lock/ In-Reply-To: <9b5215a7-89a0-6d8d-9c2c-e9c5e0b92930@jvales.net> Message-ID: <20200512000130.Horde.UjIgBCHFv1_8HkeGzU5sWs0@webmail.uni-tuebingen.de> Hi, Quoting Jan Vales : > Hello, > > I just stumbled into this directory: /var/lib/cyrus/lock/ > > It seems to contain many dead things, like .lock-files that - based on > their names - must be older than 2+ years, including .../user/$NAME > where $NAME does not have a mailbox/account anymore. > > Is it safe to shut down cyrus and do a > find /var/lib/cyrus/lock/ -mindepth 2 -delete > > Its currently cyrus 3.0.13 on debian 10. > /var/lib/cyrus/lock/ and /var/lib/cyrus/proc should be empty after shutting down cyrus You can also use tempfs for these directories, - it is faster - reboot will clean up the left over files in case the shut down was not clean - these directories only contain small files -------------------------------------------------------------------------------- M.Menge Tel.: (49) 7071/29-70316 Universit?t T?bingen Fax.: (49) 7071/29-5912 Zentrum f?r Datenverarbeitung mail: michael.menge at zdv.uni-tuebingen.de W?chterstra?e 76 72074 T?bingen From ellie at fastmail.com Thu May 14 20:03:51 2020 From: ellie at fastmail.com (ellie timoney) Date: Fri, 15 May 2020 10:03:51 +1000 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <083691e5-5413-dfd1-6f97-10a922a49384@ruparpiemonte.it> References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> <91ce8e53-0998-cd3d-9371-55c7c072fc38@ruparpiemonte.it> <4540d53a-9fa4-42bc-a0f8-871b81f0654c@www.fastmail.com> <20200511104541.Horde.QXZ9hGLHKM1aH_iHnIcYZCn@webmail.uni-tuebingen.de> <083691e5-5413-dfd1-6f97-10a922a49384@ruparpiemonte.it> Message-ID: <81b9ae31-2af6-4ac7-91ef-4c415359bcf6@www.fastmail.com> The discussion on github about the lmtpd crash on RHEL7 makes me wonder if FORTIFY_SOURCE, or something adjacent to it, is the cause of your Cassandane LD_PRELOAD problem as well? I don't know much about it -- it's not default on my system, and even though github reminds me that I've looked at it before, I also haven't made it my own default. Whether that was for some good reason, or just that I didn't get around to it, I no longer recall! On Mon, May 11, 2020, at 10:37 PM, Marco wrote: > Hello Michael, > > On 11/05/2020 10:45, Michael Menge has written: > > RedHat systems use SELinux by default and SELinux has the habit to > > block access to files, sockets, ... Especial if software from > > non-Redhat repos is used. > > thank you for the hint, I think that this is not my issue. > > I disabled SELINUX prior to run Cassandane. > > # sestatus > SELinux status: disabled > # getenforce > Disabled > > Cheers > Marco > > > > > ---- > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus > From falon at ruparpiemonte.it Mon May 18 02:17:01 2020 From: falon at ruparpiemonte.it (Marco) Date: Mon, 18 May 2020 08:17:01 +0200 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <81b9ae31-2af6-4ac7-91ef-4c415359bcf6@www.fastmail.com> References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> <91ce8e53-0998-cd3d-9371-55c7c072fc38@ruparpiemonte.it> <4540d53a-9fa4-42bc-a0f8-871b81f0654c@www.fastmail.com> <20200511104541.Horde.QXZ9hGLHKM1aH_iHnIcYZCn@webmail.uni-tuebingen.de> <083691e5-5413-dfd1-6f97-10a922a49384@ruparpiemonte.it> <81b9ae31-2af6-4ac7-91ef-4c415359bcf6@www.fastmail.com> Message-ID: <329c89ae-9051-3673-b516-9bf863fed89c@ruparpiemonte.it> Il 15/05/2020 02:03, ellie timoney ha scritto: > The discussion on github about the lmtpd crash on RHEL7 makes me wonder if FORTIFY_SOURCE, or something adjacent to it, is the cause of your Cassandane LD_PRELOAD problem as well? Ouch... I will try Thank you for the hint Marco From ellie at fastmail.com Mon May 18 03:34:27 2020 From: ellie at fastmail.com (ellie timoney) Date: Mon, 18 May 2020 17:34:27 +1000 Subject: Cyrus IMAP 3.2.0 released In-Reply-To: <329c89ae-9051-3673-b516-9bf863fed89c@ruparpiemonte.it> References: <2259a6d3-564c-4b49-976c-9ed434836b85@www.fastmail.com> <746256b4-4bac-b1a2-f87d-37c91fec1315@ruparpiemonte.it> <87sggd2bcg.fsf@math.uh.edu> <91ce8e53-0998-cd3d-9371-55c7c072fc38@ruparpiemonte.it> <4540d53a-9fa4-42bc-a0f8-871b81f0654c@www.fastmail.com> <20200511104541.Horde.QXZ9hGLHKM1aH_iHnIcYZCn@webmail.uni-tuebingen.de> <083691e5-5413-dfd1-6f97-10a922a49384@ruparpiemonte.it> <81b9ae31-2af6-4ac7-91ef-4c415359bcf6@www.fastmail.com> <329c89ae-9051-3673-b516-9bf863fed89c@ruparpiemonte.it> Message-ID: <34d69c6b-00da-4a99-8ab6-3eaec941558a@www.fastmail.com> On Mon, May 18, 2020, at 4:17 PM, Marco wrote: > Ouch... I will try > > Thank you for the hint > Marco I think I might have figured out a way to work around (not fix) the problem (by detecting when the LD_PRELOAD hasn't worked, and ignoring the syslog bits), and written it down here so I don't forget: https://github.com/cyrusimap/cassandane/issues/85 I still have no ideas or other insight into ~why~ this is happening, and it would be good to know, but maybe we can get you moving forward even if we don't know. Cheers, ellie From falon at ruparpiemonte.it Tue May 19 03:20:28 2020 From: falon at ruparpiemonte.it (Marco) Date: Tue, 19 May 2020 09:20:28 +0200 Subject: Remove ANNOTATE-EXPERIMENT-1 Message-ID: Hello, is there a way to remove by default the "n" ACL from newly created mailboxes? When I "GETACL" I would like to see "lrswipkxtecda" only. I tried with suppress_capabilities: ANNOTATE-EXPERIMENT-1 but it's not sufficient. I would like to remove the "n" ACL because some of our softwares used to Cyrus 2.4 now claim about an unknown ACL. Thank you very much Kind Regards -- Marco From murch at fastmail.com Tue May 19 07:44:31 2020 From: murch at fastmail.com (Ken Murchison) Date: Tue, 19 May 2020 07:44:31 -0400 Subject: Remove ANNOTATE-EXPERIMENT-1 In-Reply-To: References: Message-ID: You should be able to set implicit_owner_rights: lkxa Keep in mind that rights are inherited from their parents, so you will have to change existing mailboxes using SETACL, or by shutting down Cyrus, dumping mailboxes.db to a test file, editing the entries and then undumping the database.? If you've never done the latter, I WOULD NOT recommend doing it without first making a backup copy of mailboxes.db. On 5/19/20 3:20 AM, Marco wrote: > Hello, > > ?is there a way to remove by default the "n" ACL from newly created > mailboxes? > > When I "GETACL" I would like to see "lrswipkxtecda" only. > > I tried with > > ????suppress_capabilities: ANNOTATE-EXPERIMENT-1 > > but it's not sufficient. > > > I would like to remove the "n" ACL because some of our softwares used > to Cyrus 2.4 now claim about an unknown ACL. > > Thank you very much > Kind Regards > > -- > ????Marco > ---- > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus -- Kenneth Murchison Senior Software Developer Fastmail US LLC From falon at ruparpiemonte.it Wed May 20 03:18:46 2020 From: falon at ruparpiemonte.it (Marco) Date: Wed, 20 May 2020 09:18:46 +0200 Subject: Remove ANNOTATE-EXPERIMENT-1 In-Reply-To: References: Message-ID: Il 19/05/2020 13:44, Ken Murchison ha scritto: > You should be able to set > > implicit_owner_rights: lkxa I tried. It doesn't change the behavior. I'm not sure why. Maybe because the manual says "When a mailbox is created, its ACL starts off with a copy of the ACL of its closest parent mailbox. When a user is created, the ACL on the user?s INBOX starts off with a single entry granting *all rights* to the user." So a newly created root INBOX mailbox always grants all rights to the user, I suppose. It seems there is no way to configure the default initial ACL for a new INBOX mailbox. Kind Regards Marco From mi+cyrus at aldan.algebra.com Sun May 24 17:05:06 2020 From: mi+cyrus at aldan.algebra.com (Mikhail T.) Date: Sun, 24 May 2020 17:05:06 -0400 Subject: Help undeleting a user's INBOX Message-ID: <99052cfd-64d4-ea70-acd7-0b6ef42e0813@aldan.algebra.com> The thunderbird view of a user's mailbox tree had a mysterious nameless subfolder. Because the subfolder was showing empty, I instructed the user to just delete it through the mail program, which he did. Now his INBOX itself is empty and the server logs has the following entries: May 24 14:44:44 narawntapu imap[19976]: Expunged 16808 messages from user.foo May 24 14:45:04 narawntapu imap[21788]: Deleted mailbox user.foo. All the messages -- including the new spam -- are still right here on the filesystem, in /var/spool/imap/user/foo. However, reconstruct does not seem to do anything -- it exits without an obvious error, but the INBOX remains empty. For example, after running "reconstruct -G user/foo", I got the following: May 24 16:34:57 narawntapu reconstruct[25444]: reconstructing user.foo May 24 16:36:12 narawntapu reconstruct[25444]: user.foo uid 55067 record mismatch, rewriting May 24 16:36:12 narawntapu reconstruct[25444]: user.foo uid 55069 record mismatch, rewriting May 24 16:36:55 narawntapu reconstruct[25444]: mailbox: longlock user.foo for 117.4 seconds Unfortunately, thunderbird is still not showing anything. Other folders exist, but not the INBOX itself... I have the backup of the entire /var/spool/imap from last night, but it does not seem, like I need to recover the messages -- they are still here on the filesystem -- it is something else, is not it? The server runs FreeBSD-11.3, and cyrus-imapd-2.5.15... Thank you. Yours, -mi -------------- next part -------------- An HTML attachment was scrubbed... URL: From boutilpj at ednet.ns.ca Sun May 24 19:08:09 2020 From: boutilpj at ednet.ns.ca (Patrick Boutilier) Date: Sun, 24 May 2020 20:08:09 -0300 Subject: Help undeleting a user's INBOX In-Reply-To: <99052cfd-64d4-ea70-acd7-0b6ef42e0813@aldan.algebra.com> References: <99052cfd-64d4-ea70-acd7-0b6ef42e0813@aldan.algebra.com> Message-ID: On 5/24/20 6:05 PM, Mikhail T. wrote: > The thunderbird view of a user's mailbox tree had a mysterious nameless > subfolder. Because the subfolder was showing empty, I instructed the > user to just delete it through the mail program, which he did. > > Now his INBOX itself is empty and the server logs has the following entries: > > May 24 14:44:44 narawntapu imap[19976]: Expunged 16808 messages from > user.foo > May 24 14:45:04 narawntapu imap[21788]: Deleted mailbox user.foo. > > All the messages -- including the new spam -- are still right here on > the filesystem, in /var/spool/imap/user/foo. However, reconstruct does > not seem to do anything -- it exits without an obvious error, but the > INBOX remains empty. For example, after running "reconstruct -G > user/foo", I got the following: > > May 24 16:34:57 narawntapu reconstruct[25444]: reconstructing user.foo > May 24 16:36:12 narawntapu reconstruct[25444]: user.foo uid 55067 > record mismatch, rewriting > May 24 16:36:12 narawntapu reconstruct[25444]: user.foo uid 55069 > record mismatch, rewriting > May 24 16:36:55 narawntapu reconstruct[25444]: mailbox: longlock > user.foo for 117.4 seconds > > Unfortunately, thunderbird is still not showing anything. Other folders > exist, but not the INBOX itself... > > I have the backup of the entire /var/spool/imap from last night, but it > does not seem, like I need to recover the messages -- they are still > here on the filesystem -- it is something else, is not it? > > The server runs FreeBSD-11.3, and cyrus-imapd-2.5.15... Thank you. Yours, Do you have a expunge_mode setting in your imapd.conf ? If not, expunge_mode will be set to the default "delayed" . You should be able to use unexpunge to list the emails that can be restored. https://www.cyrusimap.org/2.5/imap/admin/systemcommands/unexpunge.html#imap-admin-systemcommands-unexpunge > > -mi > > > > > > ---- > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus > -------------- next part -------------- A non-text attachment was scrubbed... Name: boutilpj.vcf Type: text/x-vcard Size: 286 bytes Desc: not available URL: From brian at interlinx.bc.ca Tue May 26 09:33:04 2020 From: brian at interlinx.bc.ca (Brian J. Murrell) Date: Tue, 26 May 2020 09:33:04 -0400 Subject: imap clients say i have 4K messages but spool has 12894 files Message-ID: <7077b241561e36be6f3aa7696ca5d11b0494ef45.camel@interlinx.bc.ca> Hi. Every IMAP client I query my cyrus imapd 2.4.17 server with says I have ~4K messages in my INBOX. However when I do a listing of /var/spool/imap/b/user/brian/ it shows almost 13K files. None of these include messages which have been deleted but not expunged. I manually expunge my mailbox many times per day. If I'm understanding mbexamine's output correctly, I have files on disk that are not being displayed by mbexmine. My understanding of mbexamine's output is that on a line formatted as such: 000001> UID:00089183 INT_DATE:[redacted] SENTDATE:[redacted] SIZE:1537 that the 00089183 is the reference to the file on the spool in /var/spool/imap/b/user/brian/89183. Is that correct? If so, I definitely have files on the disk which are not found in any "000001> UID" line from mbexamine. ~9600 of them. That seems to make up the difference between what an IMAP client sees and how many files are on disk. I also have multiple occurrences of the same "000001> UID:" and where there are no matching files on the disk. Should that be possible? So how come the huge discrepancies and how do I reconcile them? Cheers, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: This is a digitally signed message part URL: From nic at nicbernstein.com Tue May 26 09:47:14 2020 From: nic at nicbernstein.com (Nic Bernstein) Date: Tue, 26 May 2020 08:47:14 -0500 Subject: imap clients say i have 4K messages but spool has 12894 files In-Reply-To: <7077b241561e36be6f3aa7696ca5d11b0494ef45.camel@interlinx.bc.ca> References: <7077b241561e36be6f3aa7696ca5d11b0494ef45.camel@interlinx.bc.ca> Message-ID: <1cc1d940-5db3-88d7-6959-bb3fd0cd2230@nicbernstein.com> On 5/26/20 8:33 AM, Brian J. Murrell wrote: > Hi. > > Every IMAP client I query my cyrus imapd 2.4.17 server with says I have > ~4K messages in my INBOX. However when I do a listing of > /var/spool/imap/b/user/brian/ it shows almost 13K files. > > None of these include messages which have been deleted but not > expunged. I manually expunge my mailbox many times per day. > > If I'm understanding mbexamine's output correctly, I have files on disk > that are not being displayed by mbexmine. My understanding of > mbexamine's output is that on a line formatted as such: > > 000001> UID:00089183 INT_DATE:[redacted] SENTDATE:[redacted] SIZE:1537 > > that the 00089183 is the reference to the file on the spool in > /var/spool/imap/b/user/brian/89183. > > Is that correct? If so, I definitely have files on the disk which are > not found in any "000001> UID" line from mbexamine. ~9600 of them. > That seems to make up the difference between what an IMAP client sees > and how many files are on disk. > > I also have multiple occurrences of the same "000001> UID:" and where > there are no matching files on the disk. Should that be possible? > > So how come the huge discrepancies and how do I reconcile them? > > Cheers, > b. Brian, In a nutshell, RTFM.? Or, read this mailing list, since the answer to this is literally exactly the same as to the very last question in this list.? It's all about the setting of 'expunge_mode' in imapd.conf: |expunge_mode:| delayed The mode in which messages (and their corresponding cache entries) are expunged. ?semidelayed? mode is the old behavior in which the message files are purged at the time of the EXPUNGE, but index and cache records are retained to facilitate QRESYNC. In ?delayed? mode, which is the default since Cyrus 2.5.0, the message files are also retained, allowing unexpunge to rescue them. In ?immediate? mode, both the message files and the index records are removed as soon as possible. In all cases, nothing will be finally purged until all other processes have closed the mailbox to ensure they never see data disappear under them. In ?semidelayed? or ?delayed? mode, a later run of ?cyr_expire? will clean out the retained records (and possibly message files). This reduces the amount of I/O that takes place at the time of EXPUNGE and should result in greater responsiveness for the client, especially when expunging a large number of messages. Allowed values: /immediate/, /semidelayed/, /delayed/ As shown in this excerpt from the manpage , the default is now "delayed," since v2.5.0.? Those files on disk are expunged messages which have not yet been deleted.? They may be recovered via the 'unexpunge' command, as described on its manpage, here .? To see a list of such messages, try 'sudo -u cyrus -c "unexpunge -l user/username at domain.tld' Cheers, ??? -nic -- Nic Bernstein nic at nicbernstein.com https://www.nicbernstein.com https://www.linkedin.com/in/nic-b-26577a178/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at interlinx.bc.ca Tue May 26 10:00:29 2020 From: brian at interlinx.bc.ca (Brian J. Murrell) Date: Tue, 26 May 2020 10:00:29 -0400 Subject: imap clients say i have 4K messages but spool has 12894 files In-Reply-To: <1cc1d940-5db3-88d7-6959-bb3fd0cd2230@nicbernstein.com> References: <7077b241561e36be6f3aa7696ca5d11b0494ef45.camel@interlinx.bc.ca> <1cc1d940-5db3-88d7-6959-bb3fd0cd2230@nicbernstein.com> Message-ID: <95b40ded2793e5acf1596d7eb84c03691ce0d0d6.camel@interlinx.bc.ca> On Tue, 2020-05-26 at 08:47 -0500, Nic Bernstein wrote: > > |expunge_mode:| delayed > > The mode in which messages (and their corresponding cache > entries) are expunged. ?semidelayed? mode is the old behavior > in > which the message files are purged at the time of the > EXPUNGE, > but index and cache records are retained to facilitate > QRESYNC. > In ?delayed? mode, which is the default since Cyrus 2.5.0, So this doesn't apply to my 2.4.17 then does it? > As shown in this excerpt from the manpage > < > http://www.cyrusimap.org/imap/reference/manpages/configs/imapd.conf.html> > ;, > the default is now "delayed," since v2.5.0. Again, I am running 2.4.17, so does this apply? > Those files on disk are > expunged messages which have not yet been deleted. They may be > recovered via the 'unexpunge' command, as described on its manpage, > here > < > http://www.cyrusimap.org/imap/reference/manpages/systemcommands/unexpunge.html?highlight=unexpunge> > ;. > To see a list of such messages, try 'sudo -u cyrus -c "unexpunge -l > user/username at domain.tld' # sudo -u cyrus bash -c "/usr/lib/cyrus-imapd/unexpunge -l user.brian" [nothing returned] b. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: This is a digitally signed message part URL: From simon.matter at invoca.ch Tue May 26 10:21:41 2020 From: simon.matter at invoca.ch (Simon Matter) Date: Tue, 26 May 2020 16:21:41 +0200 Subject: imap clients say i have 4K messages but spool has 12894 files In-Reply-To: <95b40ded2793e5acf1596d7eb84c03691ce0d0d6.camel@interlinx.bc.ca> References: <7077b241561e36be6f3aa7696ca5d11b0494ef45.camel@interlinx.bc.ca> <1cc1d940-5db3-88d7-6959-bb3fd0cd2230@nicbernstein.com> <95b40ded2793e5acf1596d7eb84c03691ce0d0d6.camel@interlinx.bc.ca> Message-ID: <47df1a53f15af01a04e3ff4f0b82cf9d.squirrel@webmail.bi.corp.invoca.ch> > On Tue, 2020-05-26 at 08:47 -0500, Nic Bernstein wrote: >> >> |expunge_mode:| delayed >> >> The mode in which messages (and their corresponding cache >> entries) are expunged. ?semidelayed? mode is the old behavior >> in >> which the message files are purged at the time of the >> EXPUNGE, >> but index and cache records are retained to facilitate >> QRESYNC. >> In ?delayed? mode, which is the default since Cyrus 2.5.0, > > So this doesn't apply to my 2.4.17 then does it? How did you install your 2.4.17 server? Because you don't run the latest of the 2.4 series I guess you have installed it from packages? If so it's possible that you distribution uses different configuration than the default, at build time. You should check this. Regards, Simon From brian at interlinx.bc.ca Tue May 26 11:04:59 2020 From: brian at interlinx.bc.ca (Brian J. Murrell) Date: Tue, 26 May 2020 11:04:59 -0400 Subject: imap clients say i have 4K messages but spool has 12894 files In-Reply-To: <47df1a53f15af01a04e3ff4f0b82cf9d.squirrel@webmail.bi.corp.invoca.ch> References: <7077b241561e36be6f3aa7696ca5d11b0494ef45.camel@interlinx.bc.ca> <1cc1d940-5db3-88d7-6959-bb3fd0cd2230@nicbernstein.com> <95b40ded2793e5acf1596d7eb84c03691ce0d0d6.camel@interlinx.bc.ca> <47df1a53f15af01a04e3ff4f0b82cf9d.squirrel@webmail.bi.corp.invoca.ch> Message-ID: <01db46cdab6e1dcef64803aa76cd48f598afb009.camel@interlinx.bc.ca> On Tue, 2020-05-26 at 16:21 +0200, Simon Matter wrote: > > How did you install your 2.4.17 server? From packages supplied by the CentOS 7.x distribution. > If so it's possible that you distribution uses different > configuration > than the default, at build time. You should check this. But doesn't the lack of output from "unexpunge -l" (as demonstrated in my last message) confirm that this is not a delayed expunge problem and make the setting of expunge_mode irrelevant? Cheers, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: This is a digitally signed message part URL: From nic at nicbernstein.com Tue May 26 11:21:57 2020 From: nic at nicbernstein.com (Nic Bernstein) Date: Tue, 26 May 2020 10:21:57 -0500 Subject: imap clients say i have 4K messages but spool has 12894 files In-Reply-To: <95b40ded2793e5acf1596d7eb84c03691ce0d0d6.camel@interlinx.bc.ca> References: <7077b241561e36be6f3aa7696ca5d11b0494ef45.camel@interlinx.bc.ca> <1cc1d940-5db3-88d7-6959-bb3fd0cd2230@nicbernstein.com> <95b40ded2793e5acf1596d7eb84c03691ce0d0d6.camel@interlinx.bc.ca> Message-ID: <0144bf37-3934-a58a-d6b1-06422ce52881@nicbernstein.com> On 5/26/20 9:00 AM, Brian J. Murrell wrote: > On Tue, 2020-05-26 at 08:47 -0500, Nic Bernstein wrote: >> |expunge_mode:| delayed >> >> The mode in which messages (and their corresponding cache >> entries) are expunged. ?semidelayed? mode is the old behavior >> in >> which the message files are purged at the time of the >> EXPUNGE, >> but index and cache records are retained to facilitate >> QRESYNC. >> In ?delayed? mode, which is the default since Cyrus 2.5.0, > So this doesn't apply to my 2.4.17 then does it? Brian, My sincere apologies!? I should have read your original post more completely.? My bad. ??? -nic > >> As shown in this excerpt from the manpage >> < >> http://www.cyrusimap.org/imap/reference/manpages/configs/imapd.conf.html> >> ;, >> the default is now "delayed," since v2.5.0. > Again, I am running 2.4.17, so does this apply? > >> Those files on disk are >> expunged messages which have not yet been deleted. They may be >> recovered via the 'unexpunge' command, as described on its manpage, >> here >> < >> http://www.cyrusimap.org/imap/reference/manpages/systemcommands/unexpunge.html?highlight=unexpunge> >> ;. >> To see a list of such messages, try 'sudo -u cyrus -c "unexpunge -l >> user/username at domain.tld' > # sudo -u cyrus bash -c "/usr/lib/cyrus-imapd/unexpunge -l user.brian" > [nothing returned] > > b. -- Nic Bernstein nic at nicbernstein.com https://www.nicbernstein.com https://www.linkedin.com/in/nic-b-26577a178/ From tecnologia at unnoba.edu.ar Wed May 27 09:48:11 2020 From: tecnologia at unnoba.edu.ar (Infraestructura TIC - UNNOBA) Date: Wed, 27 May 2020 10:48:11 -0300 Subject: Cyrus LMTP Delivery Error Message-ID: <1f9e34a9-0ef2-0c1e-186b-a13d2b45fb31@unnoba.edu.ar> Hello! After last upgrade of Cyrus (3.2.0-5 on Debian Bullseye), I started to see errors in Exim4 mainlog: 2020-05-27 00:34:27 1jdmpm-000vHV-4S == tecno at charne.net R=cyrus_user T=cyrus_delivery defer (-1): *LMTP connection closed after end of data* Mail is delivered, but still remains in queue. And, in cyrus log: cyrus/master[164861]: process type:SERVICE name:lmtpunix path:/usr/lib/cyrus/bin/lmtpd age:11025.520s pid:217212 *signaled to death by signal 6 (Aborted)** * And, in Cyrus status there's a error when try to access sieve, because path are duplicated: cyrus/lmtpunix[3132]: IOERROR: *unable to open /var/spool/sieve/t/tecno//var/spool/sieve/t/tecno/ingo.script *for reading: No such file or directory Can anyone help me, please? ii? cyrus-admin 3.2.0-5??????????????????????? amd64??????? Cyrus mail system - administration tools ii? cyrus-clients 3.2.0-5??????????????????????? amd64??????? Cyrus mail system - test clients ii? cyrus-common 3.2.0-5??????????????????????? amd64??????? Cyrus mail system - common files ii? cyrus-doc 3.2.0-5??????????????????????? all????????? Cyrus mail system - documentation files ii? cyrus-imapd 3.2.0-5??????????????????????? amd64??????? Cyrus mail system - IMAP support ii? cyrus-murder 3.2.0-5??????????????????????? amd64??????? Cyrus mail system - proxies and aggregator ii? cyrus-pop3d 3.2.0-5??????????????????????? amd64??????? Cyrus mail system - POP3 support ii? cyrus-replication 3.2.0-5??????????????????????? amd64??????? Cyrus mail system - replication ii? libcyrus-imap-perl:amd64 3.2.0-5??????????????????????? amd64??????? Interface to Cyrus imap client imclient library Thanks in advance! Javier.- -------------- next part -------------- An HTML attachment was scrubbed... URL: From info-cyrus at jelmail.com Wed May 27 10:48:08 2020 From: info-cyrus at jelmail.com (David Moyes) Date: Wed, 27 May 2020 15:48:08 +0100 Subject: Renaming mailboxes Message-ID: <67733b36-b987-27ad-e499-3f3a4b0088d3@lane.uk.net> I want to rename a mailbox (and all of its descendants), however I am struggling with what, on the surface, would appear to be a simple task. I first tried to use cyradm rename command to rename user.foo to user.foo at example.com, like this: localhost> rename user.foo user.foo at example.com However the rename command does not appear to be recursive, and I could not find any argument to tell it to recurse. Do I have this right or am I doing something wrong? I decided to try it in a Perl script using Cyrus::IMAP::Admin. By doing a `list` I could get the mailbox and its descendants like this: @mailboxes = $client->list("user/$oldname"); @mailboxes_sub = $client->list("user/$oldname/*"); push (@mailboxes , @mailboxes_sub); (I found that listing "user/$oldname*" got me user.foo but also user.foobar so I had to combine two calls to prevent that.) Then I could iterate over the mailboxes doing $client->rename( $oldmailbox, $mailbox ); However, nothing works after the first rename; the program just exits, not even "or die" error messages are displayed. In case it means anything, the exit status is 141 which I think indicates a SIGPIPE (as confirmed using `kill -l "$?"` which returns `PIPE`). I did also notice a similar thing in cyradm, that after doing a rename that subsequent action caused cyradm to exit: localhost> rename user/testuser/Trash user/test at example.net/Trash renamemailbox: localhost> lm # this curiously returns nothing! localhost> echo $? 0 localhost> lm [cyrus at fee7fffd9be7 ~]$ echo $? 141 Any help would be greatly appreciated. I am currently using cyrus-imapd 3.0.13-3 on Arch Linux. From d.faller at live.de Thu May 28 09:58:56 2020 From: d.faller at live.de (David Faller) Date: Thu, 28 May 2020 13:58:56 +0000 Subject: Cyrus LMTP Delivery Error Message-ID: Dear all, we?re running into the same issue after upgrade cyrus to 3.2.0-5~bpo10+1 We had try to downgrade cyrus but after this we got kernel issues which prevent thunderbird connections. May 28 15:43:26 CGSG cyrus/master[2136]: process type:SERVICE name:lmtpchroot path:/usr/lib/cyrus/bin/lmtpd age:0.057s pid:2694 signaled to death by signal 6 (Aborted) May 28 15:43:26 CGSG postfix/lmtp[2693]: 446EEDE17EF: to=, relay=groupware.uc-central.net[/local/socket/lmtp], delay=4.2, delays=4.1/0.01/0.02/0.04, dsn=4.4.2, status=deferred (lost connection with groupware.uc-central.net[/local/socket/lmtp] while sending end of data -- message may be sent more than once) Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From tecnologia at unnoba.edu.ar Thu May 28 10:49:41 2020 From: tecnologia at unnoba.edu.ar (Infraestructura TIC - UNNOBA) Date: Thu, 28 May 2020 11:49:41 -0300 Subject: Cyrus LMTP Delivery Error In-Reply-To: References: Message-ID: <350002a4-39f0-b4bb-03bb-f6fd1ea470e0@unnoba.edu.ar> Finally, I downloaded source from https://github.com/cyrusimap/cyrus-imapd/releases/download/cyrus-imapd-3.2.0/cyrus-imapd-3.2.0.tar.gz untar into /usr/src installed dependencies? (pkg-config, libsasl2-dev, libicu-dev, libjansson-dev, libssl-dev, bison, flex...) edit /usr/src/cyrus-imapd-3.2.0/imap/lmtpd and change the first line for ec LMTP_OK, ?? "250 2.1.5 Ok SESSIONID=<*%s*>" ./configure ./make and mv /usr/lib/cyrus/bin/lmtpd /usr/lib/cyrus/bin/lmtpd.old ln -s /usr/src/cyrus-imapd-3.2.0/imap/lmtpd /usr/lib/cyrus/bin/lmtpd And now, it's working until upgraded Debian package 3.2.1 is delivered. Thanks! El 28/5/20 a las 10:58, David Faller escribi?: > > Dear all, we?re running into the same issue after upgrade cyrus to > 3.2.0-5~bpo10+1 > > We had try to downgrade cyrus but after this we got kernel issues > which prevent thunderbird connections. > > May 28 15:43:26 CGSG cyrus/master[2136]: process type:SERVICE > name:lmtpchroot path:/usr/lib/cyrus/bin/lmtpd age:0.057s pid:2694 > signaled to death by signal 6 (Aborted) > > May 28 15:43:26 CGSG postfix/lmtp[2693]: 446EEDE17EF: > to=, > relay=groupware.uc-central.net[/local/socket/lmtp], delay=4.2, > delays=4.1/0.01/0.02/0.04, dsn=4.4.2, status=deferred (lost connection > with groupware.uc-central.net[/local/socket/lmtp] while sending end of > data -- message may be sent more than once) > > Best Regards > > > ---- > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.faller at live.de Thu May 28 12:20:00 2020 From: d.faller at live.de (David Faller) Date: Thu, 28 May 2020 16:20:00 +0000 Subject: Cyrus LMTP Delivery Error Message-ID: Thanks for your solution, could you provide detailed which line did you change? under imap/lmptd.c or lmtpd.h which line did you adjust? Best Regards, David Faller -------------- next part -------------- An HTML attachment was scrubbed... URL: From tecnologia at unnoba.edu.ar Thu May 28 13:12:42 2020 From: tecnologia at unnoba.edu.ar (Infraestructura TIC - UNNOBA) Date: Thu, 28 May 2020 14:12:42 -0300 Subject: Cyrus LMTP Delivery Error In-Reply-To: References: Message-ID: Hello, David. The code is in imap/lmtp_err..et, according to this bug report: https://github.com/cyrusimap/cyrus-imapd/issues/3035 Good luck! Javier.- El 28/5/20 a las 13:20, David Faller escribi?: > > Thanks for your solution, could you provide detailed which line did > you change? > > under imap/lmptd.c or lmtpd.h which line did you adjust? > > ? > > Best Regards, > > David Faller > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.faller at live.de Thu May 28 14:59:55 2020 From: d.faller at live.de (David Faller) Date: Thu, 28 May 2020 18:59:55 +0000 Subject: Cyrus LMTP Delivery Error Message-ID: Thanks for your answer, but with self build lmtpd I got this error by trying to receive mails: May 28 19:28:23 CGSG postfix/lmtp[1514]: AAC857E0037: to=>, relay=groupware.uc-central.net[/local/socket/lmtp], delay=3.2, delays=3.1/0.01/0.05/0, dsn=4.4.2, status=deferred (lost connection with groupware.uc-central.net[/local/socket/lmtp] while receiving the initial server greeting) ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ellie at fastmail.com Fri May 29 00:20:55 2020 From: ellie at fastmail.com (ellie timoney) Date: Fri, 29 May 2020 14:20:55 +1000 Subject: Cyrus IMAP 3.2.1 released Message-ID: <1c317fea-46b4-4487-a975-81b4be5287d8@www.fastmail.com> The Cyrus team is proud to announce the immediate availability of a new version of Cyrus IMAP: 3.2.1 Download URLs: https://github.com/cyrusimap/cyrus-imapd/releases/download/cyrus-imapd-3.2.1/cyrus-imapd-3.2.1.tar.gz https://github.com/cyrusimap/cyrus-imapd/releases/download/cyrus-imapd-3.2.1/cyrus-imapd-3.2.1.tar.gz.sig Please consult the release notes and upgrade documentation before upgrading to 3.2.1: https://www.cyrusimap.org/imap/download/release-notes/3.2/x/3.2.1.html https://www.cyrusimap.org/imap/download/upgrade.html And join us on Github at https://github.com/cyrusimap/cyrus-imapd to report issues, join in the deliberations of new features for the next Cyrus IMAP release, and to contribute to the documentation. On behalf of the Cyrus team, Kind regards, ellie timoney