From nobody@www.freebsd.org  Sun May 19 02:12:12 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id C09EA37B409
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 May 2002 02:12:11 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4J9C2hG000559
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 May 2002 02:12:02 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g4J9C2Dr000558;
	Sun, 19 May 2002 02:12:02 -0700 (PDT)
Message-Id: <200205190912.g4J9C2Dr000558@www.freebsd.org>
Date: Sun, 19 May 2002 02:12:02 -0700 (PDT)
From: Daichi GOTO <daichi@ongs.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ports: a bug fix of mail/wmpop3
X-Send-Pr-Version: www-1.0

>Number:         38281
>Category:       ports
>Synopsis:       ports: a bug fix of mail/wmpop3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jim
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 19 02:20:01 PDT 2002
>Closed-Date:    Sun Aug 04 13:41:32 PDT 2002
>Last-Modified:  Sun Aug 04 13:41:32 PDT 2002
>Originator:     Daichi GOTO
>Release:        FreeBSD 4.4-Release
>Organization:
ONGS Ins.
>Environment:
FreeBSD bigchicken.vnet 4.4-RELEASE FreeBSD 4.4-RELEASE #13: Wed Nov 28 09:25:51 JST 2001     root@brave.vnet:/usr/src/sys/compile/Brave  i386
>Description:
The wmpop3 use LAST command to POP3 server. But 
LAST command of POP3 is removed at RFC1725. 
The POP3 is defined at RFC1081, RFC1225, RFC1460,
RFC1725, RFC1939. Yes, the LAST command is defined 
among RFC1081 and RFC1460. So some POP3 servers can
use LAST command. But the other POP3 servers cannot
use it.

People that uses POP3 server without LAST command 
support cannot use the wmpop3. This is not
desirable(I am using a POP3 server that does not
supprt LAST command. It is slightly sad). I want 
Mr. Scott Holden(who made wmpop3) to release the 
new version which applied the patch. I mailed to
him but no replay. So I write this message as
FreeBSD problem report. Please commit this.

>How-To-Repeat:
Use pop3 server that dose not support LANT command.
>Fix:
Update wmpop3 ports with follow patch.


diff -u -r -N /usr/ports/mail/wmpop3.orig/files/patch-ab /usr/ports/mail/wmpop3/files/patch-ab
--- /usr/ports/mail/wmpop3.orig/files/patch-ab  Thu Jan  1 09:00:00 1970
+++ /usr/ports/mail/wmpop3/files/patch-ab       Sat Mar  2 13:27:20 2002
@@ -0,0 +1,15 @@
+--- Pop3Client.c.orig  Sat Mar  2 13:18:27 2002
++++ Pop3Client.c       Sat Mar  2 13:23:11 2002
+@@ -153,7 +153,12 @@
+
+      if( temp[0] != '+' ){
+          perror("Error Reciving Stats");
++         perror("This pop3 server dose not support LAST command.");
++         perror("I use 0 instread of the unkown result.");
++         pc->numOfUnreadMessages = pc->numOfMessages;
++/*
+          return -1;
++*/
+      }
+      return 1;
+
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->jim 
Responsible-Changed-By: lioux 
Responsible-Changed-When: Sun Aug 4 12:06:03 PDT 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38281 
State-Changed-From-To: open->closed 
State-Changed-By: jim 
State-Changed-When: Sun Aug 4 13:41:10 PDT 2002 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38281 
>Unformatted:
