PostFix on RedHat 8
I've been struggling with PostFix for a week now and hope to get some answers from this message board.
* I have my own server w/ dedicated IP address. * I am running RH8 w/ PostFix preinstalled * I am using MX Pointing (my registratar www.123cheapdomains.com is actually doing the MX Pointing and also IP Pointing) ps. My web server works fine, but the mail server is having problems. * I am also using Richard Blum's Postfix book for reference Questions. 1. Do I need to run DNS BIND on my server? I am trying to avoid this. 2. When I send email (from another server) to my domain, the mail is never recieved. What kind of troubleshooting can I do? 3. Is there a concise tutorial on configuring a mail server w/ PostFix. 4. In the main.cf, there is domainname parameter. If I have multiple domains how should I set this up? |
1) No, if you've got another DNS the mailserver can ask.
2) Look into the logs. See if it comes. OR: try to send it manually (telnet yourdomain smtp). |
Thanks for the reply,
I looked at the log "/var/log/maillog" and noticed I am getting a "connection refused" I tried using "telnet <mydomain> smtp" and got a connection refused. Actually, I am behind a router. I went to the NetGear admin page for the router and set up port forwarding for port 25. I am already doing the port forwarding for port 80( apache) and 8080 (tomcat) and the web server has been working fine all along. I still get a "connection refused" message when I try the above telnet command even after stopping and starting postfix. Any thoughts? |
More info...
Actually, once I used my LOCAL IP address intead of my domain name, I no longer got the "connection refused" message. telnet mydomain.com smtp - fails telent WAN-IP stmp -fails telnet 192.168.0.3 stmp - works Actually, this seems to be related to the router. I can't access my WAN IP address behind the router, I have to use my local network IP. So perhaps this is an issue I need to bring up with NetGear. My domain is set up in the /etc/hosts file and points to 192.168.0.3, so I think it is mapped to my local ip anyways? So actually it should work?? |
Your domain should work when it' in /etc/hosts. Check the forwarding again. You should check the router configuration again. Make sure it forwards connection not only from Internet, but also from your local network.
|
All times are GMT -5. The time now is 01:11 PM. |