[tpop3d-discuss]authentication failures on Mac OS X 10.3

Roger Baig Viņas roger.baig at gmail.com
Tue, 20 Dec 2005 16:22:22 +0100


Dear list members,

I am writing to you because after all day googleing I have not been
able to set up a mail system (POP part) on a Mac OS X 10.3, so any
advice will be wellcome.

I guess the problem is regarding Darwin athentication mechanims and
how tpop3d uses them, but I am a newbie in those (and so many others)
flieds...

 When I try to get mail from a POP client (say Apple Mail) I get the
following message from the tpoped server (sudo tpop3d -dv):
connection_parsecommand: client [7]127.0.0.1/nil-0s-Computer.local:
received `user nil0'
connection_sendresponse: client [7]127.0.0.1/nil-0s-Computer.local:
sent `+OK Tell me your password.'
connection_parsecommand: client [7]127.0.0.1/nil-0s-Computer.local:
received `pass [...]'
connection_sendresponse: client [7]127.0.0.1/nil-0s-Computer.local:
sent `-ERR Lies! Try again!'
connection_do: client `[7]127.0.0.1/nil-0s-Computer.local': username
`nil0': 1 authentication failures

I get more or less the same when  I try to log via "telnet localhost pop3":
user nil0
+OK Tell me your password.
pass nil0passwd
-ERR Lies! Try again!
connection_parsecommand: client [7]127.0.0.1/nil-0s-Computer.local:
received `user nil0'
connection_sendresponse: client [7]127.0.0.1/nil-0s-Computer.local:
sent `+OK Tell me your password.'
connection_parsecommand: client [7]127.0.0.1/nil-0s-Computer.local:
received `pass [...]'
connection_sendresponse: client [7]127.0.0.1/nil-0s-Computer.local:
sent `-ERR Lies! Try again!'

I tried both: darwinports and compilation from source. Both with the
same bad results:
darwinports:
$sudo port install tpop3d
and the appropiate commands and modifications (mainly modifying
StartupItems files)
compliaton following README.darwin:
./configure --disable-auth-pam --enable-auth-passwd
make LDFLAGS=-flat_namespace
sudo make install
and the appropiate commands and modifications (mainly StartupItems files)


My tpop3d.conf file, following README.darwin, looks like:
listen-address: 0.0.0.0
mailbox: bsd:/var/mail/$(user)
auth-passwd-enable: yes
auth-passwd-mail-group: mail


As I said everyting seem to indicate that the authentication process
fails, but I don't know how to fix the problem. I will try to complie
the source code using pam, but I do not expect good results... I'll
tell you about it.

In the meantime I would apreciate any clue you could give me to get
out from the hole

Thanks in advance,


PS If you think you need any other info about the problme, please, just ask

--
roger