From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67632 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: how to speed up connection to a imap server Date: Mon, 20 Oct 2008 12:44:03 +0200 Message-ID: <87y70jzguk.fsf@thinkpad.tsdh.de> References: <87ej2bfvb9.fsf@mat.ucm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224515657 30171 80.91.229.12 (20 Oct 2008 15:14:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2008 15:14:17 +0000 (UTC) Cc: ding@gnus.org To: Uwe Brauer Original-X-From: ding-owner+M16084@lists.math.uh.edu Mon Oct 20 17:15:10 2008 connect(): Connection refused Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KrsGp-0002W2-1j for ding-account@gmane.org; Mon, 20 Oct 2008 12:45:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KrsF9-0003zD-NW; Mon, 20 Oct 2008 05:44:11 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KrsF8-0003yy-F0 for ding@lists.math.uh.edu; Mon, 20 Oct 2008 05:44:10 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KrsF3-0000Aw-W2 for ding@lists.math.uh.edu; Mon, 20 Oct 2008 05:44:10 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KrsFA-0001Km-00 for ; Mon, 20 Oct 2008 12:44:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 6754C789A7B0; Mon, 20 Oct 2008 12:44:04 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22232-05-2; Mon, 20 Oct 2008 12:44:03 +0200 (CEST) X-CHKRCPT: Envelopesender vrfy tassilo@member.fsf.org Original-Received: from thinkpad.tsdh.de (dhcp165.uni-koblenz.de [141.26.71.165]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 78D15789A7A7; Mon, 20 Oct 2008 12:44:03 +0200 (CEST) Mail-Copies-To: never In-Reply-To: <87ej2bfvb9.fsf@mat.ucm.es> (Uwe Brauer's message of "Mon, 20 Oct 2008 11:51:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67632 Archived-At: Uwe Brauer writes: Hi Uwe, > It seems that the connection to my imap server gets slower and slower > (I have agentized the server). > > I have the following setting > > (setq gnus-secondary-select-methods > '( > (nnimap "ucimap.ucm.es" (nnimap-stream network)))) > > Is there any way of speeding up the connection to that server, by > setting additional parameters depending on the character of this imap > server? Like setting the nnimap-server-port explicitly to 143 so > something like this. I think you've already done that implicitly by setting nnimap-stream to network and thus forbidding encrypted connections. Is that really what you want? The overhead of encrytion (if there's any) won't make a difference compared to the normal network latency. The only thing that will speed up things quite a lot is to install a local imap server and let gnus connect to it. Syncing between ucimap.ucm.es and the local server can be done with offlineimap [1], for example. Bye, Tassilo __________ [1] http://software.complete.org/software/projects/show/offlineimap