all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* struggling with gnus imap
@ 2008-12-18 14:43 Roger Mason
  2008-12-18 15:43 ` Richard Riley
  2008-12-18 15:47 ` Jean Magnan de Bornier
  0 siblings, 2 replies; 8+ messages in thread
From: Roger Mason @ 2008-12-18 14:43 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I'm (still) trying to get gnus to let me use IMAP to read my email on
our university server.

I have this in .gnus:

(setq gnus-secondary-select-methods 
      '(
	(nnml "") 
	(nnimap "mail.mun.ca" (nnimap-list-pattern ("INBOX")))
	))

When I try to subscribe using U in the *Group* buffer I get this:

gnus-select-newsgroup: Couldn't activate group mail.mun.ca: 411 No
such group mail.mun.ca

I also tried subscribing to INBOX, with the same result.  Can someone
tell me what I'm doing wrong?

Thanks,
Roger


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

* Re: struggling with gnus imap
  2008-12-18 14:43 struggling with gnus imap Roger Mason
@ 2008-12-18 15:43 ` Richard Riley
  2008-12-18 15:47 ` Jean Magnan de Bornier
  1 sibling, 0 replies; 8+ messages in thread
From: Richard Riley @ 2008-12-18 15:43 UTC (permalink / raw)
  To: help-gnu-emacs

Roger Mason <rmason@mun.ca> writes:

> Hello,
>
> I'm (still) trying to get gnus to let me use IMAP to read my email on
> our university server.
>
> I have this in .gnus:
>
> (setq gnus-secondary-select-methods 
>       '(
> 	(nnml "") 
> 	(nnimap "mail.mun.ca" (nnimap-list-pattern ("INBOX")))
> 	))
>
> When I try to subscribe using U in the *Group* buffer I get this:
>
> gnus-select-newsgroup: Couldn't activate group mail.mun.ca: 411 No
> such group mail.mun.ca
>
> I also tried subscribing to INBOX, with the same result.  Can someone
> tell me what I'm doing wrong?
>
> Thanks,
> Roger

My imap connection is like so:

(setq gnus-select-method '(nnimap "mymail"
		      (nnimap-stream ssl)
		      (nnimap-address "imap.server.net")
		      (nnimap-authinfo-file "~/.authinfo")
		      (nnir-search-engine imap)		      
		      )

Then you query a list of IMAP groups and subscribe as you do to usenet ones.

-- 
 important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday.  ~Dennis Gabor, Innovations:  Scientific, Technological and Social, 1970


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

* Re: struggling with gnus imap
  2008-12-18 14:43 struggling with gnus imap Roger Mason
  2008-12-18 15:43 ` Richard Riley
@ 2008-12-18 15:47 ` Jean Magnan de Bornier
  2008-12-18 18:12   ` Jean Magnan de Bornier
  1 sibling, 1 reply; 8+ messages in thread
From: Jean Magnan de Bornier @ 2008-12-18 15:47 UTC (permalink / raw)
  To: help-gnu-emacs

Roger Mason <rmason@mun.ca> wrote :

| Hello,
>
| I'm (still) trying to get gnus to let me use IMAP to read my email on
| our university server.
>
| I have this in .gnus:
>
| (setq gnus-secondary-select-methods 
|       '(
| 	(nnml "") 
| 	(nnimap "mail.mun.ca" (nnimap-list-pattern ("INBOX")))
| 	))
>
| When I try to subscribe using U in the *Group* buffer I get this:
>
| gnus-select-newsgroup: Couldn't activate group mail.mun.ca: 411 No
| such group mail.mun.ca
>
| I also tried subscribing to INBOX, with the same result.  Can someone
| tell me what I'm doing wrong?
>
| Thanks,
| Roger

I have this:

(setq gnus-secondary-select-methods '((nnimap "Maison"
 (nnimap-address "my.server.net")
(nnimap-server-port 993)
(nnimap-stream ssl)
 (nnimap-authenticator login)
(nnimap-authinfo-file "/home/jean/.authinfo"))))

Not everything is necessary, but the second line is; this is where you put
the internet name of the imap server. The name after "nnimap" on line 1 is
internal to your box.

Cheers,
-- 
Jean


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

* Re: struggling with gnus imap
  2008-12-18 15:47 ` Jean Magnan de Bornier
@ 2008-12-18 18:12   ` Jean Magnan de Bornier
  2008-12-19 10:57     ` Roger Mason
  0 siblings, 1 reply; 8+ messages in thread
From: Jean Magnan de Bornier @ 2008-12-18 18:12 UTC (permalink / raw)
  To: help-gnu-emacs

Jean Magnan de Bornier <jean@bornier.net> wrote :

| Roger Mason <rmason@mun.ca> wrote :
>
| | Hello,
| >
| | I'm (still) trying to get gnus to let me use IMAP to read my email on
| | our university server.
| >
| | I have this in .gnus:
| >
| | (setq gnus-secondary-select-methods 
| |       '(
| | 	(nnml "") 
| | 	(nnimap "mail.mun.ca" (nnimap-list-pattern ("INBOX")))
| | 	))
| >
| | When I try to subscribe using U in the *Group* buffer I get this:
| >
| | gnus-select-newsgroup: Couldn't activate group mail.mun.ca: 411 No
| | such group mail.mun.ca
| >
| | I also tried subscribing to INBOX, with the same result.  Can someone
| | tell me what I'm doing wrong?
| >
| | Thanks,
| | Roger
>
| I have this:
>
| (setq gnus-secondary-select-methods '((nnimap "Maison"
|  (nnimap-address "my.server.net")
| (nnimap-server-port 993)
| (nnimap-stream ssl)
|  (nnimap-authenticator login)
| (nnimap-authinfo-file "/home/jean/.authinfo"))))
>
| Not everything is necessary, but the second line is; this is where you put
| the internet name of the imap server. The name after "nnimap" on line 1 is
| internal to your box.
>
| Cheers,


Roger said, privately:
..................................
I now have this:

(setq gnus-secondary-select-methods 
     '(
	(nnml "") 
	(nnimap "MUN"
	 (nnimap-stream ssl)
	 (nnimap-address "mail.mun.ca")
	 (nnimap-authinfo-file "~/.authinfo")
	 (nnir-search-engine imap))
	))

When I start gnus should I not be able to subscribe to MUN using 'U'?
It does not work, I see *: MUN appear in the group buffer but when i
try to open the group I get 411 no such group.
...................................

What do you see when you "open server buffer" (use "^" in gnus to do that)?

-- 
Jean


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

* Re: struggling with gnus imap
  2008-12-18 18:12   ` Jean Magnan de Bornier
@ 2008-12-19 10:57     ` Roger Mason
  2008-12-19 12:16       ` Sven Bretfeld
       [not found]       ` <mailman.3115.1229688962.26697.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Roger Mason @ 2008-12-19 10:57 UTC (permalink / raw)
  To: help-gnu-emacs

Jean Magnan de Bornier <jean@bornier.net> writes:

> What do you see when you "open server buffer" (use "^" in gnus to do that)?

{nnfolder:archive} (opened)
     {nnimap:MUN} (opened)
     {nnml:} (opened)
     {nntp:coranto.ucs.mun.ca} (opened) (agent)

Thanks,

Roger


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

* Re: struggling with gnus imap
  2008-12-19 10:57     ` Roger Mason
@ 2008-12-19 12:16       ` Sven Bretfeld
       [not found]       ` <mailman.3115.1229688962.26697.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 8+ messages in thread
From: Sven Bretfeld @ 2008-12-19 12:16 UTC (permalink / raw)
  To: Roger Mason; +Cc: help-gnu-emacs

Roger Mason <rmason@mun.ca> writes:

>> What do you see when you "open server buffer" (use "^" in gnus to do that)?
>
> {nnfolder:archive} (opened)
>      {nnimap:MUN} (opened)
>      {nnml:} (opened)
>      {nntp:coranto.ucs.mun.ca} (opened) (agent)

I also shifted from nnml to nnimap this week. I had similar problems at
the beginning. As far as I can remember, it worked after I deleted
(renamed) ~/.newsrc and ~/.newsrc.eld. But you have to subscribe to all
groups again and re-create your topics if you do that. But this takes
only a few seconds. Just open the server buffer with "^" enter the
servers (RET) and hit "u" on every relevant group. Your imap-Server MUN
should show all folders extant on the server as groups ready to be
subscribed.

You can create new imap-folders by hitting "G m" in the summary buffer.
Type in a name (e.g. "Important") RET nnimap:MUN RET. Hit "G del" if you
want to delete a folder.

I still don't know how I should configure expiry. I would like to delete
the mail in some folders by hand (in case of folders where I keep
messages that still demand action), while the usual inbox should delete
its contents automatically after some 30 days.

Greetings

Sven




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

* Re: struggling with gnus imap
       [not found]       ` <mailman.3115.1229688962.26697.help-gnu-emacs@gnu.org>
@ 2008-12-19 13:42         ` harven
  2008-12-19 18:24           ` Roger Mason
  0 siblings, 1 reply; 8+ messages in thread
From: harven @ 2008-12-19 13:42 UTC (permalink / raw)
  To: help-gnu-emacs

"Sven Bretfeld" <sven.bretfeld@gmx.ch> writes:

> Roger Mason <rmason@mun.ca> writes:
>
>>> What do you see when you "open server buffer" (use "^" in gnus to do that)?
>>
>> {nnfolder:archive} (opened)
>>      {nnimap:MUN} (opened)
>>      {nnml:} (opened)
>>      {nntp:coranto.ucs.mun.ca} (opened) (agent)
>
> I also shifted from nnml to nnimap this week. I had similar problems at
> the beginning. As far as I can remember, it worked after I deleted
> (renamed) ~/.newsrc and ~/.newsrc.eld. But you have to subscribe to all
> groups again and re-create your topics if you do that. But this takes
> only a few seconds. Just open the server buffer with "^" enter the
> servers (RET) and hit "u" on every relevant group. Your imap-Server MUN
> should show all folders extant on the server as groups ready to be
> subscribed.
>
> You can create new imap-folders by hitting "G m" in the summary buffer.
> Type in a name (e.g. "Important") RET nnimap:MUN RET. Hit "G del" if you
> want to delete a folder.
>
> I still don't know how I should configure expiry. I would like to delete
> the mail in some folders by hand (in case of folders where I keep
> messages that still demand action), while the usual inbox should delete
> its contents automatically after some 30 days.
>
> Greetings
>
> Sven

This can be done using gnus-parameters. 
See (info"(gnus)Group Parameters") under the item expiry-wait. For example,

(setq nnmail-expiry-wait 30)
(setq gnus-parameters
 '(("imap.*\\|nndoc.*" 
     (expiry-wait . immediate))
   ("name-of-some-folder"
     (expiry-wait . never))))


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

* Re: struggling with gnus imap
  2008-12-19 13:42         ` harven
@ 2008-12-19 18:24           ` Roger Mason
  0 siblings, 0 replies; 8+ messages in thread
From: Roger Mason @ 2008-12-19 18:24 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

harven <harven@free.fr> writes:

> "Sven Bretfeld" <sven.bretfeld@gmx.ch> writes:
>
>> Roger Mason <rmason@mun.ca> writes:
>>
>>>> What do you see when you "open server buffer" (use "^" in gnus to do that)?
>>>
>>> {nnfolder:archive} (opened)
>>>      {nnimap:MUN} (opened)
>>>      {nnml:} (opened)
>>>      {nntp:coranto.ucs.mun.ca} (opened) (agent)
>>
>> I also shifted from nnml to nnimap this week. I had similar problems at
>> the beginning. As far as I can remember, it worked after I deleted
>> (renamed) ~/.newsrc and ~/.newsrc.eld. But you have to subscribe to all
>> groups again and re-create your topics if you do that. But this takes
>> only a few seconds. Just open the server buffer with "^" enter the
>> servers (RET) and hit "u" on every relevant group. Your imap-Server MUN
>> should show all folders extant on the server as groups ready to be
>> subscribed.
>>
>> You can create new imap-folders by hitting "G m" in the summary buffer.
>> Type in a name (e.g. "Important") RET nnimap:MUN RET. Hit "G del" if you
>> want to delete a folder.
>>
>> I still don't know how I should configure expiry. I would like to delete
>> the mail in some folders by hand (in case of folders where I keep
>> messages that still demand action), while the usual inbox should delete
>> its contents automatically after some 30 days.
>>
>> Greetings
>>
>> Sven
>
> This can be done using gnus-parameters. 
> See (info"(gnus)Group Parameters") under the item expiry-wait. For example,
>
> (setq nnmail-expiry-wait 30)
> (setq gnus-parameters
>  '(("imap.*\\|nndoc.*" 
>      (expiry-wait . immediate))
>    ("name-of-some-folder"
>      (expiry-wait . never))))

The key was surprizingly simple: "^"!

Thank-you Jean, Sven, Richard and Harven.  It is now working.  I will
be exploring how to move mail that I want to keep from the imap server
to my office machine over the coming days.  No doubt I will have more
questions.

Thanks again.

Roger


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

end of thread, other threads:[~2008-12-19 18:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-18 14:43 struggling with gnus imap Roger Mason
2008-12-18 15:43 ` Richard Riley
2008-12-18 15:47 ` Jean Magnan de Bornier
2008-12-18 18:12   ` Jean Magnan de Bornier
2008-12-19 10:57     ` Roger Mason
2008-12-19 12:16       ` Sven Bretfeld
     [not found]       ` <mailman.3115.1229688962.26697.help-gnu-emacs@gnu.org>
2008-12-19 13:42         ` harven
2008-12-19 18:24           ` Roger Mason

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.