Jonathan Villa wrote:

I've got a Postfix->SASL->IMAP config set up and running ok...

I'm trying to duplicate this installation... and while I'm following my
same steps... I can't seem to get into cyradm.

this is where I think my problem lies.

when I try

$ cryadm -user asdfasdf localhost
I'm using a bogus user to fail on purpose and check my logs... I see

Feb 26 15:05:01 jvhostname1 imap[25738]: badlogin: isprod2 [127.0.0.1] OTP
[SASL(-13): user not found: no OTP secret in database]
Feb 26 15:05:04 jvhostname1 imap[25738]: badlogin: isprod2 [127.0.0.1]
DIGEST-MD5 [SASL(-13): user not found: no secret in database]

where jvhostname is my the hostname of the server


now... on the server I'm having issues with I get

Feb 26 15:05:01 localhost.localdomain imap[25738]: badlogin: isprod2
[127.0.0.1] OTP [SASL(-13): user not found: no OTP secret in database]
Feb 26 15:05:04 localhost.localdomain imap[25738]: badlogin: isprod2
[127.0.0.1] DIGEST-MD5 [SASL(-13): user not found: no secret in database]


I'm guessing that my issue is with the localhost.localdomain. While I
have /etc/sysconfig/network -> HOSTNAME = my real fqdn... I'm not seeing
why this is defaulting to localhost



That "localhost.localdomain" could be coming not from "imapd", but from "syslogd". That IS strange. Chack to see if your /etc/svc.conf or some similar file defines the order of name resolving services as "bind, hosts" or some such nonsense. Also, check out what you get from "hostname" command. I've seen installation which were drawing hosname from the DNS, based on the first configured IP address...


my imapd.conf file looks like this

postmaster: postmaster
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: adminCyrus
sasl_pwcheck_method: auxprop
virtdomains: yes
defaultdomain: jvdomain.com



This is for VirtualDomains, the domain that is assumed for logins that leave out domain part.


lmtp_downcase_rcpt: yes

actually... both imapd and cyrus.conf files are pretty much the same...
cyrus.conf is exactly the same on both server...

the outcome of cyradm when using proper credentials is

[EMAIL PROTECTED] bin]# cyradm -user adminCyrus localhost
Password:
cyradm: cannot authenticate to server with as adminCyrus
Segmentation fault



The logs still do not explain why it is failing. What are the errors in this case?


Nix.
---
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

Reply via email to