I've got an Ubuntu server installation and I'd like to receive e-mail based alerts when security related incidents happen such as repetitive failed SSH login attempts. I've been working all day with no luck on getting postfix to send the messages but so far when I runn the command...
echo "This is Content" | mail -s "This is Subject" [email protected]
what I get in the /var/log/mail.log is
May 21 16:36:22 64-142-41-249 postfix/smtp[17093]: 5521E80258: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:11125, delay=0.52, delays=0.17/0.01/0.31/0.03, dsn=5.1.8, status=bounced (host 127.0.0.1[127.0.0.1] said: 553 5.1.8 <[email protected]>... Domain of sender address [email protected] does not exist (in reply to MAIL FROM command))
This is after installing and configuring stunnel to handle the secure communication, which is also after attempting to just use straight postfix. Am I headed down a giant rabbit hole here or just missing something silly?
I have a static DSL connection provided by Sonic.net As I understand it, I cannot send mail from my house using TCP port 25. So I've tried various combinations of TCP ports 465 and 587 with authentication.
Any help to point a semi-compitent linux user in the right direction would be greatly appreciated. I can provide whatever further details are needed.
echo "This is Content" | mail -s "This is Subject" [email protected]
what I get in the /var/log/mail.log is
May 21 16:36:22 64-142-41-249 postfix/smtp[17093]: 5521E80258: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:11125, delay=0.52, delays=0.17/0.01/0.31/0.03, dsn=5.1.8, status=bounced (host 127.0.0.1[127.0.0.1] said: 553 5.1.8 <[email protected]>... Domain of sender address [email protected] does not exist (in reply to MAIL FROM command))
This is after installing and configuring stunnel to handle the secure communication, which is also after attempting to just use straight postfix. Am I headed down a giant rabbit hole here or just missing something silly?
I have a static DSL connection provided by Sonic.net As I understand it, I cannot send mail from my house using TCP port 25. So I've tried various combinations of TCP ports 465 and 587 with authentication.
Any help to point a semi-compitent linux user in the right direction would be greatly appreciated. I can provide whatever further details are needed.