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

Re: [tor-talk] Using `msmtp` and etc. with post servers under hidden services (resolved)



On 17.09.2011 17:05, James Brown wrote:
> I try to use msmtp for connecting with a post server running on the
> hidden service jhiwjjlqpyawmpjx.onion (tormail.net).
> For it I use mutt+msmtp or simply msmtp from the transparently torified
> user.
> When I use it for contacting by such method with post servers which
> having public dns-address I have no any problem:
>> $ msmtp -vvvv --serverinfo --host=smtp.gmail.com
>> host                  = smtp.gmail.com
>> port                  = 25
>> timeout               = off
>> protocol              = smtp
>> domain                = localhost
>> auth                  = none
>> user                  = (not set)
>> password              = (not set)
>> ntlmdomain            = (not set)
>> tls                   = off
>> tls_starttls          = on
>> tls_trust_file        = (not set)
>> tls_crl_file          = (not set)
>> tls_fingerprint       = (not set)
>> tls_key_file          = (not set)
>> tls_cert_file         = (not set)
>> tls_certcheck         = on
>> tls_force_sslv3       = off
>> tls_min_dh_prime_bits = (not set)
>> tls_priorities        = (not set)
>> <-- 220 mx.google.com ESMTP z9sm9232841bkn.7
>> --> EHLO localhost
>> <-- 250-mx.google.com at your service, [78.47.226.40]
>> <-- 250-SIZE 35882577
>> <-- 250-8BITMIME
>> <-- 250-STARTTLS
>> <-- 250 ENHANCEDSTATUSCODES
>> --> QUIT
>> <-- 221 2.0.0 closing connection z9sm9232841bkn.7
>> SMTP server at smtp.gmail.com (bw-in-f108.1e100.net [74.125.43.108]), port 25:
>>     mx.google.com ESMTP z9sm9232841bkn.7
>> Capabilities:
>>     SIZE 35882577:
>>         Maximum message size is 35882577 bytes = 34,22 MiB
>>     STARTTLS:
>>         Support for TLS encryption via the STARTTLS command
>> This server might advertise more or other capabilities when TLS is active.
> 
>> ~$ telnet smtp.gmail.com 25
>> Trying 74.125.43.108...
>> Connected to smtp.gmail.com.
>> Escape character is '^]'.
>> 220 mx.google.com ESMTP z9sm9235122bkn.7
> 
> But when I try to connect with that hidden-service I cannot do it:
>> ~$ msmtp -vvvv --serverinfo --host=jhiwjjlqpyawmpjx.onion
>> host                  = jhiwjjlqpyawmpjx.onion
>> port                  = 25
>> timeout               = off
>> protocol              = smtp
>> domain                = localhost
>> auth                  = none
>> user                  = (not set)
>> password              = (not set)
>> ntlmdomain            = (not set)
>> tls                   = off
>> tls_starttls          = on
>> tls_trust_file        = (not set)
>> tls_crl_file          = (not set)
>> tls_fingerprint       = (not set)
>> tls_key_file          = (not set)
>> tls_cert_file         = (not set)
>> tls_certcheck         = on
>> tls_force_sslv3       = off
>> tls_min_dh_prime_bits = (not set)
>> tls_priorities        = (not set)
>> msmtp: cannot connect to jhiwjjlqpyawmpjx.onion, port 25: Ð ÑÐÐÐÐÐÐÐÐÐ ÐÑÐÐÐÐÐÐ
> 
>> ~$ telnet jhiwjjlqpyawmpjx.onion 25
>> Trying 127.192.0.1...
>> telnet: Unable to connect to remote host: Connection refused
> 
> If I indicate that domain (jhiwjjlqpyawmpjx.onion) and port (25) in my
> Icedove settings, it works well.
> Why I have such problems with console utilities?



I have missed VirtualAddrNetwork in my torrc-config.
After including VirtualAddrNetwork 10.192.0.0/10 or VirtualAddrNetwork
172.16.0.0/12 all works well.
_______________________________________________
tor-talk mailing list
tor-talk@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk