Gnus development mailing list
 help / color / mirror / Atom feed
* Switching to nnimap
@ 2000-09-26 16:47 Tony Lam
  2000-09-26 17:21 ` Simon Josefsson
  0 siblings, 1 reply; 7+ messages in thread
From: Tony Lam @ 2000-09-26 16:47 UTC (permalink / raw)


Hi,

I'm trying to switching to nnimap with the latest gnus from CVS and
need help for a few things.

Here's my nnimap entries in gnus-secondary-select-methods

,----
| (add-to-list 'gnus-secondary-select-methods
| 	     '(nnimap "imapserver"
| 		      (nnimap-address "imapserver.eng.sun.com")
| 		      (nnimap-list-pattern '("INBOX" ("Mail/nnimap/" . "*")))
| 		      (nnimap-username tonyl)
| 		      ))
| 
| (add-to-list 'gnus-secondary-select-methods
| 	     '(nnimap ""
| 		      (nnimap-address "imapserver.eng.sun.com")
| 		      (nnimap-list-pattern '("INBOX" ("Mail/nnimap/" . "*")))
| 		      (nnimap-username tonyl)
| 		      ))
`----

  * they're both actually pointing to the same imap server, but I got
    "server denied" for the 2nd entry (nnimap "" ...), so I have to
    use the first one which resulting long group names
    "nnimap+imapserver:Mail/nnimap/..." instead of
    "nnimap:Mail/nnimap/.." that I like.

  * nnimap-list-pattern in the above entries doesn't seem to be used,
    I have to set a global one outside select-method to make nnimap
    use it.

  * nnimap-username is not used regardless it's being set inside the
    select-method or globally. 

Are they the way supposed to work and there's something I missed? 

TIA.

-- 
Tony




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

* Re: Switching to nnimap
  2000-09-26 16:47 Switching to nnimap Tony Lam
@ 2000-09-26 17:21 ` Simon Josefsson
  2000-09-26 17:49   ` Tony Lam
                     ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Simon Josefsson @ 2000-09-26 17:21 UTC (permalink / raw)
  Cc: ding

Tony Lam <Tony.Lam@eng.sun.com> writes:

> | (add-to-list 'gnus-secondary-select-methods
> | 	     '(nnimap "imapserver"
             ^
> | 		      (nnimap-address "imapserver.eng.sun.com")
> | 		      (nnimap-list-pattern '("INBOX" ("Mail/nnimap/" . "*")))
                                           ^

You're quoting things twice here.  Remove the second '.  This explain
why `nnimap-list-pattern' doesn't work.

> | 		      (nnimap-username tonyl)

This variable doesn't exist.  Please read about .authinfo in the
manual.  This explain why `nnimap-username' doesn't work.

>   * they're both actually pointing to the same imap server, but I got
>     "server denied" for the 2nd entry (nnimap "" ...)

Weird. If you set `imap-log', and go to the server buffer `^' and
press `O' on the second entry, what's the content of the *imap-log*
buffer?




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

* Re: Switching to nnimap
  2000-09-26 17:21 ` Simon Josefsson
@ 2000-09-26 17:49   ` Tony Lam
  2000-09-26 19:44   ` Tony Lam
  2000-09-26 21:02   ` Tony Lam
  2 siblings, 0 replies; 7+ messages in thread
From: Tony Lam @ 2000-09-26 17:49 UTC (permalink / raw)



=> Today, Simon Josefsson(S) wrote:

S> Weird. If you set `imap-log', and go to the server buffer `^' and
S> press `O' on the second entry, what's the content of the *imap-log*
S> buffer?

I got "Couldn't open" in message buffer, but nothing in *imap-log*
buffer, and the followings in "nnimap-debug* buffer:

======================================================================
1 -> nnimap-open-server: server="" defs=nil
| 2 -> nnimap-server-opened: server=""
| 2 <- nnimap-server-opened: nil
| 2 -> nnimap-open-connection: server=""
| 2 <- nnimap-open-connection: nil
1 <- nnimap-open-server: nil

Thanks for your help.

-- 
Tony




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

* Re: Switching to nnimap
  2000-09-26 17:21 ` Simon Josefsson
  2000-09-26 17:49   ` Tony Lam
@ 2000-09-26 19:44   ` Tony Lam
  2000-09-26 20:21     ` Simon Josefsson
  2000-09-26 21:02   ` Tony Lam
  2 siblings, 1 reply; 7+ messages in thread
From: Tony Lam @ 2000-09-26 19:44 UTC (permalink / raw)



=> Today, Simon Josefsson(S) wrote:

S> Tony Lam <Tony.Lam@eng.sun.com> writes:
>> | (add-to-list 'gnus-secondary-select-methods
>> | 	     '(nnimap "imapserver"
S>              ^
>> | 		      (nnimap-address "imapserver.eng.sun.com")
>> | 		      (nnimap-list-pattern '("INBOX" ("Mail/nnimap/" . "*")))
S>                                            ^

S> You're quoting things twice here.  Remove the second '.  This explain
S> why `nnimap-list-pattern' doesn't work.

It still doesn't work, it tries to list all files in my home directory
when I scan the server. Here's the current value of my
gnus-secondary-select-methods:

,----
|   ((nnimap ""
| 	   (nnimap-address "imapserver.eng.sun.com")
| 	   (nnimap-list-pattern ("INBOX" ("Mail/nnimap/" . "*"))))
|    (nnimap "imapserver"
| 	   (nnimap-address "imapserver.eng.sun.com")
| 	   (nnimap-list-pattern ("INBOX" ("Mail/nnimap/" . "*"))))
|    (nnfolder ""))
`----

>> | 		      (nnimap-username tonyl)

S> This variable doesn't exist.  Please read about .authinfo in the
S> manual.  This explain why `nnimap-username' doesn't work.

Ok, this works fine with nnimap-authinfo-file.

Thanks again for your help.

-- 
Tony




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

* Re: Switching to nnimap
  2000-09-26 19:44   ` Tony Lam
@ 2000-09-26 20:21     ` Simon Josefsson
  2000-09-26 23:24       ` Tony Lam
  0 siblings, 1 reply; 7+ messages in thread
From: Simon Josefsson @ 2000-09-26 20:21 UTC (permalink / raw)
  Cc: ding

Tony Lam <Tony.Lam@eng.sun.com> writes:

> S> You're quoting things twice here.  Remove the second '.  This explain
> S> why `nnimap-list-pattern' doesn't work.
> 
> It still doesn't work, it tries to list all files in my home directory
> when I scan the server. Here's the current value of my
> gnus-secondary-select-methods:

Are there perhaps occurances of the old select method in .newsrc.eld?

Try C-k'ing your groups on the nnimap server, change the backend
definition and re-subscribe the groups with the new definition.

> |   ((nnimap ""
> | 	   (nnimap-address "imapserver.eng.sun.com")
> | 	   (nnimap-list-pattern ("INBOX" ("Mail/nnimap/" . "*"))))

This looks fine, I think.




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

* Re: Switching to nnimap
  2000-09-26 17:21 ` Simon Josefsson
  2000-09-26 17:49   ` Tony Lam
  2000-09-26 19:44   ` Tony Lam
@ 2000-09-26 21:02   ` Tony Lam
  2 siblings, 0 replies; 7+ messages in thread
From: Tony Lam @ 2000-09-26 21:02 UTC (permalink / raw)



=> Today, Simon Josefsson(S) wrote:
S> Weird. If you set `imap-log', and go to the server buffer `^' and
S> press `O' on the second entry, what's the content of the *imap-log*
S> buffer?

I got "Couldn't open" in message buffer but nothing related to this
command in *imap-log*. Also, here's debug info:

,----
| 1 -> nnimap-open-server: server="" defs=nil
| | 2 -> nnimap-server-opened: server=""
| | 2 <- nnimap-server-opened: nil
| | 2 -> nnimap-open-connection: server=""
| | 2 <- nnimap-open-connection: nil
| 1 <- nnimap-open-server: nil
`----

Thanks.

-- 
Tony




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

* Re: Switching to nnimap
  2000-09-26 20:21     ` Simon Josefsson
@ 2000-09-26 23:24       ` Tony Lam
  0 siblings, 0 replies; 7+ messages in thread
From: Tony Lam @ 2000-09-26 23:24 UTC (permalink / raw)


Simon,

=> Today, Simon Josefsson(S) wrote:

S> Tony Lam <Tony.Lam@eng.sun.com> writes:
S> You're quoting things twice here.  Remove the second '.  This explain
S> why `nnimap-list-pattern' doesn't work.
>> 
>> It still doesn't work, it tries to list all files in my home directory
>> when I scan the server. Here's the current value of my
>> gnus-secondary-select-methods:

S> Are there perhaps occurances of the old select method in .newsrc.eld?

S> Try C-k'ing your groups on the nnimap server, change the backend
S> definition and re-subscribe the groups with the new definition.

Tried that, didn't help. Nnimap-address and nnimap-list-pattern
defined in gnus-secondary-select-methods are not being used. Are there
anything else I can do to help debug the problem?

Thanks.

-- 
Tony




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

end of thread, other threads:[~2000-09-26 23:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-26 16:47 Switching to nnimap Tony Lam
2000-09-26 17:21 ` Simon Josefsson
2000-09-26 17:49   ` Tony Lam
2000-09-26 19:44   ` Tony Lam
2000-09-26 20:21     ` Simon Josefsson
2000-09-26 23:24       ` Tony Lam
2000-09-26 21:02   ` Tony Lam

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