Jim Flanagan wrote:
>> I think it is easier to update the installation.
>>
>>
> Thanks for the advice Sandy. I have never tried an upgrade due to many
> recommendations on this list. But I know opensuse has put a lot of
> effort into that. I may try it, it would save a lot of work. I guess its
> worth a try, I can always do a clean if that does not work.
Backup your data, then try to update the installation. If it doesn't work
you can do a clean install. Though I would advise you do dump the data of
your databases to textfiles.
export_cyrus.sh
#-------------------------------
# export mailboxes.db
su - cyrus -c 'ctl_mboxlist -d >/var/lib/imap/mailboxes.txt'
# export seen databases one line):
# (check your format! see 'man imapd.conf' for details)
su - cyrus -c 'for seenfile in `find /var/lib/imap/user -name \*.seen`; do
/usr/lib/cyrus/bin/cvt_cyrusdb $seenfile skiplist ${seenfile%seen}txt
flat; done'
# export deliver.db (check your format! see 'man imapd.conf' for details):
su - cyrus -c '/usr/lib/cyrus/bin/cvt_cyrusdb /var/lib/imap/deliver.db
berkeley-nosync /var/lib/imap/deliver.txt flat'
#-------------------------------
import_cyrus.sh
#-------------------------------
# Delete old databases
rm /var/lib/imap/db/*
rm /var/lib/imap/tls_sessions.db
rm /var/lib/imap/mailboxes.db
rm /var/lib/imap/deliver.db
find /var/lib/imap/ -type f -name *.seen | xargs rm
# import mailboxes.db
su - cyrus -c 'ctl_mboxlist -u </var/lib/imap/mailboxes.txt'
# import seen databases (eine Zeile):
su - cyrus -c 'for txtfile in `find /var/lib/imap/user -name \*.txt`; do
/usr/lib/cyrus/bin/cvt_cyrusdb $txtfile flat ${txtfile%txt}seen skiplist;
done'
# import deliver.db:
su - cyrus -c '/usr/lib/cyrus/bin/cvt_cyrusdb /var/lib/imap/deliver.txt
flat /var/lib/imap/deliver.db berkeley-nosync'
#-------------------------------
These scripts work for me on an Opensuse system,test them at your own
risk. (^-^)
> I never did get saslauthd working on my 10.0 install, but would very
> much like to use that on 10.3. Can you point me to a good reference for
> that?
Unfortunately, the documentation for cyrus sasl in general and saslauthd
particularly can only be called miserable. :-(
What you need to know is that all services that want to use saslauthd need
access to the socket of saslauthd. The allowed auth mechs are plain text
only, which means PLAIN and LOGIN. You should take care that all
applications know about this limitation.
Even the path where saslauthd is looking for config files are not clearly
documented. It seems as if Opensuse 10.3 is starting to move the files to
/etc/sasl2, before the files for SMTP was placed in the same directory as
the auth mechs (in /usr/lib/sasl2).
You will have to conquer it step-for-step, I'm afraid. :-/
--
Sandy
List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]