Silversonic
Posts: 34
Joined: Wed Aug 27, 2014 8:42 pm

Setting spibox to use smtp with hotmail?

Sat Jan 02, 2016 10:07 pm

I've been following this guide on setting up the spibox (raspberry pi + camera + motion sensor) to send an email using gmail smtp outgoing mail server.

http://www.spi-box.co.uk/media/1087/spiboxmanual_1.pdf

I've managed to be successful in doing this for gmail, but now I want to use smtp with hotmail's outgoing smtp server:

http://windows.microsoft.com/en-GB/wind ... e-from-app

This is what I have in /etc/ssmtp/ssmtp.conf but nothing is working:
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=[email protected]

# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=smtp-mail.outlook.com:587

# Where will the mail seem to come from?
#rewriteDomain=

# The full hostname
hostname=raspberrypi

# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=YES

#Username
AuthUser=[email protected]
#Password
AuthPass=(takenOut)

UseSTARTTLS=YES
UseTLS=Yes
I've tried port 25.

http://edoceo.com/howto/ssmtp

Maybe I have to use the TLS certificate indicated in the above at

Code: Select all

/etc/ssl/certs/ssmtp.pem
? Although I've looked there and there is no such file provided with this distribution given to me with the spibox.

I'm terribly new at this, what could someone suggest?

Guyver1
Posts: 18
Joined: Fri Aug 21, 2015 1:34 pm

Re: Setting spibox to use smtp with hotmail?

Sat Aug 10, 2019 7:23 pm

I'm even further stuck than you. I can't figure out how to get my Gmail address added. I've taken a look at the settings like you've got and I've added what I thought was right, but still nothing.

Andyroo
Posts: 4225
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Setting spibox to use smtp with hotmail?

Sat Aug 10, 2019 7:31 pm

Have you seen this thread for Buster mail https://www.raspberrypi.org/forums/view ... 8&t=244147

Sorry if its not relevant but there is no note on your O/S version :o
Need Pi spray - these things are breeding in my house...

Guyver1
Posts: 18
Joined: Fri Aug 21, 2015 1:34 pm

Re: Setting spibox to use smtp with hotmail?

Sat Aug 10, 2019 8:49 pm

I'm using Raspbian. If that helps.

Andyroo
Posts: 4225
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Setting spibox to use smtp with hotmail?

Sat Aug 10, 2019 8:52 pm

Guyver1 wrote:
Sat Aug 10, 2019 8:49 pm
I'm using Raspbian. If that helps.
But what version - Jessie / Stretch / Buster all live in my house :lol:
Need Pi spray - these things are breeding in my house...

Guyver1
Posts: 18
Joined: Fri Aug 21, 2015 1:34 pm

Re: Setting spibox to use smtp with hotmail?

Sat Aug 10, 2019 8:56 pm

Told you I knew nothing.

It's a new sd card setup. As far as I knew it was the only thing I could install.

I'll take a better look tomorrow and get back to you.

pcmanbob
Posts: 6683
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Setting spibox to use smtp with hotmail?

Sun Aug 11, 2019 9:58 am

From the OP's other thread on the same subject

PRETTY_NAME "Raspbian GNU/Linux 9 (stretch)"
VERSION_ ID="9"
VERSION="9 (stretch)"
ID=Raspbian
ID_LIKE=debian
https://www.raspberrypi.org/forums/view ... 1&t=248455
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Return to “Beginners”