Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Jean Magnan de Bornier <jean@bornier.net>
Subject: Re: Gnus + Imap
Date: Sat, 14 May 2005 08:14:11 +0200	[thread overview]
Message-ID: <87wtq2uyfg.fsf@borlap.bornier.net> (raw)
In-Reply-To: <878y2kchl3.fsf@xabi.crans.org>

Xavier PESSOLES <pessoles@crans.org> 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


      parent reply	other threads:[~2005-05-14  6:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12 20:30 Xavier PESSOLES
2005-05-12 22:27 ` Xavier Maillard
2005-05-12 23:29   ` Xavier PESSOLES
2005-05-14  6:14 ` Jean Magnan de Bornier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wtq2uyfg.fsf@borlap.bornier.net \
    --to=jean@bornier.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).