Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Myles <mylesenglish@gmail.com>
To: info-gnus-english@gnu.org
Cc: info-gnus-english@gnu.org
Subject: Re: Error: Required feature `nnimap' was not provided
Date: Fri, 22 Jun 2012 09:32:13 -0700 (PDT)	[thread overview]
Message-ID: <1557fa31-610d-481e-a6c6-1afac30ebefc@googlegroups.com> (raw)
In-Reply-To: <mailman.3154.1340257256.855.info-gnus-english@gnu.org>

On Thursday, June 21, 2012 6:37:47 AM UTC+1, XeCycle wrote:
> myles writes:
> 
> > Hi,
> >
> > I have recently upgraded to emacs24 and use dovecot as a local IMAP server for 2 gmail accounts and one other.
> >
> > Can anyone tell me why gnus doesn't connect to my dovecot anymore?
> >
> > The Server buffer shows:
> >
> >  {nnimap:localhost} (error)
> >  {nnml:} (opened)
> >
> > So I press RETURN on the localhost line and get the error:
> >
> > gnus-get-function: Required feature `nnimap' was not provided
> 
> Eval (require 'nnimap) and see if it works.  Seems like a
> load-path error.
> 

Thanks I tried what you suggest: I deleted .newsrc* and pared down the .gnus to just one dovecot account and when I start gnus it is the (require 'nnimap) that actually triggers the error.

Without the (require 'nnimap), gnus starts without error but my imap accounts don't appear in *Server* and dovecot is not troubled with any authentication requests.

I am using Arch Linux packages but will try compiling emacs from source.

> > The logging doesn't appear to output a log.
> >
> > Here is part of my .gnus:
> >
> > ;; tell gnus not to fetch mail (dovecot will serve it up)
> > (setq mail-sources nil)
> >
> > ;; we are only using email
> > (setq gnus-nntp-server nil
> >       gnus-read-active-file nil
> >       gnus-save-newsrc-file nil
> >       gnus-read-newsrc-file nil
> >       gnus-check-new-newsgroups nil)
> >
> > (setq nnimap-inhibit-logging nil)
> > (setq nnimap-record-commands t)
> > ;;(nnimap-log-command "Starting logging")
> > ;;(setq imap-log t)
> > ;;(require 'gnus)
> > ;;(load "imap")
> > ;; FETCHING EMAIL ===============================
> > (setq gnus-select-method '(nnnil ""))
> > (setq gnus-secondary-select-methods
> >       '((nnimap "gmailAccOne"
> > 		(nnimap-address "localhost")
> > 		(nnimap-stream network)
> > 		(nnimap-user mylesenglish)
> > 		(nnimap-authinfo-file "/home/myles/.authinfoME")
> > 		(nnimap-authenticator login)
> > 		(imap-shell-program "MAIL=maildir:/home/myles/Maildir/gmailAccOne /usr/lib/dovecot/imap"))
> >       '(nnimap "gmailAccTwo"
> > 	       (nnimap-address "localhost")
> > 	       (nnimap-stream network)
> > 	       (nnimap-user rh)
> > 	       (nnimap-authinfo-file "/home/myles/.authinfoRH")
> > 	       (nnimap-authenticator login)
> > 	       (imap-shell-program "MAIL=maildir:/home/myles/Maildir/gmailAccTwo /usr/lib/dovecot/imap"))
> > 	))
> >
> >
> > Thanks,
> >
> > Myles
> 
> -- 
> Carl Lei (XeCycle)
> Department of Physics, Shanghai Jiao Tong University
> OpenPGP public key: 7795E591
> Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

  parent reply	other threads:[~2012-06-22 16:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-20 23:47 mylesenglish
2012-06-21  5:37 ` XeCycle
     [not found] ` <mailman.3154.1340257256.855.info-gnus-english@gnu.org>
2012-06-22 16:32   ` Myles [this message]
2012-06-22 16:35     ` mylesenglish
2012-06-22 19:36     ` XeCycle
     [not found]     ` <mailman.3261.1340394061.855.info-gnus-english@gnu.org>
2012-06-23  1:43       ` mylesenglish

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=1557fa31-610d-481e-a6c6-1afac30ebefc@googlegroups.com \
    --to=mylesenglish@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /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).