[ RESOLU ] Probléme Imap et Roundcube

non dans phpmyadmin cela n’a rien a avoir.

fais un

dpkg -l | grep courier

dpkg -l | grep courier

ii courier-authdaemon 0.58-4.dotdeb.1 Courier authentication daemon ii courier-authlib 0.58-4.dotdeb.1 Courier authentication library ii courier-authlib-mysql 0.58-4.dotdeb.1 MySQL support for the Courier authentication ii courier-authlib-userdb 0.58-4.dotdeb.1 userdb support for the Courier authenticatio rc courier-authmysql 0.47-4sarge5 Courier Mail Server - MySQL authentication ii courier-base 0.53.3-5 Courier Mail Server - Base system ii courier-imap 3.0.8-4sarge5 Courier Mail Server - IMAP server ii courier-pop 0.47-4sarge5 Courier Mail Server - POP3 server

as tu relancé le demon courier-authd ?
que donne maintenant la commande authtest ?

reposte les fichiers :

/etc/courier/authmysqlrc
/etc/courier/authdaemonrc

Alors apres restart de courier-authdaemon, la commande grep me renvoie la même chose.

/etc/courier/authmysqlrc

[code]MYSQL_SERVER localhost

MYSQL_USERNAME postfix

MYSQL_PASSWORD Mdp

MYSQL_PORT 0

MYSQL_OPT 0

MYSQL_DATABASE postfix

MYSQL_USER_TABLE mailbox

MYSQL_CRYPT_PWFIELD password

MYSQL_UID_FIELD 5000

MYSQL_GID_FIELD 5000

MYSQL_LOGIN_FIELD email

MYSQL_HOME_FIELD “/var/spool/vmail/”

MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,’@’,-1),’/’,SUBSTRING_INDEX(email,’@’,1),’/’)

MYSQL_QUOTA_FIELD quota[/code]

/etc/courier/authdaemonrc

[code]##VERSION: $Id: authdaemonrc.in,v 1.8 2001/10/07 02:16:22 mrsam Exp $

Copyright 2000-2001 Double Precision, Inc. See COPYING for

distribution information.

authdaemonrc created from authdaemonrc.dist by sysconftool

Do not alter lines that begin with ##, they are used when upgrading

this configuration.

This file configures authdaemond, the resident authentication daemon.

Comments in this file are ignored. Although this file is intended to

be sourced as a shell script, authdaemond parses it manually, so

the acceptable syntax is a bit limited. Multiline variable contents,

with the \ continuation character, are not allowed. Everything must

fit on one line. Do not use any additional whitespace for indentation,

or anything else.

##NAME: authmodulelist:0

The authentication modules that are linked into authdaemond. The

default list is installed. You may selectively disable modules simply

by removing them from the following list. The available modules you

can use are: authcustom authcram authuserdb authldap authpgsql authmysql authpam

authmodulelist=“authmysql”

##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
[/code]

commande grep ?
non

que donne la commande

Oups escuse, voila ce que donne la commande:

authtest abuse@pouet.com

[code]Authentication succeeded.

 Authenticated: abuse@pouet.com  (uid 5000, gid 5000)
Home Directory: /var/spool/vmail/
       Maildir: pouet.com/abuse/
         Quota: 0

Encrypted Password: .exA82DkSfobY
Cleartext Password: (none)
Options: (none)[/code]

ok donc ca marche

on avance

le pb maintenant c’est que tes paquets imap et pop sont trop anciens (ils correspondent a l’ancienne stable)

donc

aptitude purge courier-imap courier-pop

puis

aptitude update
aptitude install courier-imap courier-pop

:blush: :blush: :blush: UN GRAND MERCI, ca fonctionne :blush: :blush: :blush:

C vrai que j’ai eu ce problème quand j’ai fait une mise a jour de mon serveur en utilisant la commande “Apt-get upgrade”. Et je penses que ca pas du prendre en compte certain packet.

Je te remercie :slightly_smiling: