Howto Cyrus

PDF version

Après el redémarrage du serveur, un item se sera ajouté au menu du server-manager pour administrer les boîtes aux lettres. Par la console on peut aussi poser certains gestes.

Voir aussi ces notes sur la migration vers Dovecot pour revenir à la configuration habituelle du SME-Server.

Le paquetage initial est ici: westcountrybusiness

Pour la traduction en UTF-8

tar cvzf /tmp/locale.tgz /etc/e-smith/locale/*

wget http://www.swt-online.de/smeserver/convert_utf-8.sh

chmod 775 convert_utf-8.sh

./convert_utf-8.sh


les fichiers critiques sont:

create-accounts
/etc/e-smith/web/functions/sherwood
/etc/e-smith/events/actions/user-create-unix
/etc/e-smith/events/actions/user-delete-unix
/etc/e-smith/events/actions/user-create-cyrus
/etc/e-smith/events/actions/user-delete-cyrus

Pour changer de mot de passe après l'installation:

mv -f /etc/e-smith/web/functions/sherwood /etc/e-smith/web/functions/sherwood.old
mv -f /etc/e-smith/events/actions/user-create-unix /etc/e-smith/events/actions/user-create-unix.old
mv -f /etc/e-smith/events/actions/user-delete-unix /etc/e-smith/events/actions/user-delete-unix.old
mv -f /etc/e-smith/events/actions/user-create-cyrus /etc/e-smith/events/actions/user-create-cyrus.old
mv -f /etc/e-smith/events/actions/user-delete-cyrus /etc/e-smith/events/actions/user-delete-cyrus.old

cyrus_password='<<nouveau_mot_de_passe>>'

sed "s/%imapmail%/$cyrus_password/" /etc/e-smith/web/functions/sherwood.old > /etc/e-smith/web/functions/sherwood
sed "s/%imapmail%/$cyrus_password/" /etc/e-smith/events/actions/user-create-unix.old > /etc/e-smith/events/actions/user-create-unix
sed "s/%imapmail%/$cyrus_password/" /etc/e-smith/events/actions/user-delete-unix.old > /etc/e-smith/events/actions/user-delete-unix
sed "s/%imapmail%/$cyrus_password/" /etc/e-smith/events/actions/user-create-cyrus.old > /etc/e-smith/events/actions/user-create-cyrus
sed "s/%imapmail%/$cyrus_password/" /etc/e-smith/events/actions/user-delete-cyrus.old > /etc/e-smith/events/actions/user-delete-cyrus