From: Pascal Gienger (no email)
Date: Mon Apr 01 2002 - 05:24:07 EST
>Several problems i'm occuring here,
>
>1) with SSL enabled in Cyrus Imapd cyradm fails to run, with a
>missing library something
>from openssl i believe. Would i need to recompile Perl to support SSL?
What is the exact word of the error message?
On Solaris you can try to point LD_LIBRARY_PATH (environment variable) to
the OpenSSL Library directory. If it works then you did not link with
-rpath/-R enabled.
On Solaris 8, you can setup hints. They are stored in /var/ld/ld.config.
For 64 bit objects, it is /var/ld/64/ld.config
You can set library search paths in this file (never edit it by hand!) via
the crle(1) command.
If you have dynamic SSL in /usr/local/ssl/lib, you may try:
crle -l /usr/lib -l /usr/openwin/lib -l /usr/local/lib -l /usr/local/ssl/lib \
-i /usr/lib -i /usr/openwin/lib -i /usr/local/lib -i /usr/local/ssl/lib
This change is permanent.
Now your cyradm should work.
>2) Authentication via saslauthd, i'm having problems getting the
>authentication to work on
>authentication type of shadow. It authenticates, yet cyradm wont
>authenticate without me
>adding a user to sasldb2.
I don't know this.
>
>3) Do i need to add all my users and their passwords to sasldb2?
As I prefer running Cyrus IMAPD as a sealed server I don't have any
user mail password in /etc/shadow.
The saslpasswd2 command has a command line option for getting the password
via stdin. Nifty for creating hundreds of users via a tiny little script
using random passwords.
>
>4) How about importing the previous mbox's, i have a few users with
>several hundred megs in
>their mailbox that i would like to import into the cyrus partition.
There are several utilities to split mbox-files into multiple e-mails,
perfectly pipe-able into "deliver".
I am using "splitmail" (forgot where I found that) and I ran (using the user-
name as script argument and having had the cyrus lmtpd locally on the same
machine including the message store):
--- cut here ---
#!/bin/sh
user="$1"
pp=$$
mkdir -p /tmp/$pp
chmod 700 /tmp/$pp
cd /tmp/$pp
splitmail /var/spool/mail/$user
for i in /tmp/$pp/*
do
/opt/cyrus/bin/deliver $user < $i # insert your cyrus deliver here
done
rm /tmp/$pp/*
rmdir /tmp/$pp
--- cut here ---
Pascal Gienger
--
|
|
|