I have postfix set up on an Amahi Home Server, which relays mail from root through my gmail account to me (sends me logwatch messages and other messages from the server). I set up a domain at FreeDNS, and want to add that to my postfix setup.
In the interest of full disclosure, for now I only need this so I can receive an email from he.net for their certification. At this time, I'll only be sending emails from the server, and probably only from the root account. After I get through their certification process, I may switch back to my current setup, and drop the FreeDNS domain altogether--or I may decide to use it for one of my mail accounts.
One issue that I have is that my server's hostname is localhost.localdomain (required by Amahi), and it's friendly name is hda.local.lan (how I reach it in my LAN) or hda.
I've looked at some of the tutorials on here, about how to set up postfix, but I don't think any of them really apply to me. I don't need Courier (at least I don't think I do), and I don't need Quota. The server is a Fedora 19 x86_64 system, running Amahi 7. What I need is the most basic (secure) setup that will send/receive mail over both IPv4 and IPv6.
I'm attaching my current main.cf as main-cf.txt, to make it easier to configure. The domain that I'm going to use is mail.patscompservices.mooo.com (actual domain is patscompservices.mooo.com, but I'm assuming I'll have to create the mail. version for the MX record).
As for the relay information at the bottom, I'll probably just comment it all out. That way it's there, if I choose to go back to it. Unless I can leave it in, and use it for sending the logwatch and other system messages out.
Any help is greatly appreciated.
Have a great day.
P.S. At the most, I'd like to be able to send mail from my local network only. NOTHING outside of my router. After I've got it set up, I'll look at the Hardening Postfix for ISPConfig 3, AVG Antivirus and maybe the Securing your ISPConfig 3 installation with SSL tutorials.