On 8 May 2013, at 05:45, [email protected] wrote: > On Tuesday, May 07, 2013 06:58:50 PM Terry Gilsenan wrote: > > Firstly, Is the mail client socks aware? If it is not then that is the > > issue you need to fix. If it is, then tell it to use the socks proxy on > > port 9110 > > > > Shorewall is an IPTables configurator, it is NOT a proxy. Shorewall isn't a > > magic bit of software that knows how to interface to a socks proxy. > > > > You need a socks aware email client. > > Unfortunately it's KMail, which is not SOCKS-aware. But KMail lets me put my > mail where I want and in a form that I want (mbox) and has several features > that I want. I tried to like Thunderbird, Evolution, Sylpheed, Claws, etc, > but each is either too primitive or, lacks some vital feature. I am not happy > with KMail, but it's the only one I've found that does the vitals. Trust me, > I wish there were something better. I keep looking. > > When I use torsocks (or usewithtor or UWT) with KMail, KMail ignores the > redirect. It simply still sends on 465. How do I know? Because I block 465 > and get a firewall violation. I IRCed the dev for torsocks and he says it was > developed a long time ago and doesn't work with many GUI applications. He's > the one who suggested that I do this with iptables, and he knows his stuff, > Haters notwithstanding. > > I use POP3s and sSMTP (995 & 465) for email. I do not know what it takes to > put this through a SOCKS5 port. The Tor SOCKS port I have allocated to email > is 127.0.0.1:9110. I suppose this should be done like a tunnel, so that 465 > and 995 accesses go through 9110 and come out the other end of the tunnel (at > the Exit Node) and proceed to the mail server as 465 and 995, if you take my > meaning. The closest thing this sounds like to me is NAT, but I don't know > what the fact of a SOCKS port means in this respect, and no one else I've > asked does either. > >
You might want to look at something like TransSocks, which, I understand, is intended to allow exactly this kind of tunnelling. I think you would set it up to forward over the SOCKS proxy on 9110 and listen on some other port, and then redirect application traffic to *that*. Dominic ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
