From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23401 Path: main.gmane.org!not-for-mail From: "Erik =?iso-8859-1?q?=D8stlyngen?=" Newsgroups: gmane.emacs.gnus.general Subject: Re: pop3-movemail trouble Date: 18 Jun 1999 15:11:20 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035161140 1800 80.91.224.250 (21 Oct 2002 00:45:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:45:40 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id JAA21730 for ; Fri, 18 Jun 1999 09:16:44 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id IAB18983; Fri, 18 Jun 1999 08:15:58 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 18 Jun 1999 08:16:20 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id IAA16001 for ; Fri, 18 Jun 1999 08:16:10 -0500 (CDT) Original-Received: from biff.stud.ntnu.no (biff.stud.ntnu.no [129.241.56.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id JAA21688 for ; Fri, 18 Jun 1999 09:15:10 -0400 (EDT) Original-Received: from DIFB0013 (D-172117-DHCP.medisin.ntnu.no [129.241.172.117]) by biff.stud.ntnu.no (8.9.1/8.9.3) with ESMTP id PAA19748 for ; Fri, 18 Jun 1999 15:15:04 +0200 (MET DST) Original-To: In-Reply-To: Stainless Steel Rat's message of "17 Jun 1999 16:46:01 -0400" Original-Lines: 37 User-Agent: Gnus/5.070088 (Pterodactyl Gnus v0.88) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:23401 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:23401 Stainless Steel Rat writes: > * "Erik Østlyngen" on Thu, 17 Jun 1999 > | But the response is the same. I still get the "Command line too long" > | error. I think I will see if the system administrator here knows what > | this error message means. > > That is a good idea. Or find out what POP server is being used (it is not > particularly obvious from this end), so I can take a look at the code and > see what it is doing. I solved the problem. In pop3.el, I changed the function pop3-send-command: (defun pop3-send-command (process command) (set-buffer (process-buffer process)) (goto-char (point-max)) (setq pop3-read-point (point)) (goto-char (point-max)) (process-send-string process command) (process-send-string process "\r\n") ) to: (defun pop3-send-command (process command) (set-buffer (process-buffer process)) (goto-char (point-max)) (setq pop3-read-point (point)) (goto-char (point-max)) (process-send-string process (concat command "\r\n")) ) I don't know _why_ this works better. If it is any help, the pop server answers "-ERR Command line too long" on very long commands, e.g. "USER aaaaaaaaaaaaa...(1700 chars)" -Erik Østlyngen