I have a new postfix server up and running with a hostname of serverx.mydomain.com . Works fine. I also want to map smtp.mydomain.com and mail.mydomain.com to be this same server. I update my dns boxes to point to this servers ip address for those names, and customers cannot send mail to it. If they put either serverx.mydomain.com or the server's ip address in their email client, it works. Where in postfix do I specify additional names to listen to? Also, this server needs to relay my customers domains as well. If their email is [email protected], the server works. If they are at [email protected] it refuses to send the message out. Is there a file where I need to list all of my customers domains in? Thanks for the help!!
You should not be using domain name based relaying, domain names are so easily spoofed. You should either specify their networks in mynetworks or use smtp authentication to allow then to send mail from any network.
Thanks Thanks for the info. I thought I needed to do more than just put the ips in mynetworks. It's been that kind of weekend!!