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


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

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-04 16:33 +0000
Organization A noiseless patient Spider
Message-ID <mpqpfu$1kr$1@dont-email.me> (permalink)
References <mpg9ud$6qg$1@dont-email.me> <slrnms15fq.4br.google@asktoby.eternal-september.org>

Show all headers | View raw


On Tue, 04 Aug 2015 11:37:46 +0100, Toby Newman wrote:

> On 2015-07-31, Frank Miles <fpm@u.washington.edu> wrote:
>> I've been struggling - trying to get my RPi to send me an e-mail.
>> This is on a wifi connection.  Having configured ssmtp.conf and
>> revaliases (as per http://iqjar.com/jar/sending-emails-from-the-raspberry-pi/),
>> it's still not working.  I can login to gmail.com with the browser,
>> have relaxed the checking.  When I try:
>>    echo "TEST" | sendmail -v loginname@mydest.edu
>> I get a series of lines that shows the dialog between google and
>> the RPi.  All seems well - the ELHO looks good, it starts using
>> TLS, then attempts AUTH LOGIN.  After a few lines of gibberish
>> it gives the dreaded Authorization Failed error message with a
>> reference to the google support message 14257.
>>
>> I've checked and rechecked the AuthUser and AuthPass data, and
>> they appear correct.  I've logged into gmail.com with those same
>> values - on the RPi - and it works.
>>
>> This is on a new RPi-2 with a Edimax (realtek) wifi device.
>> Raspbian with all updates.
>>
>> The one possible questionable message is in /var/log/mail.info,
>> it has lines indicating that SSL connection is attempting to
>> use RSA_ARCFOUR_SHA1.  Is that what it should be using?
>>
>> Any hints on how I might diagnose this problem would be appreciated!
> 
> Some ISPs block outgoing email that isn't delivered through their own
> mail servers. This can help prevent spam.

I've finally got mail running - hurrah!  However it isn't using ssmtp.
Nothing seemed to help with that.  Instead I installed exim as 
described very thoroughly in:
  http://www.sbprojects.net/projects/raspberrypi/exim4.php

Initially restarting exim whined about no IPv6 (modprobe ipv6 fixes that).

Mail successfully sent to my intended target machine on the very first try.

Thanks to all for your thoughtful replies!
  
   -F

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


Thread

Re: Why can't RPi email? Toby Newman <google@asktoby.com> - 2015-08-04 11:37 +0100
  Re: Why can't RPi email? The Natural Philosopher <tnp@invalid.invalid> - 2015-08-04 11:58 +0100
  Re: Why can't RPi email? Frank Miles <fpm@u.washington.edu> - 2015-08-04 16:33 +0000
    Re: Why can't RPi email? The Natural Philosopher <tnp@invalid.invalid> - 2015-08-04 18:45 +0100
      Re: Why can't RPi email? Frank Miles <fpm@u.washington.edu> - 2015-08-04 19:22 +0000

csiph-web