i use mailx to send email from my linux, from today, it does not working, below is my shell command.
mailx -s "Keer Server Monitor Report" -a /usr/local/nagios/var/nagi
i also get the error log in my linux, seems my email has been rejected since it is junk email. my question is: how can i set the sender email address in mailx ? now, my email address is "email@example.com
n", i would like change it to "firstname.lastname@example.org"
, then i will add SPF reocrd in my domain name "keerok.com", i think this will fix the junk email issue is that right?
any other idea please let me know and thank you.
Final-Recipient: rfc822; email@example.com
Remote-MTA: dns; mx2.hotmail.com
Diagnostic-Code: smtp; 550 OU-002 (COL004-MC4F47) Unfortunately, messages from
188.8.131.52 weren't sent. Please contact your Internet service provider
since part of their network is on our block list. You can also refer your
provider to http://mail.live.com/mail/troubleshooting.aspx#errors