It appears that dbmail-pop3d is sending its log stream to the client, instead 
of to the log file.

Tested with current CVS, and TRACE_LEVEL = 5, the following transcript was 
generated. I'm pretty certain that the debugging output is not a valid pop3 
response. 

[EMAIL PROTECTED]:/etc/postfix$ telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK DBMAIL pop3 server ready <[EMAIL PROTECTED]>
handle_client(): setting timeout timer at 300 seconds
user [EMAIL PROTECTED]
pop3(): incoming buffer: [user [EMAIL PROTECTED]
pop3(): command issued :cmd [user], value [EMAIL PROTECTED]

pop3(): command looked up as commandtype 1
+OK Password required for [EMAIL PROTECTED]
pass password
pop3(): incoming buffer: [pass password]
pop3(): command issued :cmd [pass], value password]

pop3(): command looked up as commandtype 2
__auth_query(): connection ok
__auth_query(): executing query [SELECT user_idnr, passwd, encryption_type FROM 
users WHERE userid = '[EMAIL PROTECTED]']
auth_validate(): validating using cleartext passwords
__auth_query(): connection ok
__auth_query(): executing query [UPDATE users SET last_login = '2002-07-11 
15:27:26' WHERE user_idnr = 2::bigint]
pop3(): validation ok, creating session
db_query(): executing query [SELECT mailbox_idnr FROM mailboxes WHERE 
lower(name) = lower('INBOX') AND owner_idnr=2::bigint]
db_query(): executing query [SELECT * FROM messages WHERE 
mailbox_idnr=2::bigint AND status<002 AND unique_id!='' order by status ASC]
db_createsession(): adding items to list
db_createsession(): adding succesfull
+OK [EMAIL PROTECTED] has 1 messages (153 octets)
pop3(): user [EMAIL PROTECTED] logged in [messages=1, octets=153]
quit
pop3(): incoming buffer: [quit]
pop3(): command looked up as commandtype 0
+OK see ya later
handle_client(): user [EMAIL PROTECTED] logging out [message=1, octets=153]
Connection closed by foreign host.


After setting TRACE_LEVEL to 0 and restarting the daemon, I get: 

[EMAIL PROTECTED]:/etc/postfix$ telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK DBMAIL pop3 server ready <[EMAIL PROTECTED]>
user [EMAIL PROTECTED]
+OK Password required for [EMAIL PROTECTED]
pass password
+OK [EMAIL PROTECTED] has 1 messages (153 octets)
list
+OK 1 messages (153 octets)
1 153
.
quit
+OK see ya later
Connection closed by foreign host.

This is a valid pop3 session.

eric



Reply via email to