Ubuntu Server 10.04 LTS & Webmin 1.570
My aim is to have various Webmin modules send me status emails via sSMTP.
Using Webmin logged in as me, /var/log/mail.log shows the following repeated every 10 minutes.
Code:
<time> <servername> sSMTP[30003]: 551 Sender address is not valid for your login. Check your email program settings.
However, using Putty (same user) and typing
Code:
cat - | /usr/sbin/ssmtp -v <address@domain.tld>
some text here
ctrl+D
results in an email being sent from (and received by) <address@domain.tld>
Back to Webmin, /var/log/mail.log now shows
Code:
<time> <servername> sSMTP[3431]: Sent mail for <address@domain.tld> (221 Service closing transmission channel) uid=0 username=me outbytes=359
10 minutes later, the initial error reappears.
I think it's probably staring me in the face and I'm just not spotting it but I have no idea what I'm doing wrong.
Any ideas?