From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26260 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Need help switching to IMAP Date: 06 Nov 1999 22:19:56 +0100 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=us-ascii X-Trace: main.gmane.org 1035163504 18493 80.91.224.250 (21 Oct 2002 01:25:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:25:04 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA11777 for ; Sat, 6 Nov 1999 16:20:32 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB24956; Sat, 6 Nov 1999 15:20:29 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 06 Nov 1999 15:20:49 -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 PAA12911 for ; Sat, 6 Nov 1999 15:20:39 -0600 (CST) Original-Received: from badis.pdc.kth.se (root@badis.pdc.kth.se [130.237.221.45]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA11772 for ; Sat, 6 Nov 1999 16:20:04 -0500 (EST) Original-Received: (from jas@localhost) by badis.pdc.kth.se (8.9.3/8.9.3) id WAA03162; Sat, 6 Nov 1999 22:19:57 +0100 Original-To: Denys Duchier In-Reply-To: Denys Duchier's message of "06 Nov 1999 21:06:07 +0100" Original-Lines: 89 User-Agent: Gnus/5.07009801 (Pterodactyl Gnus v0.98.1) Emacs/20.4.90 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26260 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26260 Denys Duchier writes: > I don't know anything about IMAP and the documentation included in > pGnus 0.98 does not leave me with enough confidence to take the > plunge without asking first some advice on this list. Here are two links that describe IMAP briefly, you'll probably have a clearer view and perhaps find the Gnus/imap documentation more useful after browsing through theese. http://www.imap.org/whatisIMAP.html http://www.imap.org/imap.vs.pop.brief.html > 1. Assuming my imap server is on machine "crazy.glue.com" and my user > id on that machine is "crumbastic", I should set: > > (setq mail-sources '((imap :server "crazy.glue.com" :user "crumbastic"))) > > right? Yes, that would work. But by using `mail-sources' you wouldn't take advantage of IMAPs feature though, you'll only use it as it was a POP server and download all articles and plunk them into nnml or whatever on your local disk. This might be what you want though. > 2. What happens to gnus-secondary-select-methods? Instead of: > > (setq gnus-secondary-select-methods '((nnfolder ""))) > > I should now leave it empty, right? Well, you'll have to decide. 1) Use nnfolder and the mail-source above. This keeps all mail on your local disk. Then keep `g-s-s-methods' as is. 2) Use nnimap. All mail is on the IMAP server. Then add something like (nnimap "" (nnimap-address "your.mail.server")) to `g-s-s-methods'. > 3. What happens to all my mail folders? Can I pour them into the imap > magic lantern? like, by respooling or something? If you go for 1, nothing happen to your mail folders. If you go for 2, you can copy your nnfolder groups into nnimap groups. (Don't move them unless you've made sure everything works.) > By the way, where do all my imap folders/mailboxes live anyway? Is > this configurable? It depend on the IMAP server, you'll have to ask your administrators. > 4. How do I perform splitting? I guess nnmail-split-methods doesn't > apply. So, what's the right incantation? If you go for 1, splitting remains unaffected. If you go for 2, you can use procmail or Sieve on the IMAP server to do the splitting, or you can use the splitting in nnimap, see the chapter "Splitting in IMAP". > `imap' > Get mail from a IMAP server. If you don't want to use IMAP as > intended, as a network mail reading protocol, for some reason or > other Gnus let you treat it similar to a POP server and fetches > articles from a given IMAP mailbox. > > I can't figure out what is being said. Is IMAP being used as > intended or not? No, by using mail-sources you're not using IMAP as intended, you're only using it as a POP server. > Does Gnus `let' me treat it as a POP server (if yes, how) or > `force' me to treat it so, regardless of my inclination? Gnus let you treat it as a POP server by using mail-sources, if you want that. It does not force you to do it, you can use nnimap instead if you want to use IMAP as it's intended (ie all mail reside on the server). > Any help would be greatly appreciated. Better yet, it would be really > handy to have a "Gnus/IMAP for Dummies" section in the manual :-) A "Gnus for dummies" would be quite useful.