Solved! 3.0.2 on XStreamOS!

Gabriele Bulfon gbulfon at sonicle.com
Fri Aug 4 03:04:15 EDT 2017


I have found another strange issue.
With cyradm, I can "lm" all mailboxes correctly.
Once I issue one "info" command, "lm" stop functioning again, and I have to logout and run cyradm again.
I also cannot run squatter manually.
I used to run "squatter -v -i -s -a" on 2.4.12, after having set all accounts with :
mboxcfg "user/%$domain" "/vendor/cmu/cyrus-imapd/squat" "true"
I tried various combinations ("-v -i" , "-v -i -r", "-v -i -a") but it always does nothing.
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon
Da:
ellie timoney
A:
info-cyrus at lists.andrew.cmu.edu
Data:
4 agosto 2017 3.07.09 CEST
Oggetto:
Re: Solved! 3.0.2 on XStreamOS!
I've cherry-picked this commit to the 3.0 branch, so it will be included in the next 3.0 release
On Fri, Aug 4, 2017, at 04:27 AM, Ken Murchison wrote:
We shouldn't be requiring PCRE in order for LIST to work.  This bug is fixed in Git:
https://github.com/cyrusimap/cyrus-imapd/commit/fa6ff9a9a22ebdd2acdb0a402ba4334725be8194
On 08/03/2017 11:25 AM, Gabriele Bulfon wrote:
Hi,
I found the reason! :)
If build does not find "libpcre", configure just says "libpcre : no" , but then fails any list!
I could let it see my libpcre and have "libpcre : yes" : now it works! :)
I will let you know my upgrade now.
Gabriele
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon
----------------------------------------------------------------------------------
Da: Stephan Lauffer
A:
info-cyrus at lists.andrew.cmu.edu
Data: 3 agosto 2017 15.38.24 CEST
Oggetto: Re: any working cyrus-imapd-3.0.2?
.oO(if you read my lines:)
In my setup there is no virtual domains support, see the output of
"cyr_info conf" from my last post to the devel list (and yes,
virtdomains is off by default).
The problem does not occur on any distribution or cyrus-imapd build.
But on some it occurs(!)
Ok is cyrus-imapd 2.4.x, 2.5.10, 2.5.11 on sles and openSUSE since
"ever" till openSUSE-42.3 (few days old).
Not Ok is cyrus-imapd 3.0.1 and 3.0.2 on openSUSE-42.2 and
openSUSE-42.3 (no further suse tests)
Not OK is it on the XStramOS build of Gabriele, too of course.
OK is cyrus-imapd 3.0.2 on fedora 24, 25 and 26 (no more tests from
me). My specs based on the latest one of fedora 26. I just excluded
xapian, jmap and the cassadena test suite.
My specs for the suse and fedora builds are not 100% the same... I try
to get them closer.
My guess: Maybe an older/missing lib or a "secret" combination/setup
in the specs or configure parameter.
Zitat von Ken Murchison
:
This might be a virtual domains issue. I will have to ask one of
the other devs if something changed in that regard.
On 08/03/2017 08:37 AM, Gabriele Bulfon wrote:
All of my mailboxes, here's a piece of the output:
....
sonicle.com!user.gabriele^bulfon 0 default
gabriele.bulfon at sonicle.com
lrswipkxtecda
gabriele.prova at sonicle.com
lrswipkxtecda
sonicle.com!user.gabriele^bulfon.Archive 0 default
gabriele.bulfon at sonicle.com
lrswipkxtecda
gabriele.prova at sonicle.com
lrswipkxtecda
sonicle.com!user.gabriele^bulfon.Archive.2017 0 default
gabriele.bulfon at sonicle.com
lrswipkxtecda
gabriele.prova at sonicle.com
lrswipkxtecda
sonicle.com!user.gabriele^bulfon.Archive.2017.2017-07 0 default
gabriele.bulfon at sonicle.com
lrswipkxtecda
gabriele.prova at sonicle.com
lrswipkxtecda
sonicle.com!user.gabriele^bulfon.Archive.2017.2017-07.Test3 0
default
gabriele.bulfon at sonicle.com
lrswipkxtecda
gabriele.prova at sonicle.com
lrswipkxtecda
sonicle.com!user.gabriele^bulfon.Archive.2017.2017-07.Test3.Pippo 0
default
gabriele.bulfon at sonicle.com
lrswipkxtecda
gabriele.prova at sonicle.com
lrswipkxtecda
sonicle.com!user.gabriele^bulfon.Archive.2017.2017-07.Test3.Pippo.Pluto 0
default
gabriele.bulfon at sonicle.com
lrswipkxtecda
gabriele.prova at sonicle.com
lrswipkxtecda
sonicle.com!user.gabriele^bulfon.Archive.Test3 0 default
gabriele.bulfon at sonicle.com
lrswipkxtecda
gabriele.prova at sonicle.com
lrswipkxtecda
sonicle.com!user.gabriele^bulfon.Archive.Test3.Pippo 0 default
gabriele.bulfon at sonicle.com
lrswipkxtecda
gabriele.prova at sonicle.com
lrswipkxtecda
sonicle.com!user.gabriele^bulfon.Archive.Test3.Pippo.Pluto 0
default
gabriele.bulfon at sonicle.com
lrswipkxtecda
gabriele.prova at sonicle.com
lrswipkxtecda
sonicle.com!user.gabriele^bulfon.Archivio 0 default
gabriele.bulfon at sonicle.com
lrswipkxtecda
gabriele.prova at sonicle.com
lrswipkxtecda
....
*Sonicle S.r.l. *:
http://www.sonicle.com
*Music: *
http://www.gabrielebulfon.com
*Quantum Mechanics : *
http://www.cdbaby.com/cd/gabrielebulfon
------------------------------------------------------------------------
*Da:* Ken Murchison
*A:* Gabriele Bulfon
info-cyrus at lists.andrew.cmu.edu
*Data:* 3 agosto 2017 14.06.21 CEST
*Oggetto:* Re: any working cyrus-imapd-3.0.2?
What does 'ctl_mboxlist -d' show you?
On 08/03/2017 08:02 AM, Gabriele Bulfon wrote:
Obviously yes.
The new defaults are my standard since years, and are
explicitly stated in the imapd.conf :
allowusermoves: 1
lmtp_downcase_rcpt: 1
configdirectory: /sonicle/var/imap
partition-default: /sonicle/var/spool/imap
sievedir: /sonicle/var/sieve
sieve_extensions: fileinto reject vacation imapflags notify
envelope body relational regex subaddress copy
admins: admin
sasl_pwcheck_method: saslauthd
allowplaintext: yes
sasl_mech_list: plain
tls_client_ca_file: /sonicle/ssl/certs/acme/fullchain.pem
tls_server_cert: /sonicle/ssl/certs/acme/cert.pem
tls_server_key: /sonicle/ssl/certs/acme/key.pem
altnamespace: yes
virtdomains: userid
unixhierarchysep: 1
duplicatesuppression: 0
sendmail: /sonicle/sbin/sendmail
sieve_utf8fileinto: 1
xlist-archive: Archives
xlist-drafts: Drafts
xlist-sent: Sent
xlist-spam: Spam
xlist-trash: Trash
Also, everything works fine when selecting a folder and
fetching data.
Just listing (and info on cyradm) is totally silent.
How can I have imapd log more debugging on what's happening
during A1 LIST "" "*"?
I tried turning on "debug: 1" in imapd.conf but found very
little output.
Gabriele
*Sonicle S.r.l. *:
http://www.sonicle.com
*Music: *
http://www.gabrielebulfon.com
*Quantum Mechanics : *
http://www.cdbaby.com/cd/gabrielebulfon
------------------------------------------------------------------------
*Da:* Ken Murchison
*A:*
info-cyrus at lists.andrew.cmu.edu
*Data:* 3 agosto 2017 12.56.51 CEST
*Oggetto:* Re: any working cyrus-imapd-3.0.2?
Have you checked you values of unixhierarchysep and
altnamespace per the documentation? The defaults have
changed. You may have to turn both options off in imapd.conf
On 08/03/2017 05:11 AM, Gabriele Bulfon wrote:
Yes, and info doesn't work on a direct mailbox:
localhostinfo
user/gabriele.bulfon at sonicle.com
Mailbox does not exist
But acls were listed!
*Sonicle S.r.l. *:
http://www.sonicle.com
*Music: *
http://www.gabrielebulfon.com
*Quantum Mechanics :
*
http://www.cdbaby.com/cd/gabrielebulfon
----------------------------------------------------------------------------------
Da: Stephan Lauffer
A:
info-cyrus at lists.andrew.cmu.edu
Data: 3 agosto 2017 11.01.41 CEST
Oggetto: Re: any working cyrus-imapd-3.0.2?
Hi!
It seems as if you have the same problem as I
have. The only
difference here: I did not xfer/convert old
mailboxes, I was starting
with a new installation.
Check "info", it should fail, too.
sam. lam, dm and cm are working for example.
Zitat von Gabriele Bulfon
:
I tried using ctl_mboxlist -d , and I have a
correct output of my
mailboxes, listed in the internal cyrus format,
e.g. :
sonicle.com!user.test^gabry 0 default gbulfon
lrswipkxtecda1 cyrus lrswipkxtecda sonicle
lrswipkxtecda
test.gabry at sonicle.com
lrswipkxtecda
using "." separator instead of "/"
(unixhierarchysep: 1) and "^"
instead of "."
Gabriele
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon
Da:
Gabriele Bulfon
A:
Ken Murchison
info-cyrus at lists.andrew.cmu.edu
Data:
3 agosto 2017 9.51.21 CEST
Oggetto:
Re: any working cyrus-imapd-3.0.2?
Sorry, non of the stated operations are needed
nor work.
My mailboxes.db has been converted to twoskip as
stated from the db
header bytes:
sonicle at www:/sonicle/var/imap$ od -xc
mailboxes.db | more
0000000 02a1 0d8b 7774 736f 696b 2070 6966 656c
241 002 213 \r t w o s k i p f i l e
The master runs without complains, even turning
on imapd.log I get
only these, where the last one is my cyradm session
Aug 3 09:46:15 www idled[8519]: [ID 189579
local6.warning] Option
'tls_ca_file' is deprecated in favor of
'tls_client_ca_file' since
version 2.5.0.
Aug 3 09:46:15 www idled[8519]: [ID 189579
local6.warning] Option
'tls_cert_file' is deprecated in favor of
'tls_server_cert' since
version 2.5.0.
Aug 3 09:46:15 www idled[8519]: [ID 189579
local6.warning] Option
'tls_key_file' is deprecated in favor of
'tls_server_key' since
version 2.5.0.
Aug 3 09:46:15 www ctl_cyrusdb[8521]: [ID 189579
local6.warning]
Option 'tls_ca_file' is deprecated in favor of
'tls_client_ca_file'
since version 2.5.0.
Aug 3 09:46:15 www ctl_cyrusdb[8521]: [ID 189579
local6.warning]
Option 'tls_cert_file' is deprecated in favor of
'tls_server_cert'
since version 2.5.0.
Aug 3 09:46:15 www ctl_cyrusdb[8521]: [ID 189579
local6.warning]
Option 'tls_key_file' is deprecated in favor of
'tls_server_key'
since version 2.5.0.
Aug 3 09:46:15 www ctl_cyrusdb[8521]: [ID 702911
local6.notice]
checkpointing cyrus databases
Aug 3 09:46:15 www ctl_cyrusdb[8521]: [ID 127214
local6.notice] done
checkpointing cyrus databases
Aug 3 09:46:20 www imap[8528]: [ID 189579
local6.warning] Option
'tls_ca_file' is deprecated in favor of
'tls_client_ca_file' since
version 2.5.0.
Aug 3 09:46:20 www imap[8528]: [ID 189579
local6.warning] Option
'tls_cert_file' is deprecated in favor of
'tls_server_cert' since
version 2.5.0.
Aug 3 09:46:20 www imap[8528]: [ID 189579
local6.warning] Option
'tls_key_file' is deprecated in favor of
'tls_server_key' since
version 2.5.0.
Aug 3 09:46:22 www imap[8528]: [ID 529592
local6.notice] login:
localhost [::1] sonicle PLAIN User logged in
SESSIONID=
once I issue "lm", I get nothing.
Do I need to run reconstruct to get my mailboxes
back?
I tried various cyrus mailbox commands, but none
can see any mailbox data.
Any way to inspect what mailboxes it really sees?
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon
Da:
Ken Murchison
A:
info-cyrus at lists.andrew.cmu.edu
Data:
2 agosto 2017 19.25.22 CEST
Oggetto:
Re: any working cyrus-imapd-3.0.2?
https://www.cyrusimap.org/imap/download/upgrade.html#copy-config-files-and-update
On 08/02/2017 01:18 PM, Gabriele Bulfon wrote:
I upgraded the cyrus binaries from 2.4.12 to 3.0.2.
The cyrus daemons run, imap authentication
works, logs look fine.
But then, no folder...users authenticate but
there is no folder.
Using cyradm on the original 2.4.12 host, "lm"
shows every folder.
Using cyradm on the new upgraded, "lm" shows
nothing.
Any idea?
Gabriele
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon
Da:
Gabriele Bulfon
A:
Stephan Lauffer
info-cyrus at lists.andrew.cmu.edu
Data:
2 agosto 2017 15.34.18 CEST
Oggetto:
Re: any working cyrus-imapd-3.0.2?
We've almost finished packaging cyrus imapd
3.0.2 on XStreamOS.
I had to make a patch to build, though:
--- cyrus-imapd-3.0.2/imap/mailbox.h Wed Aug 2
12:48:45 2017+++
cyrus-imapd-3.0.2/imap/mailbox.h.new Wed Aug 2
12:50:48
2017@@ -283,7 +283,10 @@ #define
ITER_SKIP_DELETED (1
Gabriele
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon
----------------------------------------------------------------------------------
Da: Stephan Lauffer
A:
info-cyrus at lists.andrew.cmu.edu
Data: 1 agosto 2017 9.26.02 CEST
Oggetto: any working cyrus-imapd-3.0.2?
Hi!
Anybody with a working cyrus-imapd-3.0.2? Could
I get the configure
parameter and the name of the distro (or pre
build packages)?
--
Liebe Gruesse, with best regards
Stephan Lauffer
Pedagogical University Freiburg - Germany
http://www.ph-freiburg.de/zik/
Fon/ Fax: +49 761 682 -559/ -486
----
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
----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
----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 MurchisonCyrus Development
TeamFastMail Pty Ltd
----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
----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
-- Liebe Gruesse, with best regards
Stephan Lauffer
Pedagogical University Freiburg - Germany
http://www.ph-freiburg.de/zik/
Fon/ Fax: +49 761 682 -559/ -486
----
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
----
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
Cyrus Development Team
FastMail Pty Ltd
----
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
Cyrus Development Team
FastMail Pty Ltd
--
Kenneth Murchison
Cyrus Development Team
FastMail Pty Ltd
--
Liebe Gruesse, with best regards
Stephan Lauffer
Pedagogical University Freiburg - Germany
http://www.ph-freiburg.de/zik/
Fon/ Fax: +49 761 682 -559/ -486
----
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 MurchisonCyrus Development TeamFastMail Pty Ltd
----
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
----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: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20170804/12245500/attachment-0001.html>


More information about the Info-cyrus mailing list