Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #9288

Re: Why can't RPi email?

From Frank Miles <fpm@u.washington.edu>
Newsgroups comp.sys.raspberry-pi
Subject Re: Why can't RPi email?
Date 2015-08-03 17:43 +0000
Organization A noiseless patient Spider
Message-ID <mpo989$d6a$1@dont-email.me> (permalink)
References <mpg9ud$6qg$1@dont-email.me> <mpgat3$s4r$1@news.albasani.net> <mpgbff$tmn$1@news.albasani.net> <mpgp5m$pa7$1@dont-email.me> <mpko9l$6af$1@dont-email.me>

Show all headers | View raw


On Sun, 02 Aug 2015 11:39:13 +0200, Björn Lundin wrote:

> On 2015-07-31 23:26, Frank Miles wrote:
>> On Fri, 31 Jul 2015 18:32:26 +0100, The Natural Philosopher wrote:
>> 
>>> looks like START TLS and port 587 is the magic combo
>>> add these to the conf file
>>>
>>> UseTLS=YES
>>> UseSTARTTLS=YES
>>> mailhub=smtp.gmail.com:587
>>>
>>>>> Any hints on how I might diagnose this problem would be appreciated!
>>>>>
>>>>>    TIA!
>>>>>
>>>>
>> 
>> Thanks, tnp (and Martin and Graham).  So far no improvement.  I
>> UseSTARTTLS setting, tried UseTLS on and absent.  Still nothing.
>> I've tried quite a few variants that I've found on various web
>> sites to no avail.
>> 
>> At this point I'm wondering: is there something magical about
>> using gmail?  Might there be some alternative system?  At least
>> to debug whatever is happening?  This is eating 'way too much
>> time...
>> 
> 
> 
> Looking in my Icedove on my desktop Debian, I see I have port 465 - not
> 587 - and SSL/TLS.
> 
> 
> --

I had tried the 465 port some iterations ago, to no avail.  Something
must have been changed for the better since then, because testing it
once more with port 465 seemed "better".  Sadly, still not really 
working.  With Debug=YES in ssmtp.conf I find in /var/log/mail.info:
  Set MailHubs="smtp.gmail.com"
  via SMTP Port Number="465"
  Creating SSL connection to host

Unfortunately neither
   echo "TEST" | sendmail -v me@host
nor
   cat test-mail | ssmtp me@host
actually sends mail -- both commands hang.  Ctrl-C and Ctrl-D do nothing,
it requires a Ctrl-Z with a 'kill -9 ...' to terminate the e-mail attempt.
Nothing is delivered to me@host.

If I wait a really long time I get a "ssmtp: Connection lost in middle of
processing.

This seems better than before, if not quite there.

 

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Why can't RPi email? Björn Lundin <b.f.lundin@gmail.com> - 2015-08-02 11:39 +0200
  Re: Why can't RPi email? Frank Miles <fpm@u.washington.edu> - 2015-08-03 17:43 +0000

csiph-web