Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: info-gnus-english@gnu.org
Subject: Re: Automatically authenticating at local imap server
Date: Mon, 04 Feb 2008 09:39:45 +0100	[thread overview]
Message-ID: <87odax2jzi.fsf@member.fsf.org> (raw)
In-Reply-To: <87fxw9lr6x.fsf@gaura-nitai.dyndns.org>

Gour <gour@mail.inet.hr> writes:

Hi Gour,

> Tassilo> Everytime I start Gnus it asks me how to logon at the local
> Tassilo> IMAP server, but instead I want that it uses the username and
> Tassilo> password that are in my ~/.authinfo.
>
> Here is my ~/.authinfo:
>
> machine localhost login gour password xxxxxxxx

Hm, reading your config below I would thing that localhost-IMAP would be
the correct machine name.  Else, how would gnus figure out how to login
on i.e. a local newsserver that uses a different user/password.

> and snippet from .gnus:
>
> (setq mail-sources nil)
> (setq gnus-select-method '(nntp  "news.gmane.org")
>       gnus-secondary-select-methods
>         '((nnimap "localhost-IMAP" (nnimap-address "localhost")) 
>           (nntp "news.iskon.hr")))

No big difference to my config.  I only set the stream/authenticator to
use no encryption, because the tls connection broke down several times.
But even if I use exactly your config (with my name for the method) it
won't logon automatically.  Well, I'll try to edebug it as Reiner
suggested.

> That's all and it works with dovecot server.

Yeah, dovecot here, too.  I never tried running a local IMAP server
because I thought it would be quite complex, but in fact it was easy,
basically: emerge dovecot; edit a few lines in the well commented
dovecot.conf, start the server.

Another question about dovecot: When I used nnmaildir I indexed the
mails with mairix and could do very fast searches with the nnmairix
backend.  Currently I use nnir's imap backend to search on the local
imap server, but that takes ages for huge groups.  Is there a way to
teach dovecot to use a mailindexing tool to speed that up?

Bye,
Tassilo
-- 
If you were somehow able to land a punch on Chuck Norris your entire arm
would shatter upon  impact. This is only in theory,  since, come on, who
in their right mind would try this?

  reply	other threads:[~2008-02-04  8:39 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6898.1202031751.18990.info-gnus-english@gnu.org>
2008-02-03 20:29 ` Gour
2008-02-04  8:39   ` Tassilo Horn [this message]
2008-02-04 14:33     ` David
2008-02-04 19:40       ` Tassilo Horn
2008-02-04 22:22         ` David
2008-02-05  8:32           ` Tassilo Horn
2008-02-05 10:53             ` David
2008-02-05 12:16               ` Tassilo Horn
     [not found]         ` <mailman.6972.1202163783.18990.info-gnus-english@gnu.org>
2008-02-05 17:00           ` Ted Zlatanov
2008-02-05 21:58             ` David
2008-02-06  9:17               ` Tassilo Horn
2008-02-06 11:56                 ` David
2008-02-06 23:03                   ` new version of nnmairix.el (was: Automatically authenticating at local imap server) David
     [not found]             ` <mailman.7011.1202248745.18990.info-gnus-english@gnu.org>
2008-02-06 15:24               ` Automatically authenticating at local imap server Ted Zlatanov
2008-02-06 20:07                 ` David
     [not found]                 ` <mailman.7050.1202328476.18990.info-gnus-english@gnu.org>
2008-02-15 22:35                   ` Ted Zlatanov
2008-02-23 17:55                     ` Registry not registering duplicate articles (was: Automatically authenticating at local imap server) David
     [not found]                     ` <mailman.7831.1203789258.18990.info-gnus-english@gnu.org>
2008-02-26 16:54                       ` Registry not registering duplicate articles Ted Zlatanov
2008-02-26 18:20                         ` Ted Zlatanov
2008-02-03  9:42 Automatically authenticating at local imap server Tassilo Horn
2008-02-03 11:00 ` Reiner Steib
2008-02-04  9:06   ` Tassilo Horn
2008-02-06 20:17     ` Reiner Steib
2008-02-07  9:57       ` 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=87odax2jzi.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --cc=info-gnus-english@gnu.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.
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).