From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5060 Path: news.gmane.org!not-for-mail From: Jean Magnan de Bornier Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus + Imap Date: Sat, 14 May 2005 08:14:11 +0200 Organization: Guest of ProXad - France Message-ID: <87wtq2uyfg.fsf@borlap.bornier.net> References: <878y2kchl3.fsf@xabi.crans.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670864 25897 80.91.229.2 (31 Jan 2006 01:27:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:27:44 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:34:43 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!infeed-1.proxad.net!news12-e.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:etszAChOjpolrZgKmUo0FnUPCLU= Original-NNTP-Posting-Date: 14 May 2005 08:13:37 MEST Original-NNTP-Posting-Host: 82.251.2.173 Original-X-Trace: 1116051217 news12-e.free.fr 23862 82.251.2.173:2915 Original-X-Complaints-To: abuse@proxad.net Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5201 Original-Lines: 39 X-Gnus-Article-Number: 5201 Tue Jan 17 17:34:43 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5060 Archived-At: Xavier PESSOLES wrote : > Hi > > I would like to read mail on my server with gnus. > I have installed dovecot on my computer and I use procmail to sort my > mail in ~/Mail and other subfolders. > > I don't managed to find the good option of .gnus file to read my > mails. > Somebody could help me ? > > (i have these lines on my .emacs : > ;; Definit Gnus comme lecteur courriel > (custom-set-variables > ;; custom-set-variables was added by Custom -- don't edit or cut/paste it! > ;; Your init file should contain only one such instance. > '(load-home-init-file t t) > '(message-directory "~/Mail/") you should change this, this is your imap folder, gnus should not use it > '(read-mail-command (quote gnus)))) > ) Here is a minimal example of what you need: (setq gnus-select-method '(nntp "YOUR NNTP SERVER")) (setq gnus-secondary-select-methods '((nnimap "PUT A NAME HERE IF YOU LIKE" (nnimap-address "YOUR IMAP SERVER") (nnimap-server-port 143); not necessary as this port is the default (nnimap-authinfo-file "/home/user/.authinfo") ;useful if you want automatic authentication ))) Then you will have to subscribe to the boxes procmail has created with "U" (when connected to your server) hth, -- Jean Magnan de Bornier | Cours Victor Hugo e-mots: jean at bornier.net | 13980 Alleins France T 08 70 39 34 03 | P 06 09 17 35 87