From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Schmitt Newsgroups: gmane.emacs.help Subject: Re: SMTP with SOCKS proxy? Date: Wed, 30 Jul 2014 11:38:55 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1406713845 26139 80.91.229.3 (30 Jul 2014 09:50:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2014 09:50:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 30 11:50:40 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XCQWs-0002jz-It for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Jul 2014 11:50:38 +0200 Original-Received: from localhost ([::1]:49983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCQWs-0001mv-5T for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Jul 2014 05:50:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCQWQ-0001lf-10 for help-gnu-emacs@gnu.org; Wed, 30 Jul 2014 05:50:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCQWL-00047K-6u for help-gnu-emacs@gnu.org; Wed, 30 Jul 2014 05:50:09 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:44850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCQWL-00045Y-1C for help-gnu-emacs@gnu.org; Wed, 30 Jul 2014 05:50:05 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XCQWJ-0002JE-R0 for help-gnu-emacs@gnu.org; Wed, 30 Jul 2014 11:50:03 +0200 Original-Received: from top-wifi.irisa.fr ([131.254.66.192]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jul 2014 11:50:03 +0200 Original-Received: from alan.schmitt by top-wifi.irisa.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jul 2014 11:50:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 59 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: top-wifi.irisa.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:+JVjEm5SmEN8i5b73gUgrElfpiM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99000 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2014-07-30 03:51, Leon Baum 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 =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJT2L01AAoJEAQNCjtO0uXHRgIH/RzcsMK4IhiMY5Mc0dbD+hzD Ktr8WRZdrn7iT6VTdHSHPKw12RT+rQeWIV8om7P2TwWlXSScp4Nvq9TLYOYkXrs1 Il2G7GHvq83bu4EF1S6mOhfrFuLoHcLKS57X3rsxKnyg/bCOgzZzbiNwbZAQo/hG D/X2oaoG6MrKJzoXXnnsNJWnrNvuUcjxKJdViPbaKo8W3ka7MxnU6RLk2AJP3432 TUSnXW+G1epzuzSlm9nkYbzzkrb+O8/m4OoIT774IptN1JisaLqh3fC7s6+yQ8hA JAyOXppTm7I+t7TKyPCkqeV+rvgkzdoIEKGpun+mucWABWxsrICiMVHgykTNT3M= =FTBm -----END PGP SIGNATURE----- --=-=-=--