Hi people. Let me first introduce myself by saying that I'm a newbie to the FreeBSD, and almost any Unix/Linux too. I've looked anyway in the Handbook and Mailing lists for this. Having done the disclaimer, here's my issue:
I've set up a very modest home server, mainly used for my personal research satisfaction... it does not perform any crital tasks at all.
Ever since I installed it, FreeBSD reboots itself every 3 or 4 days without any warning or error message. I've written a very simple shell script in order to have it send an e-mail to different accounts when the server is restarted. However, I'm not getting those e-mails at all. They are bounced back because my (dinamic) "IP is not trusted". The line which send the mail reads:
$ cat mail.test | mail -s "server reboot notification" -F email@address.here
I guess this is a just a security feature against spam from GMail, Hotmail, etc, which I can obviously understand. But I cannot find a way to have the mail delivered! I do have a .forward file with my GMail e-mail address, and FreeBSD manges to get send me the daily check output without any issue.
Does anyone know why the e-mails I'm sending manually while running the script fail?
Thanks in advance.
I've set up a very modest home server, mainly used for my personal research satisfaction... it does not perform any crital tasks at all.
Ever since I installed it, FreeBSD reboots itself every 3 or 4 days without any warning or error message. I've written a very simple shell script in order to have it send an e-mail to different accounts when the server is restarted. However, I'm not getting those e-mails at all. They are bounced back because my (dinamic) "IP is not trusted". The line which send the mail reads:
$ cat mail.test | mail -s "server reboot notification" -F email@address.here
I guess this is a just a security feature against spam from GMail, Hotmail, etc, which I can obviously understand. But I cannot find a way to have the mail delivered! I do have a .forward file with my GMail e-mail address, and FreeBSD manges to get send me the daily check output without any issue.
Does anyone know why the e-mails I'm sending manually while running the script fail?
Thanks in advance.