Hi All,
I'm trying to install Cyrus IMAP with the following configuration:
FreeBSD v4.3
cyrus-imapd-2.0.12_4
cyrus-sasl-1.5.24_4
db3-3.2.9
Please note that all the above is installed from the "ports" collection.
======================================
cyrus-imapd-2.0.12_4 configure options:
CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \
--with-cyrus-group=cyrus \
--with-sasl=${LOCALBASE} \
--with-dbdir=${LOCALBASE} \
--with-auth=unix \
--with-com_err
cyrus-sasl-1.5.24_4 configure options:
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--with-plugindir=${PREFIX}/lib/sasl \
--with-dbpath=${PREFIX}/etc/sasldb \
--includedir=${PREFIX}/include/sasl \
--enable-static \
--enable-login \
--enable-plain \
--with-pwcheck=/var/pwcheck \
--with-dblib=ndbm \
--with-rc4=openssl
db3-3.2.9 configure options
CONFIGURE_ARGS= --enable-compat185 \
--enable-dump185 --enable-cxx \
--enable-dynamic \
--prefix=${PREFIX} \
--includedir=${PREFIX}/include/db3 \
--target=$(ARCH)-unknown-freebsd$(OSREL)
======================================
I have created the appropriate account using cyradm:
cyradmin -u cyrus localhost
cm user.blah
I have added a password for this user using saslpasswd:
/usr/local/sbin/saslpasswd -c blah
======================================
I have then tried to test the account, and received the following error
messages:
imtest -a blah -m login localhost
C: C01 CAPABILITY
S: * OK my.imap.server Cyrus IMAP4 v2.0.12 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
NO_ATOMI
C_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES
IDLE
AUTH=DIGEST-MD5 AUTH=CRAM-MD5
S: C01 OK Completed
Password:
C: L01 LOGIN blah {6}
+ go ahead
C: <omitted>
L01 NO Login failed: Userid not found
Authentication failed. generic failure
Security strength factor: 0
When I try the same using the account "cyrus" I get -
imtest -a cyrus -m login localhost
C: C01 CAPABILITY
S: * OK my.imap.server Cyrus IMAP4 v2.0.12 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
NO_ATOMI
C_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES
IDLE
AUTH=DIGEST-MD5 AUTH=CRAM-MD5
S: C01 OK Completed
Password:
C: L01 LOGIN cyrus {8}
+ go ahead
C: <omitted>
L01 OK User logged in
Authenticated.
Security strength factor: 0
The difference here is that I have NOT used the cyradm command to create the
user.blah directory first.
======================================
The messages in /var/log/imapd.log are:
Jun 11 00:38:26 server imapd[81672]: badlogin: my.imap.server[127.0.
0.1] plaintext blah Userid not found
Jun 11 00:38:32 server master[81586]: process 81672 exited, status 0
Jun 11 00:35:55 server imapd[81669]: login:
localhost.home.mosina.com.au[127.0.0.1
] cyrus plaintext
Jun 11 00:36:00 server master[81586]: process 81669 exited, status 0
======================================
My /usr/local/etc/imapd.conf contains:
configdirectory: /var/imap
partition-default: /var/spool/imap
allowanonymouslogin: no
quotawarn: 90
admins: root cyrus
sieveusehomedir: false
sievedir: /var/imap/sieve
sasl_pwcheck_method: pwcheck
sasl_auto_transition: yes
======================================
Any ideas please?
Cheers,
Andrew Barnes
--
Andrew Barnes
Email: [EMAIL PROTECTED]
PGP Fingerprint: 2C8E E948 C62D 8C2C 48E3 0925 6ED3 78AA 5B17 6E26