Hi,

I've build and installed cyrus imapd 2.0.16-1rm from source by Ramiro
Morales available at http://rmrpms.tripod.com/cyrus-imapd/. I've succesfully
compiled and installed cyrus but, Cyrus does not authenticate users. I wat
to use PAM. Is there something obvious that I'm missing? Does anybody use
Cyrus on RH 7.1? Are there any other RPMs available? I'd appreciate any
help.

Thanks in advance.
Oyku Gencay

The log ;
Sep 10 11:00:07 mail2 PAM-warn[21791]: user: (uid=76) -> cyrus [remote:
?nobody@?nowhere]
Sep 10 11:00:07 mail2 imapd[21791]: login: localhost.localdomain[127.0.0.1]
cyrus plaintext
Sep 10 11:00:31 mail2 PAM-warn[21794]: service: imap [on terminal:
<unknown>]
Sep 10 11:00:31 mail2 PAM-warn[21794]: user: (uid=76) -> jane [remote:
?nobody@?nowhere]

telnet localhost imap connects successfully

imtest -m login -a cyrus localhost
C: C01 CAPABILITY
S: * OK mail2.xxxxx.com Cyrus IMAP4 v2.0.16 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT
THREAD=REFERENCES IDLE X-NETSCAPE
S: C01 OK Completed
Password:
C: L01 LOGIN cyrus {7}
+ go ahead
C: <omitted>
L01 OK User logged in
Authenticated.
Security strength factor: 0

imtest -m login -a jane  localhost
C: C01 CAPABILITY
S: * OK mail2.xxxxx.com Cyrus IMAP4 v2.0.16 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT
THREAD=REFERENCES IDLE X-NETSCAPE
S: C01 OK Completed
Password:
C: L01 LOGIN jane {4}
+ go ahead
C: <omitted>
L01 NO Login failed: authentication failure
Authentication failed. generic failure
Security strength factor: 0

/etc/imapd.conf
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
# To use the PAM for authentication (but not /etc/passwd or shadow), change
# the following line to specify "pam" instead of "sasldb".
sasl_pwcheck_method: pam

/etc/cyrus.conf
# standard standalone server implementation

START {
  # do not delete these entries!
  mboxlist      cmd="ctl_mboxlist -r"
  deliver       cmd="ctl_deliver -r"
}

# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
  # add or remove based on preferences
  imap          cmd="/usr/cyrus/bin/imapd" listen="imap" prefork=0
  imaps         cmd="/usr/cyrus/bin/imapd -s" listen="imaps" prefork=0
  pop3          cmd="/usr/cyrus/bin/pop3d" listen="pop3" prefork=0
  pop3s         cmd="/usr/cyrus/bin/pop3d -s" listen="pop3s" prefork=0
  sieve         cmd="/usr/cyrus/bin/timsieved" listen="sieve" prefork=0

# at least one LMTP listener is required for proper delivery
# lmtp          cmd="lmtpd" listen="lmtp" prefork=0
  lmtpunix      cmd="/usr/cyrus/bin/lmtpd" listen="/var/imap/socket/lmtp"
prefork=0
}

EVENTS {
  # this is required
  checkpoint    cmd="ctl_mboxlist -c" period=30

  # this is only necessary if using duplicate delivery suppression
  #delprune     cmd="ctl_deliver -E 3" period=1440
}

Reply via email to