* [sup-talk] Arg, gmail
@ 2009-05-27 16:24 Guillaume Quintard
2009-05-27 16:36 ` Iain
2009-05-27 16:38 ` William Morgan
0 siblings, 2 replies; 8+ messages in thread
From: Guillaume Quintard @ 2009-05-27 16:24 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [sup-talk] Arg, gmail
2009-05-27 16:24 [sup-talk] Arg, gmail Guillaume Quintard
@ 2009-05-27 16:36 ` Iain
2009-05-27 16:38 ` William Morgan
1 sibling, 0 replies; 8+ messages in thread
From: Iain @ 2009-05-27 16:36 UTC (permalink / raw)
(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 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [sup-talk] Arg, gmail
2009-05-27 16:24 [sup-talk] Arg, gmail Guillaume Quintard
2009-05-27 16:36 ` Iain
@ 2009-05-27 16:38 ` William Morgan
2009-05-27 17:29 ` Guillaume Quintard
1 sibling, 1 reply; 8+ messages in thread
From: William Morgan @ 2009-05-27 16:38 UTC (permalink / raw)
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>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [sup-talk] Arg, gmail
2009-05-27 16:38 ` William Morgan
@ 2009-05-27 17:29 ` Guillaume Quintard
2009-05-27 17:36 ` Iain
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Guillaume Quintard @ 2009-05-27 17:29 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [sup-talk] Arg, gmail
2009-05-27 17:29 ` Guillaume Quintard
@ 2009-05-27 17:36 ` Iain
2009-05-27 17:53 ` Guillaume Quintard
2009-05-27 17:41 ` Nicolas Pouillard
2009-05-27 17:42 ` Mark Alexander
2 siblings, 1 reply; 8+ messages in thread
From: Iain @ 2009-05-27 17:36 UTC (permalink / raw)
> tls_trust_file
Sorry, 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 -t
What is the output of:
telnet smtp.gmail.com 587
?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [sup-talk] Arg, gmail
2009-05-27 17:36 ` Iain
@ 2009-05-27 17:53 ` Guillaume Quintard
0 siblings, 0 replies; 8+ messages in thread
From: Guillaume Quintard @ 2009-05-27 17:53 UTC (permalink / raw)
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 587
I 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [sup-talk] Arg, gmail
2009-05-27 17:29 ` Guillaume Quintard
2009-05-27 17:36 ` Iain
@ 2009-05-27 17:41 ` Nicolas Pouillard
2009-05-27 17:42 ` Mark Alexander
2 siblings, 0 replies; 8+ messages in thread
From: Nicolas Pouillard @ 2009-05-27 17:41 UTC (permalink / raw)
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 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [sup-talk] Arg, gmail
2009-05-27 17:29 ` Guillaume Quintard
2009-05-27 17:36 ` Iain
2009-05-27 17:41 ` Nicolas Pouillard
@ 2009-05-27 17:42 ` Mark Alexander
2 siblings, 0 replies; 8+ messages in thread
From: Mark Alexander @ 2009-05-27 17:42 UTC (permalink / raw)
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 host
I'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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-05-27 17:53 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-27 16:24 [sup-talk] Arg, gmail Guillaume Quintard
2009-05-27 16:36 ` Iain
2009-05-27 16:38 ` William Morgan
2009-05-27 17:29 ` Guillaume Quintard
2009-05-27 17:36 ` Iain
2009-05-27 17:53 ` Guillaume Quintard
2009-05-27 17:41 ` Nicolas Pouillard
2009-05-27 17:42 ` Mark Alexander
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox