Hi all, 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 (I got too annoyed by ferrets errors I dropped sup, shame on me!). If anyone has a (s|m)smtp+gmail config, could he please mail me in private to help me tackle this? I don''t want to flood the mlist. By the way, two questions: - when we''ll we see an automatic option to save changes to a mail as we quit it (.a or ,a or x to kill the buffer)? - I can haz a width limit so I don''t loose sight of my mails whenever I sleep on the right key? (cheezburger would be good too) in inbox-mode that''s just max(arbitrary_size, terminal_width) in thread-view-mode max(terminal_width, 80 + max_depth*indent) anyway, awesome job, I''m always amazed that sup is the only one of it''s kind. -- Guillaume
(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 workedGmail uses non-standard port 587. Partial example .msmtprc: account whateveryouwant auth on host smtp.gmail.com port 587 user yourusername at gmail.com 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
Hi Guillaume, Nice to hear from you again. Reformatted excerpts from Guillaume Quintard''s message of 2009-05-27:> (I got too annoyed by ferrets errors I dropped sup, shame on me!).I think we have fixed those in the meanwhile.> - when we''ll we see an automatic option to save changes to a mail as > we quit it (.a or ,a or x to kill the buffer)?You mean, so that you don''t have to press ''$''? When you press ''q'' everything''s automatically saved. Does that help? But now that we have undo support, removing the ''$'' key is an option in the future.> - I can haz a width limit so I don''t loose sight of my mails whenever > I sleep on the right key? (cheezburger would be good too) > in inbox-mode that''s just max(arbitrary_size, terminal_width) > in thread-view-mode max(terminal_width, 80 + max_depth*indent)This isn''t exactly what you want, but you can press ''['' to jump back to the left side of the screen. -- William <wmorgan-sup at masanjin.net>
On Wed, May 27, 2009 at 6:38 PM, William Morgan <wmorgan-sup at masanjin.net> wrote: account gmail auth on host smtp.gmail.com port 587 user foo at gmail.com 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 think we have fixed those in the meanwhile. >I heard so, that''s why I''m back, and so far, so good.> You mean, so that you don''t have to press ''$''? When you press ''q'' > everything''s automatically saved. Does that help?not really, I don''t close sup very often. what annoys me is that if I take care of a few mails, by using ",a", go back to inbox, and reload the view, the mails are still there. Killing the buffer could save. Since it''s only one mail, that would go fast.> This isn''t exactly what you want, but you can press ''['' to jump back to > the left side of the screen.nope, that''s not exactly what I want :-) -- Guillaume
> tls_trust_fileSorry, this was some careless copy-and-pasting on my part. tls_trust_file was part of the commented line above, not supposed to be on a separate line by itself. But that''s not what is causing the problem...> 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 -tWhat is the output of: telnet smtp.gmail.com 587 ?
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 > <wmorgan-sup at masanjin.net> wrote: > > account gmail > auth on > host smtp.gmail.com > port 587 > user foo at gmail.com > 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 rightI 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
On Wed, May 27, 2009 at 10:29 AM, Guillaume Quintard <guillaume.quintard at gmail.com> wrote:> smtp: cannot connect to smtp.gmail.com, port 587: No route to hostI''m away from my home machine so can''t check what I''m using there to send to gmail (I know it''s working with msmtp, though). However, I did try the following just now from a BSD machine: % telnet smtp.gmail.com 587 Trying 209.85.201.111... telnet: connect to address 209.85.201.111: Connection refused % telnet smtp.gmail.com 465 Trying 209.85.201.111... Connected to gmail-smtp-msa.l.google.com. Escape character is ''^]''. So you might want to try port 465. il (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 think we have fixed those in the meanwhile. >> > I heard so, that''s why I''m back, and so far, so good. > >> You mean, so that you don''t have to press ''$''? When you press ''q'' >> everything''s automatically saved. Does that help? > > not really, I don''t close sup very often. what annoys me is that if I > take care of a few mails, by using ",a", go back to inbox, and reload > the view, the mails are still there. Killing the buffer could save. > Since it''s only one mail, that would go fast. > > >> This isn''t exactly what you want, but you can press ''['' to jump back to >> the left side of the screen. > > nope, that''s not exactly what I want :-) > > -- > Guillaume > _______________________________________________ > sup-talk mailing list > sup-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/sup-talk >
On Wed, May 27, 2009 at 7:36 PM, Iain <rhomunuq+ml_sup at gmail.com> wrote:> What is the output of: > telnet smtp.gmail.com 587I don''t like that. it just keeps hanging, but on another machine, outside of the LAN, it works perfectly fine. I should talk to the admins I guess. Thanks for your time guys. -- Guillaume