From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: help-gnu-emacs@gnu.org
Subject: Re: SMTP with SOCKS proxy?
Date: Wed, 30 Jul 2014 11:38:55 +0200 [thread overview]
Message-ID: <m28unbkwy8.fsf@top-wifi.irisa.fr> (raw)
In-Reply-To: CAAQPnUtP+UucuNXSX_q8e2g1cN66TTtzwLqOKd4+pE4LKMF+Rg@mail.gmail.com
[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]
On 2014-07-30 03:51, Leon Baum <leonbaum2@gmail.com> writes:
> I use the mu4e mail reader with the native emacs SMTP library. I would
> like to configure SMTP to use a SOCKS proxy so that I can send my email
> with tor. I don't see any configuration options in the documentation. Is
> this not possible?
I'm also very interested in this. I tried several approaches to have
emacs network connexion use a SOCKS proxy, and both failed.
What I tried:
1. From within emacs
#+begin_src emacs-lisp
(setq socks-override-functions 1)
(setq socks-noproxy '("localhost"))
(require 'socks)
#+end_src
(source: http://www.emacswiki.org/emacs/ErcProxy)
Trying to open a server using erc-tls then failed, because of an extra
argument ":tls" in the open-network function call.
2. From outside emacs
I started emacs with torsocks. Unfortunately launching gnus failed
because I was not able to decrypt authinfo.gpg.
I would prefer a solution from inside emacs (solution 1) but I don't
know if it's possible.
Best,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
[-- Attachment #2: Type: application/pgp-signature, Size: 494 bytes --]
next prev parent reply other threads:[~2014-07-30 9:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-30 1:51 SMTP with SOCKS proxy? Leon Baum
2014-07-30 9:38 ` Alan Schmitt [this message]
2014-07-31 8:53 ` Jonathan Groll
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=m28unbkwy8.fsf@top-wifi.irisa.fr \
--to=alan.schmitt@polytechnique.org \
--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).