Gnus development mailing list
 help / color / mirror / Atom feed
* nnimap question
@ 2001-09-26  0:00 Sailesh Krishnamurthy
  2001-09-26  7:29 ` Simon Josefsson
  0 siblings, 1 reply; 19+ messages in thread
From: Sailesh Krishnamurthy @ 2001-09-26  0:00 UTC (permalink / raw)


Hi folks

I'm having lotsa trouble getting nnimap working. We use SSL at this site .. I'm
not sure what server we use, but since they offer web access using Netscape
Messenger Express it's probably the nscp mail server.

I use XEmacs 21.1.14, Gnus 5.8.7

These are my settings:

(setq imap-ssl-program "/usr/mill/bin/openssl s_client -ssl3 -connect %s:%p")
(setq gnus-secondary-select-methods
      '((nnimap "eecs.berkeley.edu"
		(nnimap-address "imap.eecs.berkeley.edu")
		(nnimap-server-port 993)
		(nnimap-stream ssl)
		(nnimap-list-pattern ("INBOX")))))

When I start I get a message saying:

imap: Opening SSL connection with `/usr/mill/bin/openssl s_client -ssl3
-connect %s:%p' ...

Some of my colleagues use something like 
/ssl/user-username/novalidate-cert/INBOX when they configure PINE. 

Not sure if I need to do something like that.

Would appreciate all help. I've tried RTFM but didn't get that much info. Thanks.

=====
Toodle-pip
Sailesh 
http://www.cs.berkeley.edu/~sailesh
Ph: (510) 526-7850

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com


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

* Re: nnimap question
  2001-09-26  0:00 nnimap question Sailesh Krishnamurthy
@ 2001-09-26  7:29 ` Simon Josefsson
  2001-09-26  9:29   ` Sailesh Krishnamurthy
  0 siblings, 1 reply; 19+ messages in thread
From: Simon Josefsson @ 2001-09-26  7:29 UTC (permalink / raw)
  Cc: ding

On Tue, 25 Sep 2001, Sailesh Krishnamurthy wrote:

> I'm having lotsa trouble getting nnimap working. We use SSL at this site ..

Do you have ssl.el in your load-path?

> I'm not sure what server we use, but since they offer web access using
> Netscape Messenger Express it's probably the nscp mail server.
>
> I use XEmacs 21.1.14, Gnus 5.8.7
>
> These are my settings:
>
> (setq imap-ssl-program "/usr/mill/bin/openssl s_client -ssl3 -connect %s:%p")
> (setq gnus-secondary-select-methods
>       '((nnimap "eecs.berkeley.edu"
> 		(nnimap-address "imap.eecs.berkeley.edu")
> 		(nnimap-server-port 993)
> 		(nnimap-stream ssl)
> 		(nnimap-list-pattern ("INBOX")))))
>
> When I start I get a message saying:
>
> imap: Opening SSL connection with `/usr/mill/bin/openssl s_client -ssl3
> -connect %s:%p' ...

So, what is the problem?  You can't open the server?

Does invoking `/usr/mill/bin/openssl s_client -ssl3 -connect
imap.eecs.berkeley.edu:993' from the command line work?

> Some of my colleagues use something like
> /ssl/user-username/novalidate-cert/INBOX when they configure PINE.

No, the SSL stuff used by nnimap doesn't try to validate certificates
unless you configure it to (see `ssl.el').



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

* Re: nnimap question
  2001-09-26  7:29 ` Simon Josefsson
@ 2001-09-26  9:29   ` Sailesh Krishnamurthy
  2001-09-26 10:53     ` Simon Josefsson
  0 siblings, 1 reply; 19+ messages in thread
From: Sailesh Krishnamurthy @ 2001-09-26  9:29 UTC (permalink / raw)
  Cc: ding


--- Simon Josefsson <jas@extundo.com> wrote:
> On Tue, 25 Sep 2001, Sailesh Krishnamurthy wrote:
> 
> > I'm having lotsa trouble getting nnimap working. We use SSL at this site ..
> 
> Do you have ssl.el in your load-path?

M-x locate-library ssl does report xemacs/xemacs-packages/lisp/w3/ssl.elc

> > I'm not sure what server we use, but since they offer web access using
> > Netscape Messenger Express it's probably the nscp mail server.

We indeed use IMAP4 Service from NSCP Messaging Server 4.15 Patch 6

> So, what is the problem?  You can't open the server?

My apologies, I got interrupted while composing the note and omitted to give
the important information. One of two things happens .. sometimes the
minibuffer has "Loading ssl" and then just hangs, at other times it says: 

imap: Opening SSL connection with `/usr/mill/bin/openssl s_client -ssl3
-connect %s:%p' ... 
Opening nnimap server on eecs.berkeley.edu...
Denied server

> Does invoking `/usr/mill/bin/openssl s_client -ssl3 -connect
> imap.eecs.berkeley.edu:993' from the command line work?

Yes it does work. Thanks for that tip .. I never thought of trying that :-) 

Anyway, I get:

* OK imap4.CS.Berkeley.EDU IMAP4 service (Netscape Messaging Server 4.15 Patch
6 (built Mar 30 2001))

What should I try next ? 

In some docs I read something about nnimap-debug but I couldn't figure out how
to activate it. 

Many thanks .. 


=====
Toodle-pip
Sailesh 
http://www.cs.berkeley.edu/~sailesh
Ph: (510) 526-7850

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com


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

* Re: nnimap question
  2001-09-26  9:29   ` Sailesh Krishnamurthy
@ 2001-09-26 10:53     ` Simon Josefsson
  2001-09-26 19:46       ` Sailesh Krishnamurthy
  0 siblings, 1 reply; 19+ messages in thread
From: Simon Josefsson @ 2001-09-26 10:53 UTC (permalink / raw)
  Cc: ding

On Wed, 26 Sep 2001, Sailesh Krishnamurthy wrote:

> > So, what is the problem?  You can't open the server?
>
> My apologies, I got interrupted while composing the note and omitted to give
> the important information. One of two things happens .. sometimes the
> minibuffer has "Loading ssl" and then just hangs, at other times it says:
>
> imap: Opening SSL connection with `/usr/mill/bin/openssl s_client -ssl3
> -connect %s:%p' ...
> Opening nnimap server on eecs.berkeley.edu...
> Denied server

Bind `imap-log' and check if the *imap-log* buffer contains anything.

Also check if the " *nnimap* eecs.berkely.edu*" buffer (NB leading
SPC) contains anything, after you got the above error.




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

* Re: nnimap question
  2001-09-26 10:53     ` Simon Josefsson
@ 2001-09-26 19:46       ` Sailesh Krishnamurthy
  2001-09-26 20:16         ` Simon Josefsson
  0 siblings, 1 reply; 19+ messages in thread
From: Sailesh Krishnamurthy @ 2001-09-26 19:46 UTC (permalink / raw)
  Cc: ding


--- Simon Josefsson <jas@extundo.com> wrote:
> 
> Bind `imap-log' and check if the *imap-log* buffer contains anything.
> 

Sorry for being dense but how do I bind imap-log ? 

Also, when the startup thing just hangs, can I just do a C-g or is there some
way to get into a debug nmode ? 

=====
Toodle-pip
Sailesh 
http://www.cs.berkeley.edu/~sailesh
Ph: (510) 526-7850

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com



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

* Re: nnimap question
  2001-09-26 19:46       ` Sailesh Krishnamurthy
@ 2001-09-26 20:16         ` Simon Josefsson
  2001-09-27  0:54           ` Sailesh Krishnamurthy
  0 siblings, 1 reply; 19+ messages in thread
From: Simon Josefsson @ 2001-09-26 20:16 UTC (permalink / raw)
  Cc: ding

Sailesh Krishnamurthy <saileshwar@yahoo.com> writes:

>> Bind `imap-log' and check if the *imap-log* buffer contains anything.
>
> Sorry for being dense but how do I bind imap-log ? 

For example: (setq imap-log "*imap-log*")

> Also, when the startup thing just hangs, can I just do a C-g or is there some
> way to get into a debug nmode ? 

M-x toggle-debug-on-quit RET before thing hangs, and C-g will take you
to the debugger.




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

* Re: nnimap question
  2001-09-26 20:16         ` Simon Josefsson
@ 2001-09-27  0:54           ` Sailesh Krishnamurthy
  2001-09-28  4:06             ` Sailesh Krishnamurthy
  0 siblings, 1 reply; 19+ messages in thread
From: Sailesh Krishnamurthy @ 2001-09-27  0:54 UTC (permalink / raw)
  Cc: ding


--- Simon Josefsson <jas@extundo.com> wrote:
> Sailesh Krishnamurthy <saileshwar@yahoo.com> writes:
> 
> >> Bind `imap-log' and check if the *imap-log* buffer contains anything.
> >
> > Sorry for being dense but how do I bind imap-log ? 
> 
> For example: (setq imap-log "*imap-log*")

I tried this but I don't see a buffer called *imap-log* 

This is my stack backtrace ..

Signaling: (quit)
  accept-process-output(#<process "imap<6>" pid 6437 state:run> 1)
  imap-ssl-open("imap" " *nnimap* eecs.berkeley.edu" "imap.eecs.berkeley.edu"
993)
  byte-code("..." [imap-port imap-server buffer imap-stream-alist imap-stream 2
"imap"] 5)
  imap-open-1(" *nnimap* eecs.berkeley.edu")
  imap-open("imap.eecs.berkeley.edu" 993 ssl nil " *nnimap* eecs.berkeley.edu")
  nnimap-open-connection("eecs.berkeley.edu")
  nnimap-open-server("eecs.berkeley.edu" ((nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-open-server((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-check-server((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-read-active-file-1((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))) nil)
  gnus-read-active-file(nil nil)
  gnus-setup-news(nil nil nil)
  byte-code("..." [gnus-slave gnus-current-startup-file gnus-startup-file
did-connect level dont-connect gnus-group-quit gnus-run-hooks gnus-startup-hook
gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook
gnus-summary-mode-hook gnus-grouplens-mode gnus-setup-news nil
gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups
gnus-group-first-unread-group gnus-configure-windows group
gnus-group-set-mode-line gnus-started-hook gnus-use-dribble-file
gnus-use-grouplens] 4)
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus)
  command-execute(gnus t)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)
  recursive-edit()
  byte-code("..." [print-escape-newlines print-length debugger-buffer
debugger-value standard-output debugger-args pop-to-buffer erase-buffer t 50
backtrace debugger-mode re-search-forward "\n[* ] debug(" 1 debugger-reenable
(lambda debug) "Entering:\n" debug backtrace-debug 3 delete-char ?\* 0 exit
"Return value: " prin1 ?\n ?\  error "Signaling: " "Beginning evaluation of
function call form:\n" nil message "" recursive-edit buffer-read-only
inhibit-trace] 3)
  debug(error (quit))
  accept-process-output(#<process "imap<5>" pid 5494 state:run> 1)
  imap-ssl-open("imap" " *nnimap* eecs.berkeley.edu" "imap.eecs.berkeley.edu"
993)
  byte-code("..." [imap-port imap-server buffer imap-stream-alist imap-stream 2
"imap"] 5)
  imap-open-1(" *nnimap* eecs.berkeley.edu")
  imap-open("imap.eecs.berkeley.edu" 993 ssl nil " *nnimap* eecs.berkeley.edu")
  nnimap-open-connection("eecs.berkeley.edu")
  nnimap-open-server("eecs.berkeley.edu" ((nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-open-server((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-check-server((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-read-active-file-1((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))) nil)
  gnus-read-active-file(nil nil)
  gnus-setup-news(nil nil nil)
  byte-code("..." [gnus-slave gnus-current-startup-file gnus-startup-file
did-connect level dont-connect gnus-group-quit gnus-run-hooks gnus-startup-hook
gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook
gnus-summary-mode-hook gnus-grouplens-mode gnus-setup-news nil
gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups
gnus-group-first-unread-group gnus-configure-windows group
gnus-group-set-mode-line gnus-started-hook gnus-use-dribble-file
gnus-use-grouplens] 4)
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus)
  command-execute(gnus t)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)
  recursive-edit()
  byte-code("..." [print-escape-newlines print-length debugger-buffer
debugger-value standard-output debugger-args pop-to-buffer erase-buffer t 50
backtrace debugger-mode re-search-forward "\n[* ] debug(" 1 debugger-reenable
(lambda debug) "Entering:\n" debug backtrace-debug 3 delete-char ?\* 0 exit
"Return value: " prin1 ?\n ?\  error "Signaling: " "Beginning evaluation of
function call form:\n" nil message "" recursive-edit buffer-read-only
inhibit-trace] 3)
  debug(error (quit))
  sit-for(1)
  imap-ssl-open("imap" " *nnimap* eecs.berkeley.edu" "imap.eecs.berkeley.edu"
993)
  byte-code("..." [imap-port imap-server buffer imap-stream-alist imap-stream 2
"imap"] 5)
  imap-open-1(" *nnimap* eecs.berkeley.edu")
  imap-open("imap.eecs.berkeley.edu" 993 ssl nil " *nnimap* eecs.berkeley.edu")
  nnimap-open-connection("eecs.berkeley.edu")
  nnimap-open-server("eecs.berkeley.edu" ((nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-open-server((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-check-server((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-read-active-file-1((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))) nil)
  gnus-read-active-file(nil nil)
  gnus-setup-news(nil nil nil)
  byte-code("..." [gnus-slave gnus-current-startup-file gnus-startup-file
did-connect level dont-connect gnus-group-quit gnus-run-hooks gnus-startup-hook
gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook
gnus-summary-mode-hook gnus-grouplens-mode gnus-setup-news nil
gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups
gnus-group-first-unread-group gnus-configure-windows group
gnus-group-set-mode-line gnus-started-hook gnus-use-dribble-file
gnus-use-grouplens] 4)
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus)
  command-execute(gnus t)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)
  recursive-edit()
  byte-code("..." [print-escape-newlines print-length debugger-buffer
debugger-value standard-output debugger-args pop-to-buffer erase-buffer t 50
backtrace debugger-mode re-search-forward "\n[* ] debug(" 1 debugger-reenable
(lambda debug) "Entering:\n" debug backtrace-debug 3 delete-char ?\* 0 exit
"Return value: " prin1 ?\n ?\  error "Signaling: " "Beginning evaluation of
function call form:\n" nil message "" recursive-edit buffer-read-only
inhibit-trace] 3)
  debug(error (quit))
  accept-process-output(#<process "imap<2>" pid 5274 state:run> 1)
  imap-ssl-open("imap" " *nnimap* eecs.berkeley.edu" "imap.eecs.berkeley.edu"
993)
  byte-code("..." [imap-port imap-server buffer imap-stream-alist imap-stream 2
"imap"] 5)
  imap-open-1(" *nnimap* eecs.berkeley.edu")
  imap-open("imap.eecs.berkeley.edu" 993 ssl nil " *nnimap* eecs.berkeley.edu")
  nnimap-open-connection("eecs.berkeley.edu")
  nnimap-open-server("eecs.berkeley.edu" ((nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-open-server((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-check-server((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))))
  gnus-read-active-file-1((nnimap "eecs.berkeley.edu" (nnimap-address
"imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
(nnimap-list-pattern ("INBOX"))) nil)
  gnus-read-active-file(nil nil)
  gnus-setup-news(nil nil nil)
  byte-code("..." [gnus-slave gnus-current-startup-file gnus-startup-file
did-connect level dont-connect gnus-group-quit gnus-run-hooks gnus-startup-hook
gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook
gnus-summary-mode-hook gnus-grouplens-mode gnus-setup-news nil
gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups
gnus-group-first-unread-group gnus-configure-windows group
gnus-group-set-mode-line gnus-started-hook gnus-use-dribble-file
gnus-use-grouplens] 4)
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus)
  command-execute(gnus t)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)


=====
Toodle-pip
Sailesh 
http://www.cs.berkeley.edu/~sailesh
Ph: (510) 526-7850

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com



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

* Re: nnimap question
  2001-09-27  0:54           ` Sailesh Krishnamurthy
@ 2001-09-28  4:06             ` Sailesh Krishnamurthy
  2001-09-28 12:53               ` Kai Großjohann
  2001-09-30  4:19               ` Amos Gouaux
  0 siblings, 2 replies; 19+ messages in thread
From: Sailesh Krishnamurthy @ 2001-09-28  4:06 UTC (permalink / raw)
  Cc: ding

I tried this again .. this is what happens when it hangs and I type C-g

Typing C-g again sets it back to the hanging state. Is there anything else I
can try that will help me debug this more ? I still am not able to look at the
*imap-log* and *imap-debug* variables. This is what I have in my .gnus file:

(require 'nnimap)
(require 'ssl)
(setq imap-log "*imap-log*")
(setq imap-debug "*imap-debug*")
(setq debug-on-quit t)
(setq debug-on-signal t)
(setq imap-ssl-program "/usr/mill/bin/openssl s_client -ssl3 -connect %s:%p")
(setq gnus-secondary-select-methods
      '((nnimap "eecs.berkeley.edu"
		(nnimap-address "imap.eecs.berkeley.edu")
		(nnimap-server-port 993)
		(nnimap-stream ssl)
		(nnimap-list-pattern ("INBOX")))))

My backtrace: 

> Signaling: (quit)
>   accept-process-output(#<process "imap<6>" pid 6437 state:run> 1)
>   imap-ssl-open("imap" " *nnimap* eecs.berkeley.edu" "imap.eecs.berkeley.edu"
> 993)
>   byte-code("..." [imap-port imap-server buffer imap-stream-alist imap-stream
> 2
> "imap"] 5)
>   imap-open-1(" *nnimap* eecs.berkeley.edu")
>   imap-open("imap.eecs.berkeley.edu" 993 ssl nil " *nnimap*
> eecs.berkeley.edu")
>   nnimap-open-connection("eecs.berkeley.edu")
>   nnimap-open-server("eecs.berkeley.edu" ((nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-open-server((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-check-server((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-read-active-file-1((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))) nil)
>   gnus-read-active-file(nil nil)
>   gnus-setup-news(nil nil nil)
>   byte-code("..." [gnus-slave gnus-current-startup-file gnus-startup-file
> did-connect level dont-connect gnus-group-quit gnus-run-hooks
> gnus-startup-hook
> gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook
> gnus-summary-mode-hook gnus-grouplens-mode gnus-setup-news nil
> gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups
> gnus-group-first-unread-group gnus-configure-windows group
> gnus-group-set-mode-line gnus-started-hook gnus-use-dribble-file
> gnus-use-grouplens] 4)
>   gnus-1(nil nil nil)
>   gnus(nil)
>   call-interactively(gnus)
>   command-execute(gnus t)
>   execute-extended-command(nil)
>   call-interactively(execute-extended-command)
>   recursive-edit()
>   byte-code("..." [print-escape-newlines print-length debugger-buffer
> debugger-value standard-output debugger-args pop-to-buffer erase-buffer t 50
> backtrace debugger-mode re-search-forward "\n[* ] debug(" 1 debugger-reenable
> (lambda debug) "Entering:\n" debug backtrace-debug 3 delete-char ?\* 0 exit
> "Return value: " prin1 ?\n ?\  error "Signaling: " "Beginning evaluation of
> function call form:\n" nil message "" recursive-edit buffer-read-only
> inhibit-trace] 3)
>   debug(error (quit))
>   accept-process-output(#<process "imap<5>" pid 5494 state:run> 1)
>   imap-ssl-open("imap" " *nnimap* eecs.berkeley.edu" "imap.eecs.berkeley.edu"
> 993)
>   byte-code("..." [imap-port imap-server buffer imap-stream-alist imap-stream
> 2
> "imap"] 5)
>   imap-open-1(" *nnimap* eecs.berkeley.edu")
>   imap-open("imap.eecs.berkeley.edu" 993 ssl nil " *nnimap*
> eecs.berkeley.edu")
>   nnimap-open-connection("eecs.berkeley.edu")
>   nnimap-open-server("eecs.berkeley.edu" ((nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-open-server((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-check-server((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-read-active-file-1((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))) nil)
>   gnus-read-active-file(nil nil)
>   gnus-setup-news(nil nil nil)
>   byte-code("..." [gnus-slave gnus-current-startup-file gnus-startup-file
> did-connect level dont-connect gnus-group-quit gnus-run-hooks
> gnus-startup-hook
> gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook
> gnus-summary-mode-hook gnus-grouplens-mode gnus-setup-news nil
> gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups
> gnus-group-first-unread-group gnus-configure-windows group
> gnus-group-set-mode-line gnus-started-hook gnus-use-dribble-file
> gnus-use-grouplens] 4)
>   gnus-1(nil nil nil)
>   gnus(nil)
>   call-interactively(gnus)
>   command-execute(gnus t)
>   execute-extended-command(nil)
>   call-interactively(execute-extended-command)
>   recursive-edit()
>   byte-code("..." [print-escape-newlines print-length debugger-buffer
> debugger-value standard-output debugger-args pop-to-buffer erase-buffer t 50
> backtrace debugger-mode re-search-forward "\n[* ] debug(" 1 debugger-reenable
> (lambda debug) "Entering:\n" debug backtrace-debug 3 delete-char ?\* 0 exit
> "Return value: " prin1 ?\n ?\  error "Signaling: " "Beginning evaluation of
> function call form:\n" nil message "" recursive-edit buffer-read-only
> inhibit-trace] 3)
>   debug(error (quit))
>   sit-for(1)
>   imap-ssl-open("imap" " *nnimap* eecs.berkeley.edu" "imap.eecs.berkeley.edu"
> 993)
>   byte-code("..." [imap-port imap-server buffer imap-stream-alist imap-stream
> 2
> "imap"] 5)
>   imap-open-1(" *nnimap* eecs.berkeley.edu")
>   imap-open("imap.eecs.berkeley.edu" 993 ssl nil " *nnimap*
> eecs.berkeley.edu")
>   nnimap-open-connection("eecs.berkeley.edu")
>   nnimap-open-server("eecs.berkeley.edu" ((nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-open-server((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-check-server((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-read-active-file-1((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))) nil)
>   gnus-read-active-file(nil nil)
>   gnus-setup-news(nil nil nil)
>   byte-code("..." [gnus-slave gnus-current-startup-file gnus-startup-file
> did-connect level dont-connect gnus-group-quit gnus-run-hooks
> gnus-startup-hook
> gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook
> gnus-summary-mode-hook gnus-grouplens-mode gnus-setup-news nil
> gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups
> gnus-group-first-unread-group gnus-configure-windows group
> gnus-group-set-mode-line gnus-started-hook gnus-use-dribble-file
> gnus-use-grouplens] 4)
>   gnus-1(nil nil nil)
>   gnus(nil)
>   call-interactively(gnus)
>   command-execute(gnus t)
>   execute-extended-command(nil)
>   call-interactively(execute-extended-command)
>   recursive-edit()
>   byte-code("..." [print-escape-newlines print-length debugger-buffer
> debugger-value standard-output debugger-args pop-to-buffer erase-buffer t 50
> backtrace debugger-mode re-search-forward "\n[* ] debug(" 1 debugger-reenable
> (lambda debug) "Entering:\n" debug backtrace-debug 3 delete-char ?\* 0 exit
> "Return value: " prin1 ?\n ?\  error "Signaling: " "Beginning evaluation of
> function call form:\n" nil message "" recursive-edit buffer-read-only
> inhibit-trace] 3)
>   debug(error (quit))
>   accept-process-output(#<process "imap<2>" pid 5274 state:run> 1)
>   imap-ssl-open("imap" " *nnimap* eecs.berkeley.edu" "imap.eecs.berkeley.edu"
> 993)
>   byte-code("..." [imap-port imap-server buffer imap-stream-alist imap-stream
> 2
> "imap"] 5)
>   imap-open-1(" *nnimap* eecs.berkeley.edu")
>   imap-open("imap.eecs.berkeley.edu" 993 ssl nil " *nnimap*
> eecs.berkeley.edu")
>   nnimap-open-connection("eecs.berkeley.edu")
>   nnimap-open-server("eecs.berkeley.edu" ((nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-open-server((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-check-server((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))))
>   gnus-read-active-file-1((nnimap "eecs.berkeley.edu" (nnimap-address
> "imap.eecs.berkeley.edu") (nnimap-server-port 993) (nnimap-stream ssl)
> (nnimap-list-pattern ("INBOX"))) nil)
>   gnus-read-active-file(nil nil)
>   gnus-setup-news(nil nil nil)
>   byte-code("..." [gnus-slave gnus-current-startup-file gnus-startup-file
> did-connect level dont-connect gnus-group-quit gnus-run-hooks
> gnus-startup-hook
> gnus-make-newsrc-file gnus-dribble-read-file bbb-login add-hook
> gnus-summary-mode-hook gnus-grouplens-mode gnus-setup-news nil
> gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups
> gnus-group-first-unread-group gnus-configure-windows group
> gnus-group-set-mode-line gnus-started-hook gnus-use-dribble-file
> gnus-use-grouplens] 4)
>   gnus-1(nil nil nil)
>   gnus(nil)
>   call-interactively(gnus)
>   command-execute(gnus t)
>   execute-extended-command(nil)
>   call-interactively(execute-extended-command)
> 
> 
> =====
> Toodle-pip
> Sailesh 
> http://www.cs.berkeley.edu/~sailesh
> Ph: (510) 526-7850
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.
> http://im.yahoo.com
> 


=====
Toodle-pip
Sailesh 
http://www.cs.berkeley.edu/~sailesh
Ph: (510) 526-7850

__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com



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

* Re: nnimap question
  2001-09-28  4:06             ` Sailesh Krishnamurthy
@ 2001-09-28 12:53               ` Kai Großjohann
  2001-09-28 22:21                 ` Sailesh Krishnamurthy
  2001-09-30  4:19               ` Amos Gouaux
  1 sibling, 1 reply; 19+ messages in thread
From: Kai Großjohann @ 2001-09-28 12:53 UTC (permalink / raw)
  Cc: Simon Josefsson, ding

Sailesh Krishnamurthy <saileshwar@yahoo.com> writes:

> Typing C-g again sets it back to the hanging state. Is there anything else I
> can try that will help me debug this more ? I still am not able to look at the
> *imap-log* and *imap-debug* variables. This is what I have in my .gnus file:
>
> (setq imap-log "*imap-log*")
> (setq imap-debug "*imap-debug*")

Variables?  You have to look at the buffers.

Does it really not work to type

    C-x b * i m a p - l o g * RET

to switch to one of the buffers?  Hm.

kai
-- 
Abort this operation?   [OK]  [Cancel]



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

* Re: nnimap question
  2001-09-28 12:53               ` Kai Großjohann
@ 2001-09-28 22:21                 ` Sailesh Krishnamurthy
  2001-09-29  1:15                   ` Kai Großjohann
  0 siblings, 1 reply; 19+ messages in thread
From: Sailesh Krishnamurthy @ 2001-09-28 22:21 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1511 bytes --]


--- Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> wrote:
> Sailesh Krishnamurthy <saileshwar@yahoo.com> writes:
> 
> > Typing C-g again sets it back to the hanging state. Is there anything else
> I
> > can try that will help me debug this more ? I still am not able to look at
> the
> > *imap-log* and *imap-debug* variables. This is what I have in my .gnus
> file:
> >
> > (setq imap-log "*imap-log*")
> > (setq imap-debug "*imap-debug*")
> 
> Variables?  You have to look at the buffers.

Rrright. That was a typo. I _do_ know how to switch between buffers :-)

> Does it really not work to type
> 
>     C-x b * i m a p - l o g * RET
> 
> to switch to one of the buffers?  Hm.

Not when the buffers don't 

However, these buffers just don't exist. That is my problem. Gnus just hangs
after imap-ssl-open on accept-process-output ... when I finally hit C-g to stop
it, I get the stack trace .. but there is no other relevant buffer. I checked
with C-x C-b

I'm assuming that setting imap-log and imap-debug is the right way to get the
buffers activated. Is that correct ? Or am I just wrong ? 

Thanks for helping me out folks .. the last time I was in grad school (4 years
back :-) nnml was fine. This time I'm forced to use IMAP, and I'd just love to
use only Gnus again !


=====
Toodle-pip
Sailesh 
http://www.cs.berkeley.edu/~sailesh
Ph: (510) 526-7850

__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com



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

* Re: nnimap question
  2001-09-28 22:21                 ` Sailesh Krishnamurthy
@ 2001-09-29  1:15                   ` Kai Großjohann
  0 siblings, 0 replies; 19+ messages in thread
From: Kai Großjohann @ 2001-09-29  1:15 UTC (permalink / raw)
  Cc: ding

Sailesh Krishnamurthy <saileshwar@yahoo.com> writes:

> However, these buffers just don't exist. That is my problem. Gnus
> just hangs after imap-ssl-open on accept-process-output ... when I
> finally hit C-g to stop it, I get the stack trace .. but there is no
> other relevant buffer. I checked with C-x C-b

Hm, sorry for the false accusations.  It looks like connection
establishment is going wrong.  But, alas, I don't know anything about
this, here, so I can't help.  Especially not with SSL.

kai
-- 
Abort this operation?   [OK]  [Cancel]



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

* Re: nnimap question
  2001-09-28  4:06             ` Sailesh Krishnamurthy
  2001-09-28 12:53               ` Kai Großjohann
@ 2001-09-30  4:19               ` Amos Gouaux
  2001-10-03 18:18                 ` success - " Sailesh Krishnamurthy
  1 sibling, 1 reply; 19+ messages in thread
From: Amos Gouaux @ 2001-09-30  4:19 UTC (permalink / raw)


>>>>> On Thu, 27 Sep 2001 21:06:57 -0700 (PDT),
>>>>> Sailesh Krishnamurthy <saileshwar@yahoo.com> (sk) writes:

sk> (setq imap-ssl-program "/usr/mill/bin/openssl s_client -ssl3 -connect %s:%p")

This is probably unrelated but, as I recently learned, I think you
might want to include "-quiet" in there.

-- 
Amos




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

* success - Re: nnimap question
  2001-09-30  4:19               ` Amos Gouaux
@ 2001-10-03 18:18                 ` Sailesh Krishnamurthy
  2001-10-04  8:03                   ` Kai Großjohann
  0 siblings, 1 reply; 19+ messages in thread
From: Sailesh Krishnamurthy @ 2001-10-03 18:18 UTC (permalink / raw)


Folks

I finally managed to get IMAP working, but only from the Linux partition of my
workstation. It's pretty recalcitrant on Win2K and on some other linux boxes in
my dept. I guess it's an SSL issue. Thanks for all the help.

Another question for the list .. I want to use nnml to get at a POP server (my
Yahoo mail). Although I could get it working quite easily, it sucks all my mail
from the POP server. I couldn't find out how to configure it so that it leaves
messages on the POP server. I must be missing something basic .. any
suggestions ? 

Thanks again ! Glad to be on familiar Gnus ground again :-)


--- Amos Gouaux <amos+lists.ding@utdallas.edu> wrote:
> >>>>> On Thu, 27 Sep 2001 21:06:57 -0700 (PDT),
> >>>>> Sailesh Krishnamurthy <saileshwar@yahoo.com> (sk) writes:
> 
> sk> (setq imap-ssl-program "/usr/mill/bin/openssl s_client -ssl3 -connect
> %s:%p")
> 
> This is probably unrelated but, as I recently learned, I think you
> might want to include "-quiet" in there.
> 
> -- 
> Amos
> 
> 

=====
Toodle-pip
Sailesh 
http://www.cs.berkeley.edu/~sailesh
Ph: (510) 526-7850

__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com



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

* Re: success - Re: nnimap question
  2001-10-03 18:18                 ` success - " Sailesh Krishnamurthy
@ 2001-10-04  8:03                   ` Kai Großjohann
  0 siblings, 0 replies; 19+ messages in thread
From: Kai Großjohann @ 2001-10-04  8:03 UTC (permalink / raw)
  Cc: ding

Sailesh Krishnamurthy <saileshwar@yahoo.com> writes:

> Another question for the list .. I want to use nnml to get at a POP
> server (my Yahoo mail). Although I could get it working quite
> easily, it sucks all my mail from the POP server. I couldn't find
> out how to configure it so that it leaves messages on the POP
> server. I must be missing something basic .. any suggestions ?

There is epop3mail by Franklin Lee which provides a `leave messages on
server' functionality.  I think that functionality should be part of
Gnus, but I don't have time to implement it.

kai
-- 
Abort this operation?   [OK]  [Cancel]



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

* Re: nnimap question
  2002-01-16 14:58   ` Vladimir Volovich
  2002-01-16 15:56     ` David S. Goldberg
@ 2002-01-21 20:44     ` Steinar Bang
  1 sibling, 0 replies; 19+ messages in thread
From: Steinar Bang @ 2002-01-21 20:44 UTC (permalink / raw)


>>>>> Vladimir Volovich <vvv@vsu.ru>:

> "SJ" == Simon Josefsson writes:

SJ> It would be possible, but then nnimap wouldn't notice when you get
SJ> new mail in those groups.  Some people seems to only receive mail
SJ> in one mailbox, and in this case it could be good to make this
SJ> optimisation.

> yes, i think this is the most common case. 

Is it?  I've always seen server side splitting as part of the point of
using IMAP.





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

* Re: nnimap question
  2002-01-16 14:58   ` Vladimir Volovich
@ 2002-01-16 15:56     ` David S. Goldberg
  2002-01-21 20:44     ` Steinar Bang
  1 sibling, 0 replies; 19+ messages in thread
From: David S. Goldberg @ 2002-01-16 15:56 UTC (permalink / raw)


>>>>> On Wed, 16 Jan 2002 17:58:04 +0300, Vladimir Volovich <vvv@vsu.ru> said:

> "SJ" == Simon Josefsson writes:
SJ> It would be possible, but then nnimap wouldn't notice when you
SJ> get new mail in those groups.  Some people seems to only receive
SJ> mail in one mailbox, and in this case it could be good to make
SJ> this optimisation.

> yes, i think this is the most common case. it would be good to have
> this configurable (to skip checking each mailbox).

My workaround for this is that I *know* to which nnimap groups I split
mail, which is only a few.  Most are archive groups to which I only
move/copy messages.  So I put the groups that can possibly get new
mail at a lower group level (1 or 2) and the others at (4) and set
gnus-group-use-permanent-levels to 3, which is where I have my nntp
groups.  Now g only checks those groups at levels 1 and 2.

Not as good as the optimizations Simon is talking about above, but
good enough for now.
-- 
Dave Goldberg
david.goldberg6@verizon.net





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

* Re: nnimap question
  2002-01-16 14:36 ` Simon Josefsson
@ 2002-01-16 14:58   ` Vladimir Volovich
  2002-01-16 15:56     ` David S. Goldberg
  2002-01-21 20:44     ` Steinar Bang
  0 siblings, 2 replies; 19+ messages in thread
From: Vladimir Volovich @ 2002-01-16 14:58 UTC (permalink / raw)


"SJ" == Simon Josefsson writes:

 SJ> It would be possible, but then nnimap wouldn't notice when you
 SJ> get new mail in those groups.  Some people seems to only receive
 SJ> mail in one mailbox, and in this case it could be good to make
 SJ> this optimisation.

yes, i think this is the most common case. it would be good to have
this configurable (to skip checking each mailbox).

[...]
 SJ> There is plenty of room for making things faster, at least...

yes, -- nntp newsgroups work so much faster...

Best,
v.




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

* Re: nnimap question
  2002-01-16 14:00 Vladimir Volovich
@ 2002-01-16 14:36 ` Simon Josefsson
  2002-01-16 14:58   ` Vladimir Volovich
  0 siblings, 1 reply; 19+ messages in thread
From: Simon Josefsson @ 2002-01-16 14:36 UTC (permalink / raw)
  Cc: ding

On Wed, 16 Jan 2002, Vladimir Volovich wrote:

> Hi!
> 
> when i run gnus-group-get-new-news (g) from the *Group* buffer,
> nnimap spemds a lot of time checking mailboxes: i see
> nnimap: Checking mailbox <mailbox_name>
> in the minibuffer for each of my nnimap mailbox,
> even when there are no new messages.
> 
> if it possible to avoid checking nnimap mailboxes for
> gnus-group-get-new-news (or do it only on gnus startup)?

It would be possible, but then nnimap wouldn't notice when you get new 
mail in those groups.   Some people seems to only receive mail in one 
mailbox, and in this case it could be good to make this optimisation.  But 
when I started implementing it, I remember client-side splitting, which 
would break this...  maybe the client-side splitting in nnimap can update 
it's internal state of which groups have new mail though.

I have also thought about doing this asynchronously in the background, so 
that `g' returns immediately, but with possible old data.

Using the STATUS command instead of entering the group could be possible
as well.  It could record the UIDNEXT value and only enter the group (to
get highest/lowest article number) if it has changed.  Then it could cache
highest/lowest article number for groups.  This would work and have no bad
side effects, I think.

There is plenty of room for making things faster, at least...




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

* nnimap question
@ 2002-01-16 14:00 Vladimir Volovich
  2002-01-16 14:36 ` Simon Josefsson
  0 siblings, 1 reply; 19+ messages in thread
From: Vladimir Volovich @ 2002-01-16 14:00 UTC (permalink / raw)


Hi!

when i run gnus-group-get-new-news (g) from the *Group* buffer,
nnimap spemds a lot of time checking mailboxes: i see
nnimap: Checking mailbox <mailbox_name>
in the minibuffer for each of my nnimap mailbox,
even when there are no new messages.

if it possible to avoid checking nnimap mailboxes for
gnus-group-get-new-news (or do it only on gnus startup)?

Best,
v.




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

end of thread, other threads:[~2002-01-21 20:44 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-26  0:00 nnimap question Sailesh Krishnamurthy
2001-09-26  7:29 ` Simon Josefsson
2001-09-26  9:29   ` Sailesh Krishnamurthy
2001-09-26 10:53     ` Simon Josefsson
2001-09-26 19:46       ` Sailesh Krishnamurthy
2001-09-26 20:16         ` Simon Josefsson
2001-09-27  0:54           ` Sailesh Krishnamurthy
2001-09-28  4:06             ` Sailesh Krishnamurthy
2001-09-28 12:53               ` Kai Großjohann
2001-09-28 22:21                 ` Sailesh Krishnamurthy
2001-09-29  1:15                   ` Kai Großjohann
2001-09-30  4:19               ` Amos Gouaux
2001-10-03 18:18                 ` success - " Sailesh Krishnamurthy
2001-10-04  8:03                   ` Kai Großjohann
2002-01-16 14:00 Vladimir Volovich
2002-01-16 14:36 ` Simon Josefsson
2002-01-16 14:58   ` Vladimir Volovich
2002-01-16 15:56     ` David S. Goldberg
2002-01-21 20:44     ` Steinar Bang

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