[tpop3d-discuss]-ERR Can't send that message; it may have been deleted by a concurrent session

Chad Jackson [LJNet Consultants] chadj at ljnetconsultants.com
Fri, 22 Oct 2004 19:49:20 +0200


I am not quite sure what the problem is, but comparing to my config I see
you are missing the mailbox line in your config. Mine looks like the one
below and my the one below. I would also look at the auth-mysql-pass-query.
You seem to have it putting home in front of the /Maildir, which I am not
sure if you want it to be there. I have included my query as well to give a
comparison. If your are doing virtual mail, including the domain in the path
will allow you to have the same username at more that two domains. I.e.
chad@abc.com in /var/mail/abc.com/chad and chad@xyz.com in
/var/mail/xyz.com/chad.

mailbox: bsd:/var/mail/vhosts/$(domain)/$(user)
auth-mysql-pass-query: select concat( '/var/mail/vhosts/', '$(domain)', '/',
'$(local_part)'), Aliases.password_hash , concat('maildel'),concat('bsd')
from Aliases WHERE local_part = '$(local_part)' and domain_name =
'$(domain)'

Hope this helps.

Regards
Chad






-----Original Message-----
From: tpop3d-discuss-admin@lists.beasts.org
[mailto:tpop3d-discuss-admin@lists.beasts.org]On Behalf Of Bruno Ricardo
Frazzon
Sent: 22 October 2004 02:55
To: tpop3d-discuss@lists.beasts.org
Subject: [tpop3d-discuss]-ERR Can't send that message; it may have been
deleted by a concurrent session


Hello,

I'm trying to set up a new mail server in my lab, but I'm stuck on
tpop3d. It occurs when I try to check my mail and my "/Maildir'  is
NOT empty, the error is mencioned in the syslog cut below. I set the
directory's permission to 777 so I could discard tpop3d from being
unable to access/write/read there. Can anyone give me a hint where I
mistake?

Thanks in advance,

 Bruno R. Frazzon

tpop3d-1.5.3

./configure --sysconfdir=/etc --disable-auth-pam --enable-auth-mysql
--with-mysql-lib-dir=/usr/lib/mysql
--with-mysql-include-dir=/usr/include/mysql --disable-mbox-bsd
--enable-mbox-maildir

tpop3d.conf

listen-address: 0.0.0.0:110(lcc.furb.br)
max-children: 50
timeout-seconds: 600
append-domain: yes
auth-mysql-enable: yes
auth-mysql-hostname: localhost
auth-mysql-database: vmail
auth-mysql-username: username
auth-mysql-password: password
auth-mysql-pass-query: SELECT CONCAT(home, '/Maildir'),
CONCAT('{crypt}', crypt),'mail','maildir' FROM users WHERE
id='$(local_part)' AND mbox_host='$(domain)' AND active='Y'

exim-4-43

exiscan-acl-4.43-28

MySQL

mysqladmin  Ver 8.23 Distrib 3.23.56, for slackware-linux on i386
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version          3.23.56-log
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/run/mysql/mysql.sock
Uptime:                 17 hours 23 min 3 sec

Threads: 1  Questions: 9706  Slow queries: 0  Opens: 39  Flush tables:
1  Open tables: 33 Queries per second avg: 0.155


Oct 21 15:49:48 server tpop3d[24216]: connection_sendresponse: client
[6]123.123.123.123/foo.com: sent `+OK
<db4ee0c7a5dbb0841f5a1f1a3954ca7f@foo.com>'
Oct 21 15:49:48 server tpop3d[24216]: listeners_post_select: client
[6]123.123.123.123/foo.com: connected to local address
123.123.123.123:110
Oct 21 15:49:48 server tpop3d[24216]: connection_parsecommand: client
[6]123.123.123.123/foo.com: received `USER username'
Oct 21 15:49:48 server tpop3d[24216]: connection_sendresponse: client
[6]123.123.123.123/foo.com: sent `+OK Tell me your password.'
Oct 21 15:49:48 server tpop3d[24216]: connection_parsecommand: client
[6]123.123.123.123/foo.com: received `PASS [...]'
Oct 21 15:49:48 server tpop3d[24216]: auth_mysql_new_user_pass: SQL
query: SELECT CONCAT(home, '/Maildir'), CONCAT('{crypt}',
crypt),'mail','maildir' FROM users WHERE id='username' AND
mbox_host='foo.com' AND active='Y'
Oct 21 15:49:48 server tpop3d[24216]: authcontext_new_user_pass: began
session for `username' with mysql; uid 8, gid 12
Oct 21 15:49:48 server tpop3d[24216]: fork_child:
[6]username(123.123.123.123): began session for `username' with mysql;
child PID is 24303
Oct 21 15:49:48 server tpop3d[24303]: maildir_new: scanned maildir
/home/vmail/domains/foo.com/username/Maildir (1 messages) in 0.000s
Oct 21 15:49:48 server tpop3d[24303]: connection_sendresponse: client
[6]username(123.123.123.123): sent `+OK Welcome aboard! You have
exactly one message.'
Oct 21 15:49:48 server tpop3d[24303]: connection_parsecommand: client
[6]username(123.123.123.123): received `LIST'
Oct 21 15:49:48 server tpop3d[24303]: connection_sendresponse: client
[6]username(123.123.123.123): sent `+OK Scan list follows:'
Oct 21 15:49:48 server tpop3d[24303]: do_list: client
[6]username(123.123.123.123): sent 2-line scan list
Oct 21 15:49:48 server tpop3d[24303]: connection_parsecommand: client
[6]username(123.123.123.123): received `UIDL'
Oct 21 15:49:48 server tpop3d[24303]: connection_sendresponse: client
[6]username(123.123.123.123): sent `+OK ID list follows:'
Oct 21 15:49:48 server tpop3d[24303]: do_uidl: client
[6]username(123.123.123.123): sent 2-line unique ID list
Oct 21 15:49:48 server tpop3d[24303]: connection_parsecommand: client
[6]username(123.123.123.123): received `RETR 1'
Oct 21 15:49:48 server tpop3d[24303]: do_retr: client
[6]username(123.123.123.123): sending message 1 (2446 bytes)
Oct 21 15:49:48 server tpop3d[24303]: connection_sendresponse: client
[6]username(123.123.123.123): sent `-ERR Can't send that message; it
may have been deleted by a concurrent session'
Oct 21 15:49:48 server tpop3d[24303]: maildir_sendmessage: unable to
send message 1
Oct 21 15:49:48 server tpop3d[24303]: do_retr: client
[6]username(123.123.123.123): failed to send message 1
Oct 21 15:49:48 server tpop3d[24303]: connection_parsecommand: client
[6]username(123.123.123.123): received `QUIT'
Oct 21 15:49:48 server tpop3d[24303]: connection_sendresponse: client
[6]username(123.123.123.123): sent `+OK Done'
Oct 21 15:49:48 server tpop3d[24303]: connections_post_select: client
[6]username(123.123.123.123): finished session for `username' with
mysql
Oct 21 15:49:48 server tpop3d[24303]: connections_post_select: client
[6]username(123.123.123.123): disconnected; 53/317 bytes read/written

_______________________________________________
tpop3d-discuss mailing list
tpop3d-discuss@lists.beasts.org
http://lists.beasts.org/mailman/listinfo/tpop3d-discuss