pbs courier-imap
Bonjour,
je vous écris car j'ai eu qques pbs pour configurer courier-imap en mode
authuserdb.
j modifié le fichier authdaemo,rc pour spécifier que je voulais utiliser le
mode authuserdb (je vous copie colle ce fichier à la fin de mon mail)
J'ai décidé d'utliser mon compte perso thierry.
J'ai fait touch /etc/userdb; chmod 700 /etc/userdb
j crée mon rep Maildir en faisant
mkdir -p /home/thierry/domaines
mkdir -p /home/thierry/domaines/xxx.xx/thierry
puis maildirmake /home/thierry/domaines/xxx.xx/thierry
après j'ai crée une entrée pour thierry@xxx.xx:
userdb thierry@xxx.xx set home=/home/thierry \
mail=/home/thierry/domaines/xxx.xx/thierry \
uid=1000 gid=1000
puis userdbpw | userdb "thierry@xxx.xx set imappw
pour fixer le password/
et enfin makeuserdb
qui m'a genere un userdb.lock et .dat et un userdbshadow.dat.
Après j'ai redémarré courier-imapmais ca n'a rien changé du tout.
Que me conseillez-vous?
Merci.
A bientot.
(voir cidessous mes fichiers)
----------------------------------------------------------------------------
---------------
authmodulelist="authuserdb"
##NAME: authmodulelistorig:1
#
# This setting is used by Courier's webadmin module, and should be left
# alone
authmodulelistorig="authcustom authcram authuserdb authldap authpgsql
authmysql authpam"
##NAME: daemons:0
#
# The number of daemon processes that are started. authdaemon is typically
# installed where authentication modules are relatively expensive: such
# as authldap, or authmysql, so it's better to have a number of them
running.
# PLEASE NOTE: Some platforms may experience a problem if there's more than
# one daemon. Specifically, SystemV derived platforms that use TLI with
# socket emulation. I'm suspicious of TLI's ability to handle multiple
# processes accepting connections on the same filesystem domain socket.
#
# You may need to increase daemons if as your system load increases.
Symptoms
# include sporadic authentication failures. If you start getting
# authentication failures, increase daemons. However, the default of 5
# SHOULD be sufficient. Bumping up daemon count is only a short-term
# solution. The permanent solution is to add more resources: RAM, faster
# disks, faster CPUs...
daemons=5
##NAME: version:0
#
# When you have multiple versions of authdaemond.* installed, authdaemond
# just picks the first one it finds. Set "version" to override that.
# For example: version=authdaemond.plain
version=""
##NAME: authdaemonvar:0
#
# authdaemonvar is here, but is not used directly by authdaemond. It's
# used by various configuration and build scripts, so don't touch it!
authdaemonvar=/var/run/courier/authdaemon
----------------------------------------------------------------------------
---------------
et le userdb
thierry@xxx.xx uid=1000|imappw=xxxxxxxxxxxxxxxxxx|
mail=/home/thierry/domaines/xxx.xx/thierry|home=/home/thierry|gid=1000
----------------------------------------------------------------------------
---------------
Reply to: