[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] tordns incapable of MX lookups (was Basics of secure email platform)



tor@xxxxxxxxxxxxxxxxxx:
> > >>   1) Create a list of tor exit nodes that do not block port 25
> > >>   2) Command the tor daemon to exit those nodes exclusively.
> > >SSL-SMTP configured to works over 465 port in most cases.
> > On Windows Yes.
> > SMTP over ssl/tls is configured on port 25. Starttls, aca
> > submission, is configured for port 587
> 
> You guys are getting hung up on the wrong thing.  Before talking ports
> (which is a non-issue), realize that tordns cannot do an MX lookup.
> This remains the biggest hurdle to sending mail.
> 
> Postfix must run with a transparent proxy (no SOCKS proxy capability),
> so it relies wholly on tordns for MX lookups.  

It is also possible to some advanced magic around Postfix to avoid that.
The trick is to use a daemon, hooked up to Postfix using a tcp_table(5)
as transport_maps. Then for each mail that Postfix wants to deliver,
that daemon open up a new local port where traffic will be redirected
through Tor to the SMTP server. Postfix is told to use that local
address in order to deliver that particular email. Because that deamon
will be the one doing the MX lookup, it can query a DNS over TCP over
Tor to get the MX record.

I might still have some Ruby code implementing that scheme lying around
somewhere if anyone's interested. I was the first one amazed when it
actually worked.

-- 
Lunar                                             <lunar@xxxxxxxxxxxxxx>

Attachment: signature.asc
Description: Digital signature

-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk