Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Error: Required feature `nnimap' was not provided
@ 2012-06-20 23:47 mylesenglish
  2012-06-21  5:37 ` XeCycle
       [not found] ` <mailman.3154.1340257256.855.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: mylesenglish @ 2012-06-20 23:47 UTC (permalink / raw)
  To: info-gnus-english

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Required feature `nnimap' was not provided
  2012-06-20 23:47 Error: Required feature `nnimap' was not provided mylesenglish
@ 2012-06-21  5:37 ` XeCycle
       [not found] ` <mailman.3154.1340257256.855.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: XeCycle @ 2012-06-21  5:37 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 2085 bytes --]

mylesenglish@gmail.com 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.

> 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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 489 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Required feature `nnimap' was not provided
       [not found] ` <mailman.3154.1340257256.855.info-gnus-english@gnu.org>
@ 2012-06-22 16:32   ` Myles
  2012-06-22 16:35     ` mylesenglish
                       ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Myles @ 2012-06-22 16:32 UTC (permalink / raw)
  To: info-gnus-english; +Cc: info-gnus-english

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Required feature `nnimap' was not provided
  2012-06-22 16:32   ` Myles
@ 2012-06-22 16:35     ` mylesenglish
  2012-06-22 19:36     ` XeCycle
       [not found]     ` <mailman.3261.1340394061.855.info-gnus-english@gnu.org>
  2 siblings, 0 replies; 6+ messages in thread
From: mylesenglish @ 2012-06-22 16:35 UTC (permalink / raw)
  To: info-gnus-english; +Cc: info-gnus-english

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Required feature `nnimap' was not provided
  2012-06-22 16:32   ` Myles
  2012-06-22 16:35     ` mylesenglish
@ 2012-06-22 19:36     ` XeCycle
       [not found]     ` <mailman.3261.1340394061.855.info-gnus-english@gnu.org>
  2 siblings, 0 replies; 6+ messages in thread
From: XeCycle @ 2012-06-22 19:36 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 801 bytes --]

Myles <mylesenglish@gmail.com> writes:

[...]

>> 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.

What is the error, exactly?

> 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.

-- 
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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 489 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Required feature `nnimap' was not provided
       [not found]     ` <mailman.3261.1340394061.855.info-gnus-english@gnu.org>
@ 2012-06-23  1:43       ` mylesenglish
  0 siblings, 0 replies; 6+ messages in thread
From: mylesenglish @ 2012-06-23  1:43 UTC (permalink / raw)
  To: gnu.emacs.gnus; +Cc: info-gnus-english

On Friday, June 22, 2012 8:36:17 PM UTC+1, XeCycle wrote:
> Myles writes:
> 
> [...]
> 
> >> 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.
> 
> What is the error, exactly?

My experiments have moved on a bit so I have started a new thread called
"using local dovecot nnimap, gnus Group shows wrong counts and mail"

(The original error message was something like "Required feature `nnimap' was not provided" but it was caused by (require 'nnimap).)

> 
> > 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.
> 
> -- 
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-23  1:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-20 23:47 Error: Required feature `nnimap' was not provided mylesenglish
2012-06-21  5:37 ` XeCycle
     [not found] ` <mailman.3154.1340257256.855.info-gnus-english@gnu.org>
2012-06-22 16:32   ` Myles
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

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).