[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error: Required feature `nnimap' was not provided
From: |
mylesenglish |
Subject: |
Re: Error: Required feature `nnimap' was not provided |
Date: |
Fri, 22 Jun 2012 09:35:12 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Friday, June 22, 2012 5:32:13 PM UTC+1, Myles wrote:
> 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)
After deleting .newrc* the {nnimap:localhost} no longer shows.
> > >
> > > 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