I'm using OSSEC and Nagios to build a sort of HID system on our network. Everything is going smoothly so far; however I cannot get OSSEC to send email alerts.
What I'm trying to do right now is get postfix to send out emails and then have OSSEC use postfix.
I know my ISP is blocking port 25, and I've read that I may need to redirect my email through another service (I'm using port 587). No other services (Gmail, Comcast) seem to be accepting my email though. After reading the logs, I see that the emails bounce because of; Gmail: "Must issue a STARTTLS command first" Comcast: "sender rejected : invalid sender domain"
Lastly, I do not have a FQDN that I'm using for this setup. I suspect that this may be the problem (which is why I included it in the question title) but I'm really not sure.
I'm unfamiliar with the details of how email works, and I'm not sure what the use of "/etc/mailname" or "myhostname"(in main.cf) is.
If you could answer any of these questions, it would be immensely helpful to me
-Can I actually send web mail without having a registered domain name? Or do all email services reject that as spam?
-Without a FQDN, what should i use for "/etc/mailname" and the "hostname" in main.cf?
-Are there any articles or resources on postfix that you think would be applicable to my situation?
I'd be very grateful for any light you might be able to shed on the situation; Thank you