* imap connection problems
@ 2010-10-14 13:07 Norbert Koch
2010-10-14 16:18 ` Kan-Ru Chen
0 siblings, 1 reply; 8+ messages in thread
From: Norbert Koch @ 2010-10-14 13:07 UTC (permalink / raw)
To: ding
Hi!
With the latest source (I guess :-)):
Warning: Opening nnimap server on mmlab...failed: ; Denied server
nnimap+mmlab; Opening nnimap server on mmlab...failed: ; Unable to open
server nnimap+mmlab due to: Invalid format character: `%s'
This is at least after the 'wrong type' error has been solved
norbert.
--
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: imap connection problems
2010-10-14 13:07 imap connection problems Norbert Koch
@ 2010-10-14 16:18 ` Kan-Ru Chen
2010-10-14 18:59 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 8+ messages in thread
From: Kan-Ru Chen @ 2010-10-14 16:18 UTC (permalink / raw)
To: ding
Norbert Koch <viteno@xemacs.org> writes:
> Hi!
>
> With the latest source (I guess :-)):
>
> Warning: Opening nnimap server on mmlab...failed: ; Denied server
> nnimap+mmlab; Opening nnimap server on mmlab...failed: ; Unable to open
> server nnimap+mmlab due to: Invalid format character: `%s'
>
> This is at least after the 'wrong type' error has been solved
>
> norbert.
This should fix it.
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index b530ce6..cc64dfe 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -318,7 +318,7 @@ textual parts.")
(setq port (or nnimap-server-port "imap")))
'("imap"))
((eq nnimap-stream 'starttls)
- (let ((tls-program "openssl s_client %s -connect %h:%p -no_ssl2 -ign_eof -starttls imap"))
+ (let ((tls-program '("openssl s_client -connect %h:%p -no_ssl2 -ign_eof -starttls imap")))
(open-tls-stream
"*nnimap*" (current-buffer) nnimap-address
(setq port (or nnimap-server-port "imap"))))
I don't know why force the using of openssl instead of default
tls-program though..
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: imap connection problems
2010-10-14 16:18 ` Kan-Ru Chen
@ 2010-10-14 18:59 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-14 18:59 UTC (permalink / raw)
To: ding
Kan-Ru Chen <kanru@kanru.info> writes:
> - (let ((tls-program "openssl s_client %s -connect %h:%p -no_ssl2 -ign_eof -starttls imap"))
> + (let ((tls-program '("openssl s_client -connect %h:%p -no_ssl2 -ign_eof -starttls imap")))
Thanks. I should read all the email before fixing stuff -- I just
applied the same thing half an hour ago. :-)
> I don't know why force the using of openssl instead of default
> tls-program though..
gnutls-cli works very, very differently than openssl.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Imap connection problems
2010-03-23 1:56 ` Ted Zlatanov
@ 2010-03-23 9:33 ` Norbert Koch
0 siblings, 0 replies; 8+ messages in thread
From: Norbert Koch @ 2010-03-23 9:33 UTC (permalink / raw)
To: ding
* Ted Zlatanov <tzz@lifelogs.com>:
> It's fixed.
Yup :-)
> I forgot to make the new optional auth-sources parameters inlined in
> the customization and accidentally broke the default auth-sources
> value.
Thanks a lot!
norbert.
--
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Imap connection problems
2010-03-22 19:27 ` Ted Zlatanov
@ 2010-03-23 1:56 ` Ted Zlatanov
2010-03-23 9:33 ` Norbert Koch
0 siblings, 1 reply; 8+ messages in thread
From: Ted Zlatanov @ 2010-03-23 1:56 UTC (permalink / raw)
To: ding
On Mon, 22 Mar 2010 14:27:25 -0500 Ted Zlatanov <tzz@lifelogs.com> wrote:
Norbert Koch <viteno@xemacs.org> wrote:
>> Since this weekend, I get the following error when trying to connect to
>> my IMAP server. It may be related to the latest patches:
TZ> It's my screwup, sorry. Revert to the previous version of
TZ> auth-source.el and I'll commit a fix tonight. Or you can set
TZ> auth-sources explicitly to what it used to be, without a nil at the end
TZ> :)
It's fixed. I forgot to make the new optional auth-sources parameters
inlined in the customization and accidentally broke the default
auth-sources value.
Ted
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Imap connection problems
2010-03-22 19:24 ` Martin Stjernholm
@ 2010-03-22 19:27 ` Ted Zlatanov
2010-03-23 1:56 ` Ted Zlatanov
0 siblings, 1 reply; 8+ messages in thread
From: Ted Zlatanov @ 2010-03-22 19:27 UTC (permalink / raw)
To: ding
On Mon, 22 Mar 2010 20:24:16 +0100 Martin Stjernholm <mast@lysator.liu.se> wrote:
MS> Norbert Koch <viteno@xemacs.org> wrote:
>> Since this weekend, I get the following error when trying to connect to
>> my IMAP server. It may be related to the latest patches:
MS> I assume that'd be my patches, so I respond even though I can't say that
MS> error rings a bell with me. Needless to say, I've used this for some
MS> time now without problems. My configuration is a bit different:
MS> (setq gnus-select-method
MS> '(nnimap "imap.my.server.foo"
MS> (nnimap-server-port 993)
MS> (nnimap-stream tls)))
MS> And I don't use ~/.authinfo.
MS> Unless someone else has a better idea, all I can suggest is that you try
MS> to catch an elisp backtrace when the error happens. That might give some
MS> clues.
Norbert,
It's my screwup, sorry. Revert to the previous version of
auth-source.el and I'll commit a fix tonight. Or you can set
auth-sources explicitly to what it used to be, without a nil at the end
:)
Ted
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Imap connection problems
2010-03-22 13:29 Imap " Norbert Koch
@ 2010-03-22 19:24 ` Martin Stjernholm
2010-03-22 19:27 ` Ted Zlatanov
0 siblings, 1 reply; 8+ messages in thread
From: Martin Stjernholm @ 2010-03-22 19:24 UTC (permalink / raw)
To: ding
Norbert Koch <viteno@xemacs.org> wrote:
> Since this weekend, I get the following error when trying to connect to
> my IMAP server. It may be related to the latest patches:
I assume that'd be my patches, so I respond even though I can't say that
error rings a bell with me. Needless to say, I've used this for some
time now without problems. My configuration is a bit different:
(setq gnus-select-method
'(nnimap "imap.my.server.foo"
(nnimap-server-port 993)
(nnimap-stream tls)))
And I don't use ~/.authinfo.
Unless someone else has a better idea, all I can suggest is that you try
to catch an elisp backtrace when the error happens. That might give some
clues.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Imap connection problems
@ 2010-03-22 13:29 Norbert Koch
2010-03-22 19:24 ` Martin Stjernholm
0 siblings, 1 reply; 8+ messages in thread
From: Norbert Koch @ 2010-03-22 13:29 UTC (permalink / raw)
To: ding
Hi!
Since this weekend, I get the following error when trying to connect to
my IMAP server. It may be related to the latest patches:
Unable to open server nnimap+mmlab, go offline? (y or n)
Unable to open server nnimap+mmlab due to: Malformed property list: (:source "~/.authinfo.gpg" :host t :protocol t nil), (nil)
Parsing authinfo file `~/.authinfo'.
Waiting for response from imap.mmlab.de...done
imap: Connecting with STARTTLS...done
imap: Connecting with STARTTLS...
This is on
- XEmacs 21.5 (beta29) "garbanzo" 57f4dcb14ad5+ [Lucid] (i686-pc-linux, Mule) of Sun Mar 21 2010
- No Gnus v0.11 as of today
The nnimap configuration is simple:
(setq gnus-secondary-select-methods
`((nnimap "mmlab"
(nnimap-address "imap.mmlab.de")
(nnimap-stream starttls)
(nnimap-authenticator login))))
Any hints? Thanks,
norbert.
--
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-10-14 18:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-14 13:07 imap connection problems Norbert Koch
2010-10-14 16:18 ` Kan-Ru Chen
2010-10-14 18:59 ` Lars Magne Ingebrigtsen
-- strict thread matches above, loose matches on Subject: below --
2010-03-22 13:29 Imap " Norbert Koch
2010-03-22 19:24 ` Martin Stjernholm
2010-03-22 19:27 ` Ted Zlatanov
2010-03-23 1:56 ` Ted Zlatanov
2010-03-23 9:33 ` Norbert Koch
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).