sSMTP and Sky Yahoo

Soldato
Joined
22 Oct 2004
Posts
9,086
Location
Berkland
Hi Guys,

Anyone know what the correct .conf settings are to use Sky's SMTP server? Looking at their help site, it says that the below details are correct, but whenever I try to use them, it never works, and I guess is timing out.

ssmtp.conf
Code:
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=postmaster

# 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.tools.sky.com:465

# 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

# Use SSL/TLS before starting negotiation
UseTLS=Yes

# User account credentials
AuthUser=***
AuthPass=***

And this results in this output in my mail log...

Code:
Dec 21 12:51:22 raspberrypi sSMTP[22346]: Creating SSL connection to host
Dec 21 12:51:22 raspberrypi sSMTP[22346]: SSL connection using RSA_ARCFOUR_SHA1
Dec 21 12:51:22 raspberrypi sSMTP[22346]: 501 Syntax error in arguments

Any ideas?
 
Ok, so I think the 501 was because the from email address was basically the root user for my PI box. By setting up the reverse alias file, it looks like the from address is being sent correctly, and emails are now coming through.

Code:
# sSMTP aliases
#
# Format:       local_account:outgoing_address:mailhub
#
# Example: root:[email protected]:mailhub.your.domain[:port]
# where [:port] is an optional port number that defaults to 25.
root:[email protected]:smtp.tools.sky.com:465

Doh! Anyway, this is now here for reference in case anyone else is having fun.
 
Back
Top Bottom