Murder frontend problem

Major Csaba major.csaba at muhelybt.hu
Fri Jun 5 10:44:34 EDT 2015


Hi,

Thanks for the quick answer.
I managed to get further as I realized I missed a small piece from the 
documentation. My fronted server and master update server is on the same 
machine and I didn't configure the "mupdate_*" parameter. But as I can 
see, the proxy still has to speak to mupdate when I would like to create 
a new mailbox and the auth info is necessary even if they are on the 
same host.

So, it seems to be a misundersanding of the documentation which is not 
so verbose :)
I added the mupdate_* parameters (pointing to the host itself) and it is 
working fine now.

There is one more small question: why the proxied LMTP needs to have 
"admins" permission on the backend? I thought the proxyservers setting 
is for this, but LMTP doesn't work without adding my proxy user in the 
"admins"...

Best regards,
Csaba

> This error is thrown in a few places where the code is attempting to 
> verify
> the validity of the partition/mailbox. I suspect this error would be more
> accurate if it said 'invalid partition'.
>
> Do you have the ability to debug and gather a backtrace at the moment 
> this
> error is thrown? It's thrown on lines 2726, 2740, 2753, and 2773 within
> mailbox.c (for version 2.4.17).
>
> See:
>
> http://members.sange.fi/~atehwa/vc/packaging/cyrus-imapd/debian/README.Debian.debug 
>
>
>> This is reported directly by the frontend, as I can not see any 
>> communications to the backend. So, I think this is a config issue on 
>> the frontend, but I can not see where.
>
> This smells like a bug. Although the following options may affect the
> problem:
>
> altnamespace
> unixhierarchysep
> defaultdomain
> defaultserver
> hashimapspool
> improved_mboxlist_sort
> proxyd_disable_mailbox_referrals
> sharedprefix
> virtdomains
>
> I don't recommend changing any of these on a production system however.
>
>> See the configs below.
>> Do you have any hint how to go on or debug this situation?
>
>
>> *The frontend cyrus.conf:*
>> START {
>>    recover        cmd="/usr/sbin/cyrus ctl_cyrusdb -r"
>>    delprune    cmd="/usr/sbin/cyrus expire -E 3"
>>    tlsprune    cmd="/usr/sbin/cyrus tls_prune"
>> }
>>
>> SERVICES {
>>    sieve        cmd="timsieved" listen="localhost:sieve" prefork=0 
>> maxchild=100
>>    notify        cmd="notifyd" listen="/var/run/cyrus/socket/notify" 
>> proto="udp" prefork=1
>>    mupdate       cmd="mupdate -m" listen=3905 prefork=1
>>    imap        cmd="proxyd" listen="imap" prefork=0 maxchild=100
>>    imaps        cmd="proxyd -s" listen="imaps" prefork=0 maxchild=100
>>    pop3        cmd="pop3proxyd" listen="pop3" prefork=0 maxchild=50
>>    pop3s        cmd="pop3proxyd -s" listen="pop3s" prefork=0 maxchild=50
>>    lmtp        cmd="lmtpproxyd" listen="/var/run/cyrus/socket/lmtp" 
>> prefork=1 maxchild=20
>> }
>>
>> EVENTS {
>>    checkpoint    cmd="/usr/sbin/cyrus ctl_cyrusdb -c" period=30
>>    delprune    cmd="/usr/sbin/cyrus expire -E 3" at=0401
>>    tlsprune    cmd="/usr/sbin/cyrus tls_prune" at=0401
>> }
>>
>> *The frontend imap.conf:*
>> configdirectory: /var/lib/cyrus
>> proc_path: /run/cyrus/proc
>> mboxname_lockpath: /run/cyrus/lock
>> defaultpartition: default
>> partition-default: /var/spool/cyrus/mail
>> partition-news: /var/spool/cyrus/news
>> newsspool: /var/spool/news
>> altnamespace: no
>> unixhierarchysep: yes
>> reject8bit: no
>> munge8bit: no
>> lmtp_downcase_rcpt: yes
>> admins: cyrus2 mupdate
>> allowanonymouslogin: no
>> popminpoll: 1
>> autocreatequota: 0
>> umask: 077
>> sieveusehomedir: false
>> sievedir: /var/spool/sieve
>> httpmodules: caldav carddav
>> hashimapspool: true
>> allowplaintext: yes
>> sasl_mech_list: PLAIN
>> virtdomains: userid
>> sasl_pwcheck_method: saslauthd
>> sasl_auto_transition: no
>> proxy_authname: murderproxy
>> proxy_password: password
>> tls_cert_file: /etc/ssl/certs/ssl.crt
>> tls_key_file: /etc/ssl/private/ssl.key
>> tls_ca_path: /etc/ssl/certs
>> tls_session_timeout: 1440
>> tls_cipher_list: TLSv1+HIGH:!aNULL:@STRENGTH
>> lmtpsocket: /var/run/cyrus/socket/lmtp
>> idlesocket: /var/run/cyrus/socket/idle
>> notifysocket: /var/run/cyrus/socket/notify
>> syslog_prefix: cyrus
>>
>> *Backend cyrus.conf:*
>> START {
>>    recover        cmd="/usr/sbin/cyrus ctl_cyrusdb -r"
>>    mupdatepush   cmd="/usr/sbin/cyrus ctl_mboxlist -m"
>>    delprune    cmd="/usr/sbin/cyrus expire -E 3"
>>    tlsprune    cmd="/usr/sbin/cyrus tls_prune"
>> }
>>
>> SERVICES {
>>    imap        cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
>>    imaps        cmd="imapd -s -U 30" listen="imaps" prefork=0 
>> maxchild=100
>>    pop3        cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50
>>    pop3s        cmd="pop3d -s -U 30" listen="pop3s" prefork=0 
>> maxchild=50
>>    lmtpunix    cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" 
>> prefork=0 maxchild=20
>>    sieve        cmd="timsieved" listen="localhost:sieve" prefork=0 
>> maxchild=100
>>    notify        cmd="notifyd" listen="/var/run/cyrus/socket/notify" 
>> proto="udp" prefork=1
>> }
>>
>> EVENTS {
>>    checkpoint    cmd="/usr/sbin/cyrus ctl_cyrusdb -c" period=30
>>    delprune    cmd="/usr/sbin/cyrus expire -E 3" at=0401
>>    tlsprune    cmd="/usr/sbin/cyrus tls_prune" at=0401
>> }
>>
>> *Backend imapd.conf:*
>> configdirectory: /var/lib/cyrus
>> proc_path: /run/cyrus/proc
>> mboxname_lockpath: /run/cyrus/lock
>> defaultpartition: common
>> partition-common: /var/spool/cyrus/mail
>> partition-news: /var/spool/cyrus/news
>> newsspool: /var/spool/news
>> duplicatesuppression: 0
>> altnamespace: no
>> unixhierarchysep: yes
>> reject8bit: no
>> munge8bit: no
>> lmtp_downcase_rcpt: yes
>> admins: cyrus2
>> proxyservers: murderproxy
>> allowanonymouslogin: no
>> popminpoll: 0
>> autocreatequota: 20971520
>> umask: 077
>> sieveusehomedir: false
>> sievedir: /var/spool/sieve
>> httpmodules: caldav carddav
>> mailnotifier: zephyr
>> sievenotifier: zephyr
>> hashimapspool: true
>> allowplaintext: yes
>> sasl_mech_list: PLAIN
>> virtdomains: userid
>> sasl_pwcheck_method: saslauthd
>> sasl_auto_transition: no
>> tls_cert_file: /etc/ssl/certs/ssl.crt
>> tls_key_file: /etc/ssl/private/ssl.key
>> tls_ca_path: /etc/ssl/certs
>> tls_session_timeout: 1440
>> tls_cipher_list: TLSv1+HIGH:!aNULL:@STRENGTH
>> mupdate_server: mx1
>> mupdate_port: 3905
>> mupdate_username: mupdate
>> mupdate_authname: mupdate
>> # mupdate_realm
>> mupdate_password: password
>> # mupdate_retry_delay
>> lmtpsocket: /var/run/cyrus/socket/lmtp
>> idlesocket: /var/run/cyrus/socket/idle
>> notifysocket: /var/run/cyrus/socket/notify
>> syslog_prefix: cyrus
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20150605/741d0988/attachment-0001.html 


More information about the Info-cyrus mailing list