tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tpop3d-discuss] maildir woes


From: Colin
Subject: [tpop3d-discuss] maildir woes
Date: Mon, 03 Mar 2003 00:25:46 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130

I'm trying to install tpop3d using vmail-sql with maildirs.
I can authenticate, and log into tpop3d no problem, but I can't find mail that's sitting in the directories. If I have exim deliver in mailbox format, everything works fine (with no changes to the tpop3d.conf file). Maybe I'm just reading stuff wrong, so here are my configs and what stuff looks like when logging into tpop3d (This has happened for both 1.4.1 and 1.4.2, currently using 1.4.1)

first I delivered a test message to the test account:
--------------------------------------

# /usr/eximtest/bin/exim -v address@hidden
From: address@hidden
To: address@hidden
Subject: Testing.

Here's a test message to read.
.
LOG: MAIN
  <= address@hidden U=root P=local S=330
address@hidden tpop3d-1.4.1]# LOG: MAIN
=> testing <address@hidden> R=MySql_local_user T=MySql_local_delivery
LOG: MAIN
  Completed

--------------------------------------
I then verified that there's a message there:
--------------------------------------

# ls -al /var/mail/SERVERS/the-cave.net/testing/
total 12
drwx------    2 the-cave the-cave     4096 Mar  3 00:00 .
drwxrwxrwt    5 the-cave the-cave     4096 Mar  3 00:00 ..
-rw-rw----    1 the-cave the-cave      448 Mar  3 00:00 q18pjwO-606273

# cat /var/mail/SERVERS/the-cave.net/testing/q18pjwO-606273
Return-path: <address@hidden>
Envelope-to: address@hidden
Delivery-date: Mon, 03 Mar 2003 00:00:48 -0700
Received: from root by derf.thecave.net with local (Exim 4.12)
        id 18pjvy-0007O4-00
        for address@hidden; Mon, 03 Mar 2003 00:00:43 -0700
From: address@hidden
To: address@hidden
Subject: Testing.
Message-Id: <address@hidden>
Date: Mon, 03 Mar 2003 00:00:43 -0700

Here's a test message to read.

--------------------------------------
and then I logged in to the tpop3d server:
--------------------------------------

# telnet localhost 111
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <address@hidden>
user address@hidden
+OK Tell me your password.
pass xxxxxxx
+OK Welcome aboard! You have no messages at all.
list
+OK Scan list follows:
.
quit
+OK Done

--------------------------------------
So no messages for me, even tho there is one waiting in the box.
Here's what the mail server session looked like:
--------------------------------------

# tpop3d -dv
listener_new: gethostbyaddr(0.0.0.0): cannot resolve name
listener_new: 0.0.0.0: no domain suffix can be appended for this address
listener_new: 0.0.0.0: using fallback domain suffix `derf.thecave.net'
listening on address 0.0.0.0, port 111, domain derf.thecave.net
1 authentication drivers successfully loaded
net_loop: tpop3d version 1.4.1 successfully started
connection_sendresponse: client [6]127.0.0.1/derf.thecave.net: sent `+OK <address@hidden>'
listeners_post_select: client [6]127.0.0.1/derf.thecave.net: connected
connection_parsecommand: client [6]127.0.0.1/derf.thecave.net: received `user address@hidden' connection_sendresponse: client [6]127.0.0.1/derf.thecave.net: sent `+OK Tell me your password.' connection_parsecommand: client [6]127.0.0.1/derf.thecave.net: received `pass [...]' auth_mysql_new_user_pass: SQL query: SELECT concat(domain.path, '/', popbox.mbox_name), popbox.password_hash, domain.unix_user, 'bsd' FROM popbox, domain WHERE popbox.local_part = 'testing' AND popbox.domain_name = 'the-cave.net' AND popbox.domain_name = domain.domain_name authcontext_new_user_pass: began session for address@hidden' with mysql; uid 1068, gid 1068 fork_child: address@hidden(127.0.0.1): successfully authenticated with mysql
fork_child: new child is PID 32074
connection_sendresponse: client address@hidden(127.0.0.1): sent `+OK Welcome aboard! You have no messages at all.' connection_parsecommand: client address@hidden(127.0.0.1): received `list' connection_sendresponse: client address@hidden(127.0.0.1): sent `+OK Scan list follows:' connection_do: client address@hidden(127.0.0.1): sent 1-line scan list connection_parsecommand: client address@hidden(127.0.0.1): received `quit' connection_sendresponse: client address@hidden(127.0.0.1): sent `+OK Done' connections_post_select: client address@hidden(127.0.0.1): disconnected
authcontext_delete: finished session for address@hidden' with mysql

--------------------------------------
I'm thinking that by this line:
        popbox.mbox_name), popbox.password_hash, domain.unix_user, 'bsd'
That the server is still trying to use the bsd mailbox format.
here's what tpop3d -h shows for available mailbox drivers:
Available mailbox drivers:

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

and here's what I've tried to specify in my config:
        mailbox: maildir:/var/mail/SERVERS/$(domain)/$(localpart)
(I've also tried with bsd: and both maildir and bsd)

Where am I going wrong?







reply via email to

[Prev in Thread] Current Thread [Next in Thread]