IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

imtest plain, cram-md5, digest-md5 & cyradm working

THANK YOU VERY MUCH TO EVERYONE WHO HELPED ME OUT!!!!

If you're ever in Scotland's capital city of
Edinburgh, see me for a beer!

To be honest, I dinnae ken what I done differently,
aside from doing the saslpasswd thing very last.

On reboot, this flags up in syslog:-
Dec  7 12:34:42 aberdeen imapd[1238]: imaps: required
OpenSSL options not present


I haven't got as far as testing imaps yet.

Craig Skinner. now :)

For the record:-

cat /etc/imapd.conf
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus admin
allowanonymouslogin: no
umask: 027
timeout: 30
autocreatequota: 20
allowplaintext: yes
plaintextloginpause: 10
singleinstancestore: yes
sieveusehomedir: false
sievedir: /usr/local/sieve
sendmail: /usr/sbin/sendmail
postmaster: postmaster
sasl_pwcheck_method: sasldb
sasl_auto_transition: yes
lmtpsocket: /var/imap/socket/lmtp
idlesocket: /var/imap/socket/idle
notifysocket: /var/imap/socket/notify

cat /etc/cyrus.conf
# standard standalone server implementation

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

  # this is only necessary if using idled for IMAP IDLE
#  idled                cmd="idled"
}

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

  # at least one LMTP is required for delivery
  lmtp          cmd="lmtpd" listen="lmtp" prefork=0
#  lmtpunix     cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1
}

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
}

which perl
/usr/bin/perl

head -n 45 /usr/local/bin/cyradm | grep -v \#
case "x$BASH_VERSION" in
x) exec perl
-I/usr/local//lib/site_perl/5.6.1/i386-linux
-MCyrus::IMAP::Shell -e shell -- ${1+"$@"} ;;
*) exec perl
-I/usr/local//lib/site_perl/5.6.1/i386-linux
-MCyrus::IMAP::Shell -e shell -- "$@" ;;
esac

sasldblistusers
user: admin realm: aberdeen.chstech.co.uk mech: DIGEST-MD5
user: cyrus realm: aberdeen.chstech.co.uk mech: PLAIN
user: cyrus realm: aberdeen.chstech.co.uk mech: CRAM-MD5
user: admin realm: aberdeen.chstech.co.uk mech: PLAIN
user: admin realm: aberdeen.chstech.co.uk mech: CRAM-MD5
user: cyrus realm: aberdeen.chstech.co.uk mech: DIGEST-MD5

ls -l /etc/sasldb
-rw-r-----    1 cyrus    postfix     12288 Dec  7
13:09 /etc/sasldb

rpm -qa | grep db[23]
libdb3.2-3.2.9-2mdk
php-dba_gdbm_db3-4.0.6-4mdk
libdb3.2-devel-3.2.9-2mdk

rpm -q --provides libdb3.2
db3 = 3.2.9-2mdk
libdb-3.2.so  
libdb_cxx-3.2.so  
libdb3.2 = 3.2.9-2mdk

rpm -q --provides libdb3.2-devel
db3-devel = 3.2.9-2mdk
libdb3.2-devel = 3.2.9-2mdk

ldd /usr/local/cyrus/bin/imapd
        libsasl.so.7 => /usr/local/lib/libsasl.so.7 (0x40017000)
        libdb-3.2.so => /lib/libdb-3.2.so (0x40028000)
        libssl.so.0.9.6 => /usr/local/lib/libssl.so.0.9.6
(0x400af000)
        libcrypto.so.0.9.6 => /usr/local/lib/libcrypto.so.0.9.6
(0x400de000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x401a4000)
        libc.so.6 => /lib/libc.so.6 (0x401b6000)
        libdl.so.2 => /lib/libdl.so.2 (0x402f5000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x402f9000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

ls -l /usr/local
total 15
drwxr-xr-x    2 root     root          976 Dec  7
12:14 bin/
lrwxrwxrwx    1 root     root           30 Dec  7
12:12 cyrus -> /usr/local/cyrus-imapd-2.0.16//
drwxrwxrwx   26 38579    wheel        1272 Dec  7
12:14 cyrus-imapd-2.0.16/
drwxrwxrwx   14 38579    wheel        1032 Dec  7
12:11 cyrus-sasl-1.5.24/
drwxr-xr-x    2 root     root           48 Feb  6 
1996 doc/
drwxr-xr-x    2 root     root           48 Feb  6 
1996 etc/
drwxr-xr-x    2 root     root           48 Feb  6 
1996 games/
drwxr-xr-x    4 root     root          272 Dec  7
12:14 include/
lrwxrwxrwx    1 root     root           23 Dec  7
12:04 java -> /usr/local/jdk1.3.1_01//
drwxrwxr-x    9 root     root          360 Aug  8
21:42 jdk1.3.1_01/
drwxr-xr-x    6 root     root          736 Dec  7
12:14 lib/
drwxr-xr-x    2 root     root           48 Jun 22
16:33 libexec/
drwxr-xr-x    6 root     root          144 Nov 20
15:59 man/
lrwxrwxrwx    1 root     root           26 Dec  7
12:05 openssl -> /usr/local/openssl-0.9.6b//
drwxr-xr-x   24 root     root         1592 Dec  7
12:10 openssl-0.9.6b/
lrwxrwxrwx    1 root     root           33 Dec  7
13:00 postfix -> /usr/local/postfix-20010228-pl08//
drwxr-xr-x   14 1001     1001         1328 Dec  7
13:02 postfix-20010228-pl08/
lrwxrwxrwx    1 root     root           29 Dec  7
12:10 sasl -> /usr/local/cyrus-sasl-1.5.24//
drwxr-xr-x    2 root     root          112 Dec  7
12:12 sbin/
drwxr-xr-x    4 root     root           96 Oct 31
16:55 share/
drwxr-x---   28 cyrus    mail          672 Dec  7
12:14 sieve/
drwxr-xr-x    4 root     root           96 Dec  7
13:00 src/
lrwxrwxrwx    1 root     root           26 Dec  7
12:05 ssl -> /usr/local/openssl-0.9.6b//

ls -l /usr/lib/sasl
lrwxrwxrwx    1 root     root           19 Dec  6
10:34 /usr/lib/sasl -> /usr/local/lib/sasl/


-- 

Get your free email from www.linuxmail.org 


Powered by Outblaze

Reply via email to