[tpop3d-discuss] Using maildir

Jakob Hirsch jh at plonk.de
Sat, 11 Aug 2001 19:28:52 +0200


Hi,

I'm just setting up tpop3d 1.3.4 as pop3-server for our new mail-server.
I don't want to use the BSD-mailboxes, but qmail-style maildir. So I
have compiled tpop3d with --enable-mbox-maildir and put the following
into /etc/tpop3d.conf:
mailbox: maildir:/var/spool/mail/$(domain)/$(user)
(I also tried a trailing "/", without a change in behaviour)

When I want to login I get a
-ERR Unable to open mailbox; it may be locked by another concurrent
session.

Logfile says:
Aug 11 18:39:04 lx4 tpop3d[11578]: net_loop: tpop3d version 1.3.4
successfully started
Aug 11 18:39:09 lx4 tpop3d[11578]: listeners_post_select: client
[7]193.159.189.42/lx4.netlight.de: connected
Aug 11 18:39:17 lx4 tpop3d[11578]: authcontext_new_user_pass: began
session for `jakob!xxx' with mysql; uid 18, gid 12
Aug 11 18:39:17 lx4 tpop3d[11578]: fork_child: new child is PID 11581
Aug 11 18:39:17 lx4 tpop3d[11581]: mailspool_new_from_file: Is a
directory
Aug 11 18:39:17 lx4 tpop3d[11581]:
dotfile_unlock(/var/spool/mail/xxx/jakob): open: No such file or
directory
Aug 11 18:39:17 lx4 tpop3d[11581]: authcontext_delete: finished session
for `jakob!xxx' with mysql

If I compile tpop3d with --disable-dotfile-locking I get the same, but
without the "dotfile_unlock.." message in log.

BSD-Mailboxes work without problem.

I think I'll play with this for another while, but maybe somebody has a
hint for me.

--
MfG, Jakob Hirsch. ICQ# 78958588
77652 Offenburg, Germany