ssmtp to get crontab to send me mail, but cannot get the ssmpt files correct
I wish to use ssmtp to get crontab to send me mail, but cannot get the ssmpt files correct. I am running Ubuntu 10.10.
Evolution sends mail OK using the following info
eddress = <email address hidden>, server is smtp.telus.net
-------
and /etc/ssmtp/
<email address hidden>
mailhub=
<email address hidden>
rewriteDomain=
AuthUser=petematt
AuthPass=<my password at telus (as used ok by evolution to send mail)>
FromLineOverrid
-------
and /etc/ssmtp/
root:<email address hidden>
localusername:
-------
but if I test this with the command
sudo ssmtp <email address hidden>
message
Ctrl+D
(with or without the sudo) I get
ssmtp: 501 EHLO requires valid address (<email address hidden>)
and a search for EHLO turns up nothing.
Anyone spot my mistake(s) please?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu cron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: