[tpop3d-discuss] Unable to open mailbox; it may be locked by another concurrent session
Leon Botes
leon at trusc.net
Tue, 25 Feb 2003 18:23:50 +0200
New to tpop3d.
FreeBSD 4.7-RELEASE
The MTA is Exim 4.12
Maybe this is just a permission problem, any suggestions.
Mail gets delivered to /var/mail/(username)
ls -la on /var/mail:
drwxrwx--- 2 root mail 512 Feb 25 18:23 .
drwxr-xr-x 25 root wheel 512 Feb 18 12:33 ..
-rw------- 1 mailnull mail 403 Feb 25 18:23 leon
tpop3d.conf:
listen-address: 192.168.254.10
max-children: 20
mailbox: bsd:/var/mail/$(user)
auth-pam-enable: yes
tcp-wrappers-name: mailnull
strip-domain: yes
When i try and authenticate in a telnet session:
-ERR Unable to open mailbox; it may be locked by another concurrent session.
The debug output looks like this:
connection_sendresponse: client [5]192.168.254.10/trusc.office: sent `+OK
<1ab437948c09d4fa303d164fcb11f0e0@trusc.office>'
listeners_post_select: client [5]192.168.254.10/trusc.office: connected
connection_parsecommand: client [5]192.168.254.10/trusc.office: received
`user leon'
connection_sendresponse: client [5]192.168.254.10/trusc.office: sent `+OK
Tell me your password.'
connection_parsecommand: client [5]192.168.254.10/trusc.office: received
`pass [...]'
authcontext_new_user_pass: began session for `leon' with pam; uid 1000, gid
0
fork_child: [5]leon(192.168.254.10): successfully authenticated with pam
mailspool_new_from_file: stat(/var/mail/leon): Permission denied
fork_child: new child is PID 95532
connection_sendresponse: client [5]leon(192.168.254.10): sent `-ERR Unable
to open mailbox; it may be locked by another concurrent session.'
authcontext_delete: finished session for `leon' with pam
Can someone please tell me what i am doing wrong.
Thanks
Leon