Cyrus discrete murder issue : CREATE creates mail folder on frontend

Tim Piessens tim.piessens at icloud.com
Wed May 31 02:37:33 EDT 2017


> On 30 May 2017, at 22:47, Michael Menge <michael.menge at zdv.uni-tuebingen.de> wrote:
> 
> 
> Quoting Tim Piessens <tim.piessens at icloud.com <mailto:tim.piessens at icloud.com>>:
> 
>> Hi all,
>> 
>> I have created a murder cluster containing 1 update server, 1 frontend and 2 backends.
>> Mail reading woks ok, also moving folders between backends.
>> However when a client creates a new folder, it gets created on the frontend and not on a backend.
>> 
> Is this an Admin user? If a normal user creates a new folder it should be created on the same
> backend+partition as the inbox of the user.

No, this is worrying me. It happens to all users. logging in :
[root at imap ~]# cyrus mupdatetest mupdate

S: A01 OK "Authenticated"
Authenticated.
Security strength factor: 56
A1 FIND "user.piessens.Personal"
A1 MAILBOX {22+}
user.piessens.Personal {28+}
mailserv.icsense.com!default {19+}
piessens	lrswipcda
A1 OK "Search completed"
A3 FIND "user.piessens.Personal.Test3"
A3 MAILBOX {28+}
user.piessens.Personal.Test3 {27+}
imapfe1.icsense.com!default {19+}
piessens	lrswipcda
A3 OK "Search completed"


> 
>> I am using cyrus-imapd version 2.5.10 from debian testing
>> 
>> # My frontend Configuration
>> configdirectory: /var/lib/cyrus
>> proc_path: /run/cyrus/proc
>> mboxname_lockpath: /run/cyrus/lock
>> mupdate_config: standard
>> default server:imapbe2.***
> 
> Options in imapd.conf don't contain space. Not sure if it matters in this case

This was due to my mail client trying to autocorrect the spelling. This is not real in my set-up

> 
>> server list:imapbe1.*** imapbe2.***
> 
> see above
> 
>> partition-default: /var/spool/cyrus/mail
>> altnamespace: yes
>> unixhierarchysep: no
>> lmtp_downcase_rcpt: yes
>> admins: cyrus root murder
>> proxyservers: cyrus murder
> 
> quoting man imapd.conf
> proxyservers: <none>
> 
> A list of users and groups that are allowed to proxy for other users, separated by spaces. Any user listed in this will be allowed to login for any other user: use with caution. In a standard murder this option should ONLY be set on backends. DO NOT SET on frontends or things won’t work properly.

It looks like this was the root cause. i need to test this further, but omitting these settings seems to have fixed the issue
A2 FIND "user.piessens.Personal.Test6"
A2 MAILBOX {28+}
user.piessens.Personal.Test6 {28+}
mailserv.icsense.com!default {19+}
piessens	lrswipcda
A2 OK "Search completed"

Thanks a lot for the fast response.

Tim


> 
>> proxy_authname: murder
>> allowanonymouslogin: no
>> popminpoll: 1
>> umask: 077
>> sendmail: /usr/sbin/sendmail
>> sieveusehomedir: false
>> sievedir: /var/spool/sieve
>> hashimapspool: true
>> allowplaintext: no
>> sasl_mech_list: GSSAPI PLAIN
>> allowapop: no
>> sasl_minimum_layer: 1
>> auth_mech: krb5
>> unix_group_enable: 1
>> sasl_pwcheck_method: saslauthd
>> sasl_auto_transition: no
>> mupdate_server: update.***
>> mupdate_username: murder
>> mupdate_authname: murder
>> 
>> 
>> any help is heavily appreciated.
>> 
>> Tim
>> ----
>> Cyrus Home Page: http://www.cyrusimap.org/ <http://www.cyrusimap.org/>
>> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ <http://lists.andrew.cmu.edu/pipermail/info-cyrus/>
>> To Unsubscribe:
>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus <https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus>
> 
> 
> 
> --------------------------------------------------------------------------------
> 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 <mailto:michael.menge at zdv.uni-tuebingen.de>
> Wächterstraße 76
> 72074 Tübingen
> 
> ----
> Cyrus Home Page: http://www.cyrusimap.org/ <http://www.cyrusimap.org/>
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ <http://lists.andrew.cmu.edu/pipermail/info-cyrus/>
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus <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/20170531/9d9a113b/attachment-0001.html>


More information about the Info-cyrus mailing list