[tpop3d-discuss]Gentoo LInux 2007 and tPOP3d flatfile-auth

veejar veejar.net at gmail.com
Tue, 13 Nov 2007 12:32:32 +0200


Hello.

I try to confiure flatfile-auth in Gentoo Linux 2007.
tpop3d -h
tpop3d, version 1.5.3

Available authentication drivers:

  auth-pam         Uses Pluggable Authentication Modules
  auth-other       Uses an external program
  auth-flatfile    Uses /etc/passwd-style flat files

Available mailbox drivers:

  bsd              BSD (`Unix') mailspool
  maildir          Qmail-style maildir
  empty            Empty mailbox

Enabled features:

  Mass virtual hosting
  Suppress C-client metadata
  TCP Wrappers

=====================================

My tpop3d.conf:

listen-address: 0.0.0.0
timeout-seconds: 600
log-facility: mail
log-stderr: true
mailbox: bsd:/var/mail/$(user)
log-bad-passwords: yes

auth-flatfile-enable: yes
auth-flatfile-passwd-file: /etc/tpop3d/tpop3d.passwd
auth-flatfile-mail-user: postfix
auth-flatfile-mail-group: postfix

=========================================

My tpop3d.passwd:

temp:77GWdO11QFOoM

==========================================

I try connect to my POP3-mailbox via Mozilla Thunderbird. Account Settings:
server: 192.168.1.1
login: temp
password: temp

==========================================

Maillog:

Nov 13 10:31:33 brain tpop3d[15565]: connection_sendresponse: client
[5]192.168.1.10/brain: sent `+OK
<a913099988e2d7d34e627157eee71bbe@brain>'
Nov 13 10:31:33 brain tpop3d[15565]: listeners_post_select: client
[5]192.168.1.10/brain: connected to local address 192.168.1.1:110
Nov 13 10:31:33 brain tpop3d[15565]: connection_parsecommand: client
[5]192.168.1.10/brain: received `CAPA'
Nov 13 10:31:33 brain tpop3d[15565]: connection_sendresponse: client
[5]192.168.1.10/brain: sent `+OK Capability list follows'
Nov 13 10:31:37 brain tpop3d[15565]: connection_parsecommand: client
[5]192.168.1.10/brain: received `USER temp'
Nov 13 10:31:37 brain tpop3d[15565]: connection_sendresponse: client
[5]192.168.1.10/brain: sent `+OK Tell me your password.'
Nov 13 10:31:37 brain tpop3d[15565]: connection_parsecommand: client
[5]192.168.1.10/brain: received `PASS [...]'
Nov 13 10:31:37 brain tpop3d[15565]: connection_do: client
`[5]192.168.1.10/brain': username `temp': failing password is `temp'
Nov 13 10:31:37 brain tpop3d[15565]: connection_sendresponse: client
[5]192.168.1.10/brain: sent `-ERR Lies! Try again!'
Nov 13 10:31:37 brain tpop3d[15565]: connection_do: client
`[5]192.168.1.10/brain': username `temp': 1 authentication failures

=====================

Help to solve this problem, please.