LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Postfix cannot find domains (https://www.linuxquestions.org/questions/linux-networking-3/postfix-cannot-find-domains-95965/)

pnh73 09-23-2003 01:16 PM

Postfix cannot find domains
 
Hi,

All the outgoing mail from my Postfix server is getting stuck in my queue because it apparently cannot find the domains for the mail. I had this problem in a previous configuration, but I managed to fix it by modifying resolv.conf to point to my ISP's DNS servers instead of my router. I also set it to

chattr +i /etc/resolv.conf

as it would oterwise be changed when my IP was renewed by DHCP. This fixed it last time, but not this time. Any help is much appreciated. (The domains do exist btw)

m0rl0ck 09-23-2003 01:50 PM

Post fix has its own resolv.conf file, check that:
/var/spool/postfix/etc/resolv.conf

pnh73 09-23-2003 02:00 PM

Hmmm, it doesnt exist. Lets see what happens if i create it.

pnh73 09-23-2003 02:04 PM

Woohoo it worked. I just copied /etc/resolv.conf to /var/spool/postfix/etc/resolv.conf

Thanks for ur help


All times are GMT -5. The time now is 12:58 PM.