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


Groups > comp.sys.raspberry-pi > #9302 > unrolled thread

Re: Why can't RPi email?

Started byToby Newman <google@asktoby.com>
First post2015-08-04 11:37 +0100
Last post2015-08-04 19:22 +0000
Articles 5 — 3 participants

Back to article view | Back to comp.sys.raspberry-pi

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#9302 — Re: Why can't RPi email?

FromToby Newman <google@asktoby.com>
Date2015-08-04 11:37 +0100
SubjectRe: Why can't RPi email?
Message-ID<slrnms15fq.4br.google@asktoby.eternal-september.org>
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.

-- 
-Toby
Add the word afiduluminag to the subject to circumvent my email filters.

[toc] | [next] | [standalone]


#9303

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2015-08-04 11:58 +0100
Message-ID<mpq5si$l6o$1@news.albasani.net>
In reply to#9302
On 04/08/15 11:37, 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 logged into gmail.com with those same
values - on the RPi - and it works."

which makes your statement meaningless, or rather not helpful,  sadly.

I still say that there is simply an issue of getting the right port.and 
encryption format set up. That's all.


-- 
New Socialism consists essentially in being seen to have your heart in 
the right place whilst your head is in the clouds and your hand is in 
someone else's pocket.

[toc] | [prev] | [next] | [standalone]


#9305

FromFrank Miles <fpm@u.washington.edu>
Date2015-08-04 16:33 +0000
Message-ID<mpqpfu$1kr$1@dont-email.me>
In reply to#9302
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

[toc] | [prev] | [next] | [standalone]


#9308

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2015-08-04 18:45 +0100
Message-ID<mpqtn9$2vv$5@news.albasani.net>
In reply to#9305
On 04/08/15 17:33, Frank Miles wrote:
> 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!
>

yeah. I use exim here and its a bitch to set up, but runs flawlessly 
once you have the right magic spells in place. Postfix is similar.

If Id known you are doing exim Id have posted my conf files..I use TLS 
to send



>     -F
>


-- 
New Socialism consists essentially in being seen to have your heart in 
the right place whilst your head is in the clouds and your hand is in 
someone else's pocket.

[toc] | [prev] | [next] | [standalone]


#9314

FromFrank Miles <fpm@u.washington.edu>
Date2015-08-04 19:22 +0000
Message-ID<mpr3d6$aqk$1@dont-email.me>
In reply to#9308
On Tue, 04 Aug 2015 18:45:11 +0100, The Natural Philosopher wrote:

> On 04/08/15 17:33, Frank Miles wrote:
[snip]

>> 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!
>>
> 
> yeah. I use exim here and its a bitch to set up, but runs flawlessly 
> once you have the right magic spells in place. Postfix is similar.
> 
> If Id known you are doing exim Id have posted my conf files..I use TLS 
> to send

Thanks.  However I hadn't been using exim initially.  Most of the 
recommendations I'd found avoided it for the simpler ssmtp.  But I 
couldn't get ssmtp to work, and exim worked 1st time.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.raspberry-pi


csiph-web