Excerpts from Guillaume Quintard's message of Wed May 27 19:29:34 +0200 2009:
> On Wed, May 27, 2009 at 6:38 PM, William Morgan
> <[email protected]> wrote:
> 
> account gmail
> auth on
> host smtp.gmail.com
> port 587
> user [email protected]
> password bar
> tls on
> tls_starttls on
> tls_certcheck off
> tls_trust_file
> auto_from on
> 
> and I get
> smtp: cannot connect to smtp.gmail.com, port 587: No route to host
>  msmtp: could not send mail (account gmail from /home/shivan/.msmtprc)
> Problem sending mail: Couldn't execute msmtp --account=gmail -t
> 
> I don't get what I'm not doing right

I use this one (mostly the same except tls things and no auto_from):

defaults
tls on

account gmail
host smtp.gmail.com
port 587
auth on
user foo
password bar
tls_starttls on
tls_trust_file ............../ThawtePremiumServerCA.crt
tls_certcheck on
logfile /var/log/msmtp.log

-- 
Nicolas Pouillard
http://nicolaspouillard.fr
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to