From: Reiner Steib <reinersteib+gmane@imap.cc>
To: help-gnu-emacs@gnu.org
Subject: Re: IMAP over SSH in GNUS
Date: Thu, 14 Feb 2008 22:27:25 +0100 [thread overview]
Message-ID: <v9ejbffcua.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: 20080214125116.GB28671@sqlserver
On Thu, Feb 14 2008, Hans Ekbrand wrote:
> (setq gnus-secondary-select-methods
> '(
> (nnimap "code.cjb.net"
> (nnimap-stream shell)
> (imap-shell-program "ssh -q code.cjb.net 'export MAIL=maildir:$HOME/Maildir; /usr/lib/dovecot/imap --exec-mail imap'")
> )
> (nnimap "test"
> (nnimap-address "localhost")
> (nnimap-server-port 1234)
> )
> )
> )
>
> While the second entry "test", works it requires:
>
> a. a working ssh-tunnel before I start gnus
> b. that the imap server is configured to listen on a port and to authenticate
> c. that gnus manages (asks me about) username and password for the imap server
See ~/.authinfo in (info "(gnus)NNTP").
> All of which are unnecessary in my current setup (the mutt-onliner above).
>
> Why does not the first entry above "code.cjb.net" work? (gnus says:
> {nnimap:test} (opened)
> {nnimap:code.cjb.net} (denied))
Hm, I never tried something like this. Does it help to redirect
stderr to /dev/null as suggested in the manual?
,----[ (info "(gnus)IMAP") ]
| For IMAP connections using the `shell' stream, the variable
| `imap-shell-program' specify what program to call. Make sure
| nothing is interfering with the output of the program, e.g., don't
| forget to redirect the error output to the void.
`----
If you don't get help here, you may ask in gnu.emacs.gnus.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2008-02-14 21:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-14 12:51 IMAP over SSH in GNUS Hans Ekbrand
2008-02-14 21:27 ` Reiner Steib [this message]
[not found] <mailman.7402.1202997113.18990.help-gnu-emacs@gnu.org>
2008-02-19 21:20 ` Ted Zlatanov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9ejbffcua.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=help-gnu-emacs@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 read-only IMAP folder(s) and NNTP newsgroup(s).