[Dovecot] multiple instances of dovecot ?

Flavien flavien at freesurf.fr
Wed Jul 6 00:02:53 EEST 2005


Hello,


I got a dovecot server running on a  Debian  Linux  machine.  I'd
like to run another instance of  it.  I  start  it  with  another
config file with debug output on stderr. The auth parameters  are
different :

dovecot1: Imapd only, listens on 143, auth=/etc/passwd
dovecot2: Imapd only, listens on 144, auth=mysql

It kinda works... But...

How does one instance of it recognizes the right "imap-login"  it
should talk to ? What happens in my tests, you guess it: dovecot1
talks to imap-login2, trying to authenticate users  that  are  in
/etc/password against mysql...

# dovecot -F -c dovecot-config2.conf
dovecot: Jul 05 22:49:03 Info: Dovecot starting up
dovecot-auth: Jul 05 22:49:04 Info: MySQL: connected to localhost
dovecot-auth: Jul 05 22:49:04 Info: Login process 6 connected
dovecot-auth: Jul 05 22:49:04 Info: Login process 7 connected
dovecot-auth: Jul 05 22:49:04 Info: Login process 6 sent handshake: PID 26368
dovecot-auth: Jul 05 22:49:04 Info: Login process 8 connected
dovecot-auth: Jul 05 22:49:04 Info: Login process 7 sent handshake: PID 26369
dovecot-auth: Jul 05 22:49:04 Info: Login process 8 sent handshake: PID 26370
dovecot-auth: Jul 05 22:49:27 Info: Login process 9 connected
dovecot-auth: Jul 05 22:49:27 Info: Login process 9 sent handshake: PID 26374
dovecot-auth: Jul 05 22:50:02 Info: Login process 10 connected
dovecot-auth: Jul 05 22:50:02 Info: Login process 10 sent handshake: PID
26402
dovecot-auth: Jul 05 22:50:02 Info: MySQL: Performing query: SELECT
password FROM users WHERE uid='flavien'
dovecot-auth: Jul 05 22:50:02 Info: mysql(flavien): Unknown user

'flavien' is not known to the sql db. It's thunderbird trying  to
get my regular mail using the config1 on port  143,  and  it  has
nothing to do with the instance 2 whose output I'm  just  looking
at !!!

Any hint ?


A+
Flavien.



More information about the dovecot mailing list