(Replying to the list in case of future person with the same problem.)

> I'm having a *little* problem with gmail: I can't send mail with
> neither msmtp nor ssmtp, I get "no route to host" with the first one
> and "can't auth" with the latter, even though last year it worked

Gmail uses non-standard port 587.

Partial example .msmtprc:

account whateveryouwant
auth on
host smtp.gmail.com
port 587
user [email protected]
password yourpassword
tls on
tls_starttls on
tls_certcheck off  # Insecure; better would be to add the Gmail cert to
tls_trust_file
auto_from on
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to