[tpop3d-discuss]Confirmed bug with tpop3d-1.5.3

Darren Casey exim at darrencasey.co.uk
Sun, 4 Apr 2004 10:26:51 +0100


This bug as been confirmed by testing the same spool file with another POP3
deamon.

Its cutting spool files in half, the first half of the message with headers
is coming in but getting cut short, the next message then comes in with no
headers and the remainder of the message. Using another POP3 daemon it works
correctly and downloads correctly.

I have checked the spool file for any obvious errors and can find none, I
have also checked with the previous version of tpop and had the same
results.

Error happens with MySQL auth and passwd auth.


Thanks

Darren


cat spoolfile | grep "^Subject" | wc -l
     86

Log in via pop3 and you get
+OK Welcome aboard! You have 86 messages.

So it seems to tally.

Version : tpop3d-1.5.3
OS: Slackware 9
Kernel : 2.4.25

Configure :
./configure --disable-snide-comments --enable-tcp-wrappers --with-mailspool-
directory=/home/spool/mail --enable-auth-passwd --enable-shadow-passwords --
disable-auth-pam --enable-auth-mysql --with-mysql-root=/usr/local/mysql -wit
h-mysql-include-dir=/usr/local/mysql/include/mysql  --with-mysql-lib-dir=/us
r/local/mysql/lib/mysql

tpop3d.conf
listen-address: 0.0.0.0:110
max-children: 50
append-domain: no
strip-domain: yes
apop-only: no
log-facility: mail
mailbox: bsd:/var/spool/mail/$(user)
auth-passwd-enable: yes
auth-passwd-mail-group: users

auth-mysql-enable: yes
auth-mysql-mail-group: mail
auth-mysql-hostname: localhost
auth-mysql-database: reseller
auth-mysql-username: pop3
auth-mysql-password: pop3password
auth-mysql-pass-query: \
SELECT CONCAT('/home/spool/mail/', all_pops.username), \
CONCAT('{plaintext}', all_pops.password), \
all_pops.username,'bsd' \
FROM all_pops \
where all_pops.alias='$(local_part)' and all_pops.domain='$(domain)';

I have included most of the e-mail that is causing the problems (There have
been others) and also included a telnet session of the retr command.

The problem is with the following e-mail :-
------------------------------------
>From username Sat Apr  3 23:40:19 2004
Return-Path: mailman@adc3.apple.com
Received: from bz4.apple.com ([17.254.13.39])
        by server.domain.net with esmtp (Exim 4.30)
        id 1BA2Es-0000jm-G4
        for apple@domain.org; Sat, 03 Apr 2004 23:40:18 -0800
Received: from adc3.apple.com (a17-203-102-127.apple.com [17.203.102.127])
        by bz4.apple.com (8.12.11/8.12.11) with ESMTP id i347eHEe003678
        for <apple@domain.org>; Sat, 3 Apr 2004 23:40:17 -0800 (PST)
Received: (from mailman@localhost)
        by adc3.apple.com (8.12.2/8.12.2) id i347nvYV026506
        for apple@domain.org; Sat, 3 Apr 2004 23:49:57 -0800 (PST)
Date: Sat, 3 Apr 2004 23:49:57 -0800 (PST)
X-Mailer-Version: 20030726
X-From: mailman@adc3.apple.com
X-Recipient: apple@domain.org
Message-Id: <200404040749.i347nvYV026506@adc3.apple.com>
From: Apple Developer Connection <noreply@adc.apple.com>
To: apple@domain.org
Subject: ADC News #392
Reply-To: Apple Developer Connection <noreply@adc.apple.com>
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.domain.net
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no
version=2.63
X-Spam-Level:

===========================================================

     A P P L E    D E V E L O P E R    C O N N E C T I O N

                          N E W S

                  Issue 392   Apr  2, 2004

              http://developer.apple.com/devnews/

===========================================================
WWDC 2004 Session Descriptions Available

>From basics to best practices, the in-depth technical sessions at
WWDC provide the latest details about Mac OS X and Apple technologies.
More than 100 sessions for WWDC 2004 are now featured online, with
more to be added over the next few weeks.
http://developer.apple.com/wwdc/

----------------------------------------
IN THIS ISSUE
----------------------------------------
ADC MEMBER NEWS
[1]  ADC Mailing Now Shipping
[2]  Ninth Annual Apple Design Awards

HARDWARE
[3]  New Releases: Mac OS X USB Software Debug Kit 208.4.5
[4]  New Article: High Performance Computing for the Rest of Us

INTERNET AND SERVER
[5]  Revised Internet and Web Reference Library Documents
[6]  Web Development Tool News: PageSpinner 4.6.1, iTools 7.3
------------------------------------

retr 81
+OK Message follows
Return-Path: mailman@adc3.apple.com
Received: from bz4.apple.com ([17.254.13.39])
        by server.domain.net  with esmtp (Exim 4.30)
        id 1BA2Es-0000jm-G4
        for apple@domain.org; Sat, 03 Apr 2004 23:40:18 -0800
Received: from adc3.apple.com (a17-203-102-127.apple.com [17.203.102.127])
        by bz4.apple.com (8.12.11/8.12.11) with ESMTP id i347eHEe003678
        for <apple@domain.org>; Sat, 3 Apr 2004 23:40:17 -0800 (PST)
Received: (from mailman@localhost)
        by adc3.apple.com (8.12.2/8.12.2) id i347nvYV026506
        for apple@domain.org; Sat, 3 Apr 2004 23:49:57 -0800 (PST)
Date: Sat, 3 Apr 2004 23:49:57 -0800 (PST)
X-Mailer-Version: 20030726
X-From: mailman@adc3.apple.com
X-Recipient: apple@domain.org
Message-Id: <200404040749.i347nvYV026506@adc3.apple.com>
From: Apple Developer Connection <noreply@adc.apple.com>
To: apple@domain.org
Subject: ADC News #392
Reply-To: Apple Developer Connection <noreply@adc.apple.com>
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.domain.net
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no
version=2.63
X-Spam-Level:

===========================================================

     A P P L E    D E V E L O P E R    C O N N E C T I O N

                          N E W S

                  Issue 392   Apr  2, 2004

              http://developer.apple.com/devnews/

===========================================================
WWDC 2004 Session Descriptions Available

.
retr 82
+OK Message follows
WWDC provide the latest details about Mac OS X and Apple technologies.
More than 100 sessions for WWDC 2004 are now featured online, with
more to be added over the next few weeks.
http://developer.apple.com/wwdc/

----------------------------------------
IN THIS ISSUE
----------------------------------------
ADC MEMBER NEWS