From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/27086 Path: main.gmane.org!not-for-mail From: David Maslen Newsgroups: gmane.emacs.gnus.general Subject: HOWTO setup nnimap for the first time. Date: 19 Nov 1999 22:01:38 +1100 Sender: owner-ding@hpc.uh.edu Message-ID: <87bt8qu4ml.fsf_-_@iname.com> 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 1035164174 22780 80.91.224.250 (21 Oct 2002 01:36:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:36:14 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA16086 for ; Fri, 19 Nov 1999 06:03:42 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id FAB07924; Fri, 19 Nov 1999 05:03:40 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 Nov 1999 05:03:32 -0600 (CST) 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 FAA00221 for ; Fri, 19 Nov 1999 05:03:17 -0600 (CST) Original-Received: from mail.vicnet.net.au (merri.vicnet.net.au [203.10.72.9]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA16081 for ; Fri, 19 Nov 1999 06:02:43 -0500 (EST) Original-Received: from imp.taz.net.au (nas08-026.dialup.vicnet.net.au [202.137.86.26]) by mail.vicnet.net.au (Postfix) with ESMTP id 86BD3F813C for ; Fri, 19 Nov 1999 22:02:33 +1100 (EST) Original-Received: from imp.taz.net.au (trinity.2d.private [10.10.10.9]) by imp.taz.net.au (Postfix) with SMTP id 9F65C2A01B for ; Fri, 19 Nov 1999 22:12:37 +1100 (EST) Original-Received: by imp.taz.net.au (sSMTP sendmail emulation); Fri, 19 Nov 1999 22:01:38 +1100 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "07 Nov 1999 21:57:12 +0100" Original-Lines: 70 User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) XEmacs/21.1 (Bryce Canyon) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:27086 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:27086 Lars Magne Ingebrigtsen writes: > Simon Josefsson writes: > > Most already is. The stuff left in nnimap.texi are on the topic of > > "Neat configuration tips" which doesn't really fit anywhere in the > > Gnus manual. It would in a "Gnus for dummies" though. :-) > > Well, I think you could do a "Neat configuration tips" subsection in > the nnimap section... Well the time has come, I want to use nnimap, so I'm going to set it up for the first time and document it to make it easier for the next guy. I'm using xemacs 21.1.8 and this weeks cvs pgnus. First I had to ensure my imap server was working correctly. To do this, I had to add my name to the /etc/cram-md5.pwd file so that that form of authentication would work. I wasn't able to get nnimap to use login for plain text authentication. Don't know why. In the *Group* buffer I pressed G-m to make a new inap group. Answered the questions, pretty straight forward. Called it inbox, used nnimap and typed in the name of my mailserver. Commented out the line in my .gnus.el that used the popserver as a spool ;nnmail-spool-file "po:dmm" Restarted gnus got the error message about group INBOX is not uidvalid Typed `G p' and removed the (uidvalidity ...) parenthesized item from the list of parenthesized items. Sent my self some email. It seems to work. Setup Mail splitting. Added ;; Spliting for IMAP ;Messages only appear in the first group they match (setq nnimap-split-crosspost nil) ;Split the incomming mail from the INBOX (setq nnimap-split-inbox '("INBOX")) To my .gnus.el Then copied my existing nnmail-split-methods to nnimap-split-rule Sent myself some more test mail. All I have to do now is subscribe to the new imap groups of the same names as my previous nnfolders. The easiest way to do this seems to be wait until I have received email for most of my splits, which causes the additional imap boxes to be automatically created. Then press ^ in the *Group* buffer to get to the server buffer, then edit the imap server listing. Subscribing to the mailboxes that appear there. One thing I didn't do, and not sure why/if I need to is change my gnus-secondary-select-methods to look something like the following; (setq gnus-secondary-select-methods '((nnfolder "") (nnimap "" (nnimap-address "mail.company.com")))) This summary has been written after re reading the useful and informative posts of a number of people on the ding mailing list. So thanks to; Denys Duchier Simon Josefsson Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) but of course there were others....