From: Marius Hofert <marius.hofert@math.ethz.ch>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: Emacs help <help-gnu-emacs@gnu.org>
Subject: Re: Gnus: Error on setting up IMAP accounts
Date: Sat, 29 Oct 2011 11:45:48 +0200 [thread overview]
Message-ID: <102BEDB3-40CC-4D9D-8D74-B8859E5852B3@math.ethz.ch> (raw)
In-Reply-To: <87r51wp6cb.fsf@thinkpad.tsdh.de>
Dear Tassilo,
thanks a lot.
I minimalized "gnus-secondary-select-methods" as you suggested. I also adjusted authinfo and put (org-contacts-gnus-insinuate) in .emacs.
The connection to mail.uni.edu at startup works quite fast (about 1s), but the I get asked "Buffer has a running process; kill it?" If I choose yes, then "imap: Connecting to imap.googlemail.com..." appears (again, for as long as I don't abort it with C-g). I also very briefly see "error in process filter: Internal error, tag 4 status BAD code nil text Command received in Invalid state."
Reading /Users/myuser/.newsrc.eld...
Reading active file via nnnil...done
Reading active file from address@uni.edu via nnimap...
Opening nnimap server on address@uni.edu...
imap: Connecting to mail.uni.edu...
Waiting for response from mail.uni.edu...done
imap: Reconnecting with stream `starttls'...
Opening STARTTLS connection to `mail.uni.edu:143'...
Buffer has a running process; kill it? (y or n)y
imap: Reconnecting with stream `starttls'...failed
imap: Connecting to mail.uni.edu...done
Parsing authinfo file `~/.authinfo'.
imap: Authenticating to `mail.uni.edu' using `anonymous'...
imap: Logging in anonymously...
imap: Authenticating to `mail.uni.edu' using `anonymous'...failed
Opening nnimap server on address@uni.edu...done
Reading active file from address@googlemail.com via nnimap...
Opening nnimap server on address@googlemail.com...
imap: Connecting to imap.googlemail.com...failed
Opening nnimap server on address@googlemail.com...failed
Opening nnimap server on address@uni.edu...
imap: Connecting to mail.uni.edu...failed
Opening nnimap server on address@uni.edu...failed
Opening nnimap server on address@googlemail.com...
Denied server nnimap+address@googlemail.com
Opening nnimap server on address@googlemail.com...failed
No new newsgroups
Checking new news...
Opening nndoc server on gnus-help...done
Checking new news...done
Also, the (org-contacts-gnus-insinuate) statement did not change anything concerning the completion (I am in the "To" line and type "Us" + TAB. I expect to get "User", but nothing happens), but that's certainly not the major problem at the moment.
Please let me know if you need more details.
Cheers,
Marius
On 2011-10-29, at 10:09 , Tassilo Horn wrote:
>
> Hi Marius,
>
>> (setq gnus-select-method '(nnnil))
>> (setq user-mail-address "address@hidden")
>> (setq user-full-name "My Name")
>>
>> (setq gnus-secondary-select-methods
>> '((nnimap "address@hidden"; primary email account
>> (nnimap-address "mail.uni.edu"); mail server address
>> (nnimap-server-port 993); port
>> (nnimap-authenticator login); authentication method
>> )
>> (nnimap "address@googlemail.com"; secondary email account
>> (nnimap-address "imap.googlemail.com"); mail server address
>> (nnimap-server-port 993); port
>> (nnimap-authenticator login); authentication method
>> ))
>> )
>
> I'd probably start with just these gnus-secondary-s-m
>
> '((nnimap "address@hidden"
> (nnimap-address "mail.uni.edu"))
> (nnimap "gmail"
> (nnimap-address "...")))
>
> Most probably, that'll just work. Gnus will automatically determine
> what's the most secure connection for the servers and use that.
>
>> 3) ~/.authinfo (as before):
>> machine mail.uni.edu login mylogin port 993
>> machine imap.googlemail.com login address@googlemail.com port 993
>
> Don't specify a port if not needed. And add a "force yes" as last thing
> in each line.
>
>> 4) If I start Gnus with M-x gnus, I see:
>> imap: Connecting to mail.uni.edu # I see this for about 2min; can't do anything else with emacs during that time
>> imap: Connecting to imap.googlemail.com # I see this for as long as I watch... The only chance to proceed is to hit C-g
>
> Probably, because you say Gnus to use port 993 with SSL while the
> servers prefer something else. As said, start with a minimal setup.
>
>> Q5: I have a file contacts.org containing all contacts in
>> "org-contacts"-form. My .emacs contains:
>> (setq load-path (cons "~/.emacs.d/contacts" load-path))
>> (require 'org-contacts)
>> (custom-set-variables
>> '(org-contacts-files '("~/org/contacts.org")))
>> [I found this here:
>> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg37143.html] As
>> mentioned on http://julien.danjou.info/org-contacts.html, this allows
>> for completion of addresses. I tried it, but I can't complete
>> addresses defined in contacts.org. What else do I have to specify?
>
> You need to call
>
> (org-contacts-gnus-insinuate)
>
> in your ~/.emacs or ~/.gnus.el to make that working.
>
> Bye,
> Tassilo
> --
> (What the world needs (I think) is not
> (a Lisp (with fewer parentheses))
> but (an English (with more.)))
> Brian Hayes, http://tinyurl.com/3y9l2kf
next prev parent reply other threads:[~2011-10-29 9:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-29 7:58 Gnus: Error on setting up IMAP accounts Marius Hofert
2011-10-29 8:09 ` Tassilo Horn
2011-10-29 9:45 ` Marius Hofert [this message]
2011-10-29 18:33 ` Tassilo Horn
2011-10-29 23:01 ` Marius Hofert
2011-10-31 16:56 ` Marius Hofert
-- strict thread matches above, loose matches on Subject: below --
2011-10-28 19:07 Marius Hofert
2011-10-28 20:49 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=102BEDB3-40CC-4D9D-8D74-B8859E5852B3@math.ethz.ch \
--to=marius.hofert@math.ethz.ch \
--cc=help-gnu-emacs@gnu.org \
--cc=tassilo@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.