Le vendredi 05 février 2010 19:27:19, Timo Sirainen a écrit :
On Fri, 2010-02-05 at 17:47 +0100, Jean-Francois wrote:
dovecot: Feb 05 17:39:37 Error: auth(default): mysql: Missing value in connect string: user
..
and here the dovecot-sql.conf
..
connect = host=/var/www/htdocs/local/sql/mysql.sock dbname=mail user=user
The error message means that the above connect string doesn't contain user=. But obviously it does above. So either you're looking at wrong file, or there's something else weird going on.
First of all check dovecot -n output. Does it show passdb sql with args value pointing to the same dovecot-sql.conf file as you're looking at?
Thanks. Strange, things looks ok ?
$ sudo dovecot -n # 1.0.15: /etc/dovecot.conf base_dir: /var/dovecot/ log_path: /var/log/dovecot info_log_path: /var/log/dovecot_debug ssl_cert_file: /etc/ssl/dovecotcert.pem login_dir: /var/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_user: _dovecot mail_location: mbox:~/:INBOX=/var/mail/%u mbox_write_locks: fcntl imap_client_workarounds: delay-newmail outlook-idle netscape-eoh tb-extra- mailbox-sep auth default: mechanisms: plain login user: nobody passdb: driver: sql args: /etc/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot-sql.conf
$ ls -l /etc/dovecot* -r--r--r-- 1 root wheel 42917 Oct 18 14:31 /etc/dovecot-example.conf -r--r--r-- 1 root wheel 496 Oct 18 14:32 /etc/dovecot-openssl.cnf -r--r--r-- 1 root wheel 4625 Oct 18 14:31 /etc/dovecot-sql-example.conf -rw-rw-r-- 1 root wheel 375 Feb 4 21:16 /etc/dovecot-sql.conf -rw-rw-r-- 1 root wheel 42857 Feb 5 17:38 /etc/dovecot.conf