Re: Need help with collateral damage after migrating from 2.5.10 to 3.0.13 on Ubuntu

Michael Menge <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <20210908142250.Horde.Bj6R2z9TiPSY_GJBuALxGF_@webmail.uni-tuebingen.de>
Quoting [email protected]:

> The only error I see is some IDLED errors, referencing to  
> "user.myusername", but shouldn't it be "user/myusername" with unix  
> hierarchy separator? maybe "unixhierarchysep: 1" is no longer  
> understood? Could tryto change that to "yes".
>
I think this is a red herring. The INTERNAL representation of cyrus  
uses "." as separator
The usage of internal and mapped representation in Log-Files and error  
messages is inconsistent
and confusing.

1 is still a valid value for boolean options.


> imap error log:
> Sep  8 08:13:59 servername cyrus/master[16400]: process type:SERVICE  
> name:imaps path:/usr/lib/cyrus/bin/imapd age:1699.128s pid:55720  
> exited, status 75
> ....
> Sep  8 08:14:15 servername cyrus/lmtpunix[1343]: Delivered:  
> <20210908061415.E3xxxxxx5@servername> to mailbox: user.myusername
> Sep  8 08:14:16 servername cyrus/lmtpunix[1343]: USAGE myusername  
> user: 0.009206 sys: 0.000000
> ...
>
> imap warn log:
> Sep  7 08:22:49 servername cyrus/imaps[7096]: idle for too long,  
> closing connection
...

I don't see any real errors. Do you see any errors starting/restartin cyrus?


> Here's the imad.conf:
> unixhierarchysep: 1
>  sasl_mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
>  syslog_prefix: cyrus
>  popminpoll: 1
>  sieveusehomedir: false
>  partition-default: /var/spool/cyrus/mail
>  partition-servername: /mnt/data/cyrus/mail
>  tls_versions: tls1_0 tls1_1 tls1_2
>  tls_client_ca_dir: /etc/ssl/certs
>  reject8bit: no
>  tls_ciphers: TLSv1+HIGH:!aNULL: @STRENGTH
>  mboxname_lockpath: /run/cyrus/lock
>  sasl_auto_transition: no
>  defaultpartition: default
>  configdirectory: /var/lib/cyrus
>  sievedir: /var/spool/sieve
>  umask: 077
>  lmtpsocket: /var/run/cyrus/socket/lmtp
>  sasl_saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux
>  idlesocket: /var/run/cyrus/socket/idle
>  tls_server_key: /etc/ssl/private/servername.key
>  hashimapspool: 1
>  notifysocket: /var/run/cyrus/socket/notify
>  tls_session_timeout: 1440
>  proc_path: /run/cyrus/proc
>  tls_server_cert: /etc/ssl/certs/servername.crt
>  admins: cyrus myusername
>  lmtp_downcase_rcpt: yes
>  allowplaintext: yes
>  munge8bit: no
>  imap_admins: cyrus myusername
>  tls_client_ca_file: /etc/ssl/certs/servername.crt
>  #autocreatequota_units: 1048576
>  autocreate_quota: 102400
>  sasl_pwcheck_method: saslauthd
>

You have two cyrus partitions, 1. "default" where the mails are stored  
in /var/spool/cyrus/mail and 2. "servername" where the mails are  
stored in /mnt/data/cyrus/mail
"ctl_mboxlist -d" will output the list of mailboxes with the partition  
name. Does the partition name match with the place where the mails are  
stored?

The imap error log shows a delivery to user/myusername.
Can you find the message file on the filesystem  
(/var/spool/cyrus/mail/<HASHDIR>/user/myusername)
or (/mnt/data/cyrus/mail/<HASHDIR>/user/myusername) where "<HASHDIR>"  
is the first character in "myusername"

And can you see the mail in your mail client?


--------------------------------------------------------------------------------
Michael Menge                          Tel.: (49) 7071 / 29-70316
Universität Tübingen                   Fax.: (49) 7071 / 29-5912
Zentrum für Datenverarbeitung          mail:  
[email protected]
Wächterstraße 76
72074 Tübingen


------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T7418fd5d15878e02-M4010fdd647268854301a32d7
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.