Really can't figure this out

Jason Huddleston huddlesj at otc.edu
Wed Feb 16 01:58:13 EST 2005


This is what I have in mine.

$servers['emh1'] = array(
    'name' => 'OTC E-mail',
    'server' => 'emh1.otc.edu',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => '',
    'namespace' => '',
    'maildomain' => 'emh1.otc.edu',
    'smtphost' => 'localhost',
    'realm' => 'otc.edu',
    'preferred' => ''
);


Maybe this will help you get started.

Jay


-----Original Message-----
From: owner-info-cyrus at lists.andrew.cmu.edu
[mailto:owner-info-cyrus at lists.andrew.cmu.edu] On Behalf Of Craig White
Sent: Wednesday, February 16, 2005 12:03 AM
To: info-cyrus at lists.andrew.cmu.edu
Subject: Really can't figure this out

Trying to set up 'horde' and I can't get it to enumerate the users in
cyrus.

The setup seems simple enough and all users can authenticate to imap
server without an issue. The issue is the administrative user.

I can login to imap as cyrus...

# su - cyrus -c 'telnet localhost 143'
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK srv1.tobyhouse.com Cyrus IMAP4 v2.2.10-Invoca-RPM-2.2.10-11 server
ready
. login cyrus x3y2z1
. OK User logged in
. list
. BAD Missing required argument to List
. logout
* BYE LOGOUT received

but setup in horde/imp/servers.php has this portion for the 'admin user'

$servers['cyrus'] = array(
snip...
    'admin' => array(
        'params' => array(
            'login' => 'cyrus',
            'password' => 'MY_PASS',
            'userhierarchy' => 'user.',
            'protocol' => 'imap/notls',
            'hostspec' => 'localhost',
            'port' => 143

and as you can see by the logs, my telnet login goes through but my
'admin' connection via horde/imp is rejected (same
localhost/username/password/protocol)

Feb 15 22:49:34 srv1 imap[23331]: badlogin: localhost.localdomain
[127.0.0.1] plaintext cyrus SASL(-13): authentication failure: checkpass
failed

less than 1 minute apart

Feb 15 22:50:42 srv1 imap[23329]: login: localhost.localdomain
[127.0.0.1] cyrus plaintext User logged in

I have tried MECH="pam" and MECH="shadow" and it seems to make little
difference.

Why does this happen? How can I get more info on what is going on?

Thanks

Craig


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list