Re: [Dbmail] Bugfix: SMTP signal 11

2002-12-07 Thread Andreas Richter
Hi,
Yes, this is the same thing I am seeing. There is an exit(1) above a section
where it says that whoever wrote the code didn't know why it would die
trying to close the connection which was still open after the signal
handler. It's in serverchild.c. I was thinking that that's what the segv
was. Additionally I have seen a note about a crash due to long command lines
(maybe long user names?!) I just reverted to rc4 for the pop3 server and it
works. I can still use 1.0 of the other apps (imapd and smtp)
Thanks,
Andy


On 12/6/02 10:34, "Bret Baptist" <[EMAIL PROTECTED]> wrote:

> On Thursday 05 December 2002 8:32 am, Andreas Richter wrote:
>> Hi,
>> I noticed that there is an extra exit(1) in serverchild.c. Will this fix
>> the pop3d SEGV crash? I am including a more complete list of the Trace
>> output that leads to and covers the crash.
>> Thanks,
>> Andy
> 
> Where is this extra exit(1) at?  I have not been able to use dbmail-1.0
> reliably for pop3 connections.  I would get random users not able to connect
> and running out of child processes.  Is this what you are seeing as well?
> 
> Thanks.
> 





Re: [Dbmail] Bugfix: SMTP signal 11

2002-12-06 Thread Bret Baptist
On Thursday 05 December 2002 8:32 am, Andreas Richter wrote:
> Hi,
> I noticed that there is an extra exit(1) in serverchild.c. Will this fix
> the pop3d SEGV crash? I am including a more complete list of the Trace
> output that leads to and covers the crash.
> Thanks,
> Andy

Where is this extra exit(1) at?  I have not been able to use dbmail-1.0 
reliably for pop3 connections.  I would get random users not able to connect 
and running out of child processes.  Is this what you are seeing as well?

Thanks.


-- 
Bret Baptist
Systems and Technical Support Specialist
[EMAIL PROTECTED]
Internet Exposure, Inc.
http://www.iexposure.com
 
(612)676-1946 x17
Web Development-Web Marketing-ISP Services
--


Today is the tomorrow you worried about yesterday.



Re: [Dbmail] Bugfix: SMTP signal 11

2002-12-05 Thread Andreas Richter
Hi,
I noticed that there is an extra exit(1) in serverchild.c. Will this fix the
pop3d SEGV crash? I am including a more complete list of the Trace output
that leads to and covers the crash.
Thanks,
Andy


Here is the log:

Dec  4 18:54:07 serv0r dbmail/pop3d[4885]: pop3(): incoming buffer: [QUIT]
Dec  4 18:54:07 serv0r dbmail/pop3d[4885]: pop3(): command looked up as
commandtype 0
Dec  4 18:54:07 serv0r dbmail/pop3d[4885]: pop3_handle_connection(): user
[EMAIL PROTECTED] logging out [message=90, octets=5896185]
Dec  4 18:54:07 serv0r dbmail/pop3d[4885]: PerformChildTask(): client
handling complete, closing streams
Dec  4 18:54:07 serv0r dbmail/pop3d[4885]: PerformChildTask(): connection
closed
Dec  4 18:54:07 serv0r dbmail/pop3d[4885]: PerformChildTask(): waiting for
connection
Dec  4 18:55:07 serv0r dbmail/pop3d[4887]: PerformChildTask(): incoming
connection from [127.0.0.1 (localhost.localdomain)]
Dec  4 18:55:07 serv0r dbmail/pop3d[4887]: PerformChildTask(): client info
init complete, calling client handler
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: pop3(): incoming buffer: [USER
[EMAIL PROTECTED]
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: pop3(): command issued :cmd
[USER], value [EMAIL PROTECTED]
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: pop3(): command looked up as
commandtype 1
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: pop3(): incoming buffer: [PASS
password]
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: pop3(): command issued :cmd
[PASS], value [password]
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: pop3(): command looked up as
commandtype 2
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: __auth_query(): executing query
[SELECT user_idnr, passwd, encryption_type FROM users WHERE userid =
'[EMAIL PROTECTED]']
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: auth_validate(): validating using
crypt() encryption
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: __auth_query(): executing query
[UPDATE users SET last_login = '2002-12-04 18:55:08' WHERE user_idnr = 3]
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: pop3(): validation ok, creating
session
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: db_query(): executing [SELECT
idnr FROM pbsp WHERE ipnumber = '127.0.0.1']
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: db_query(): executing [UPDATE
pbsp SET since = '2002-12-04 18:55:08' WHERE idnr=1]
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: db_log_ip(): ip [127.0.0.1]
logged
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: db_query(): executing [SELECT
mailbox_idnr FROM
mailboxes WHERE name='INBOX' AND owner_idnr=3]
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: db_query(): executing [SELECT *
FROM messages WHERE mailbox_idnr=10 AND status<002 AND unique_id!="" order
by status ASC]
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: db_createsession(): adding items
to list
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: db_createsession(): adding
succesfull
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: pop3(): user
[EMAIL PROTECTED] logged in [messages=90, octets=5896185]
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: pop3(): incoming buffer: [UIDL]
Dec  4 18:55:08 serv0r dbmail/pop3d[4887]: pop3(): command looked up as
commandtype 10
Dec  4 18:55:09 serv0r dbmail/pop3d[4887]: pop3(): incoming buffer: [QUIT]
Dec  4 18:55:09 serv0r dbmail/pop3d[4887]: pop3(): command looked up as
commandtype 0
Dec  4 18:55:09 serv0r dbmail/pop3d[4887]: pop3_handle_connection(): user
[EMAIL PROTECTED] logging out [message=90, octets=5896185]
Dec  4 18:55:09 serv0r dbmail/pop3d[4887]: PerformChildTask(): client
handling complete, closing streams
Dec  4 18:55:09 serv0r dbmail/pop3d[4887]: PerformChildTask(): connection
closed
Dec  4 18:55:09 serv0r dbmail/pop3d[4887]: PerformChildTask(): waiting for
connection
Dec  4 18:55:50 serv0r dbmail/pop3d[4886]: PerformChildTask(): incoming
connection from [127.0.0.1 (localhost.localdomain)]
Dec  4 18:55:50 serv0r dbmail/pop3d[4886]: PerformChildTask(): client info
init complete, calling client handler
Dec  4 18:55:51 serv0r dbmail/pop3d[4886]: pop3(): incoming buffer: [USER
[EMAIL PROTECTED]
Dec  4 18:55:51 serv0r dbmail/pop3d[4886]: pop3(): command issued :cmd
[USER], value [EMAIL PROTECTED]
Dec  4 18:55:51 serv0r dbmail/pop3d[4886]: pop3(): command looked up as
commandtype 1
Dec  4 18:55:51 serv0r dbmail/pop3d[4886]: pop3(): incoming buffer: [PASS
password]
Dec  4 18:55:51 serv0r dbmail/pop3d[4886]: pop3(): command issued :cmd
[PASS], value [password]
Dec  4 18:55:51 serv0r dbmail/pop3d[4886]: pop3(): command looked up as
commandtype 2
Dec  4 18:55:51 serv0r dbmail/pop3d[4886]: __auth_query(): executing query
[SELECT user_idnr, passwd, encryption_type FROM users WHERE userid =
'[EMAIL PROTECTED]']
Dec  4 18:55:51 serv0r dbmail/pop3d[4886]: auth_validate(): validating using
crypt() encryption
Dec  4 18:55:51 serv0r dbmail/pop3d[4886]: __auth_query(): executing query
[UPDATE users SET last_login = '2002-12-04 18:55:51' WHERE user_idnr = 3]
Dec  4 18:55:51 serv0r dbmail/pop3d[4886]: pop3(): validation ok, creating
session
Dec  4 18:55:51 serv0r 

[Dbmail] Bugfix: SMTP signal 11

2002-12-05 Thread

hi all,

some stupid left-over code from old config-table style code.. 
embarrassing but it is now fixed in cvs; i'll put the new tarball on 
the site in a few minutes.


regards roel