[Dovecot] Master requested auth for nonexisting client %d

Peter Franck vic at ibas-labs.de
Sun Feb 20 01:54:39 EET 2005


Magnus Holmgren wrote:
> Magnus Holmgren wrote:
> 
>> Peter Franck wrote:
>>
>>> I also tried the 0.99 and hacking login-process.c, with no success.
>>> It seems to expect a slash delimited string like 'name/protocol' and 
>>> it just gets "imap" there, but I didn't figure out where this string 
>>> comes from or what it ought to be.
>>>
>> IIRTCC, the string comes from login-common/main.c:master_connect(), 
>> which is called from login-common/main.c:main(), where it's 
>> constructed by taking the filename component of the executable 
>> ("imap-login") and removing the part after the hyphen (yielding 
>> "imap"). Since the filename component can't contain a slash, this 
>> looks like a slight oversight when changing the the configuration format.
>>
>> You can use the --group= parameter to give imap-login what the master 
>> process wants ("default/imap", I guess).
>>
> 
> Attaching suggested patch. With it, the default server name ("default") 
> is assumed by the master process if the string sent by the login process 
> doesn't contain any slash. If you have multiple server blocks in your 
> configuration (undocumented feature as of yet, it appears!), you still 
> need to add --group=<server>/<protocol> to the parameters of 
> imap-login/pop3-login in your inetd/xinetd configuration.
> 
> (You could for example have different configurations for different 
> interfaces, if I understand it correctly.)
> 
> Two comments on the patch: The first change is because I suspect buf 
> isn't null-terminated. The last deletion (of "name = ...") is because I 
> believe that line to be superfluous.

Thanks, Magnus!

That was the bit I was missing since I'm trying out dovecot for the very 
first time.

Unfortunately I have one more (newbie) problem : I am now able to 
authenticate against dovecot, but i cannot get any mail from it.

Logfile:

---8<---
Feb 20 00:31:20 office dovecot: auth(default): client in: AUTH	1 
PLAIN	service=IMAP	secured	lip=192.168.23.1	rip=192.168.23.42
Feb 20 00:31:20 office dovecot: auth(default): client out: CONT	1	
Feb 20 00:31:20 office dovecot: auth(default): client in: CONT	1 
AHZpYwBzeXNpbnQyMQ==
Feb 20 00:31:20 office dovecot: auth(default): client out: OK	1	user=vic
Feb 20 00:31:20 office dovecot: auth(default): master in: REQUEST	1	2	1
Feb 20 00:31:20 office dovecot: auth(default): Master requested auth for 
nonexisting client 2
Feb 20 00:31:39 office dovecot: auth(default): client in: AUTH	1 
PLAIN	service=IMAP	secured	lip=192.168.23.1	rip=192.168.23.42
Feb 20 00:31:39 office dovecot: auth(default): client out: CONT	1	
Feb 20 00:31:39 office dovecot: auth(default): client in: CONT	1 
AHZpYwBzeXNpbnQyMQ==
Feb 20 00:31:39 office dovecot: auth(default): client out: OK	1	user=vic
Feb 20 00:31:39 office dovecot: auth(default): master in: REQUEST	2	3	1
Feb 20 00:31:39 office dovecot: auth(default): Master requested auth for 
nonexisting client 3
Feb 20 00:31:39 office dovecot: auth(default): client in: AUTH	1 
PLAIN	service=IMAP	secured	lip=192.168.23.1	rip=192.168.23.42
Feb 20 00:31:39 office dovecot: auth(default): client out: CONT	1	
Feb 20 00:31:39 office dovecot: auth(default): client in: CONT	1 
AHZpYwBzeXNpbnQyMQ==
Feb 20 00:31:39 office dovecot: auth(default): client out: OK	1	user=vic
Feb 20 00:31:39 office dovecot: auth(default): master in: REQUEST	3	4	1
Feb 20 00:31:39 office dovecot: auth(default): Master requested auth for 
nonexisting client 4
Feb 20 00:31:44 office dovecot: auth(default): client in: AUTH	1 
PLAIN	service=IMAP	secured	lip=192.168.23.1	rip=192.168.23.42
Feb 20 00:31:44 office dovecot: auth(default): client out: CONT	1	
Feb 20 00:31:44 office dovecot: auth(default): client in: CONT	1 
AHZpYwBzeXNpbnQyMQ==
Feb 20 00:31:44 office dovecot: auth(default): client out: OK	1	user=vic
Feb 20 00:31:44 office dovecot: auth(default): master in: REQUEST	4	5	1
Feb 20 00:31:44 office dovecot: auth(default): Master requested auth for 
nonexisting client 5
--->8---

Any idea?
Peter

(BTW is there a search index over the mailing list archives somewhere? 
Google doesn't know its contents)



More information about the dovecot mailing list