Murder

Willem van den Oord willem at ahk.nl
Sat Sep 28 17:46:34 EDT 2002


Hi,

I have a few questions about murder.

1. Is it possible to run a mupdate master on the same host as a backend?
2. Is it possible to run a backend on the same host as a frontend?

I'm trying running everything on 1 host now; all the backend daemons are
listening to the ethernet device and all the frontend proxy-daemons to
the loopbackdevice (just for testing purposes), but when i try creating
a mailbox, it gives me this message:

NO unable to reserve mailbox on mupdate server

Even without frontend proxies it gives me this message. But the mupdate
master is still on the same machine offcourse. Might that be the
problem?

here are the relevant mail.log entries:

Sep 28 22:58:35 jef cyrus/imapd[19626]: login:
kerberos.jef.ahk.nl[193.67.24.49] cyrus plaintext
Sep 28 22:58:38 jef cyrus/imapd[19626]: myfetch: starting txn 2147483666
Sep 28 22:58:38 jef cyrus/imapd[19626]: mystore: reusing txn 2147483666
Sep 28 22:58:38 jef cyrus/imapd[19626]: mycommit: committing txn
2147483666
Sep 28 22:58:38 jef cyrus/mupdate[19612]: accepted connection
Sep 28 22:58:38 jef cyrus/mupdate[19612]: telling master 3
Sep 28 22:58:38 jef cyrus/mupdate[19628]: starting cmdloop() on fd 13
Sep 28 22:58:38 jef cyrus/master[19604]: got weird response from child:
9
Sep 28 22:58:38 jef cyrus/mupdate[19628]: login: mupdate from
kerberos.jef.ahk.nl[193.67.24.49]
Sep 28 22:58:38 jef cyrus/mupdate[19628]: cmd_set(fd:13, qwerqwer)
Sep 28 22:58:38 jef cyrus/imapd[19626]: mupdate NO response: mailbox
already exists
Sep 28 22:58:38 jef cyrus/imapd[19626]: MUPDATE: can't reserve mailbox
entry for 'qwerqwer'
Sep 28 22:58:38 jef cyrus/imapd[19626]: mydelete: starting txn
2147483667
Sep 28 22:58:38 jef cyrus/imapd[19626]: mydelete: committing txn
2147483667
Sep 28 22:58:38 jef cyrus/mupdate[19628]: ending cmdloop() on fd 13


I also have a question about authenticating to a mupdate server.
To use a kerberos 5 ticket for authenticating to the mupdate server (and
to the backend servers) i su to cyrus and do a: kinit -k mupdate

I noticed that i also had to add the mupdate/kerberos.jef.ahk.nl service
ticket to the keytab. This isn't ideal because the tickets it uses
expire. Isn't it possible for clients of mupdate to read their tickets
from the krb5.keytab?

I allready tried DIGEST-MD5 and other shared secret methods, but i kept
getting messages like:

Sep 28 21:13:56 jef cyrus/imapd[18882]: badlogin:
kerberos.jef.ahk.nl[193.67.24.49] DIGEST-MD5 [SASL(-13): user not found:
no secret in database]

I wasn't able to add MD5 tickets with: saslpasswd2 -c -n mupdate. That
doesn't seem to do anything (allthough it doesn't complain about
anything either). Only userPasswords seem to have effect. That's why i
decided to try GSSAPI in the first place.


Then i have a minor problem with the pop proxy. When i try loggin in
with the user and pass command, it exits saying:

-ERR [SYS/PERM] Fatal error: gethostbyname failed

Below is what the mail.log says:

Sep 28 23:40:59 jef cyrus/master[19765]: about to exec
/usr/lib/cyrus/bin/pop3proxyd
Sep 28 23:40:59 jef cyrus/pop3proxy[19765]: executed
Sep 28 23:40:59 jef cyrus/pop3d[19765]: telling master 2
Sep 28 23:40:59 jef cyrus/master[19753]: service pop3proxy now has 0
workers
Sep 28 23:40:59 jef cyrus/pop3d[19765]: accepted connection
Sep 28 23:40:59 jef cyrus/pop3d[19765]: telling master 3
Sep 28 23:40:59 jef cyrus/master[19753]: service pop3proxy now has 0
workers
Sep 28 23:41:04 jef cyrus/pop3d[19765]: login: localhost[127.0.0.1]
willem plaintext
Sep 28 23:41:04 jef cyrus/master[19753]: process 19765 exited, status 75

So it looks to me that i authenticated to the backend pop3 successfully?
I have no clue about why it exists with that strange messsage.


I'm sorry if these questions seem silly. It's my first try with the
cyrus imap server & sasl library.

Thanks,

Willem van den Oord






More information about the Info-cyrus mailing list