Greetings, I am not sure how to explain this one, but here goes A third party company has setup a box running a firewall and exim The firewall is router as well with two interfaces and several aliases. The actual mail server is windows PC that spools all our mail to the exim mail server running on the firewall, the firewall forwards the mail to the internet.. The problem I have found is in /etc/resolv.conf if I hash out 127.0.0.1 localhost the internet flies and works perfectly. But the exim cannot relay mail, Any ideas on how to fix this? Thanks Chadley
Chadley Wilson wrote:
Greetings, I am not sure how to explain this one, but here goes A third party company has setup a box running a firewall and exim
The firewall is router as well with two interfaces and several aliases. The actual mail server is windows PC that spools all our mail to the exim mail server running on the firewall, the firewall forwards the mail to the internet..
The problem I have found is in /etc/resolv.conf if I hash out 127.0.0.1 localhost the internet flies and works perfectly. But the exim cannot relay mail,
Hello Chadley, could you please explain with a bit more detail what "internet works perfectly" means? How does your firewall resolves dns names if you delete the entry? Have you entered another dns server address? is named or any other nameserver actually running on your firewall? If your firewall can not resolve dns names like "mail.example.com" you can bet that it won't be able to find the target server for mails it is supposed to send. I guess receiving mails would be not such a big problem, though you will probably find, that all servers are only noted with their ip address and "unknown" instead of their real dns name. As usual, the logs are your friends. Also check if all services on your firewall really started correctly. In any case, if a third party set up the box, I would probably box their ears and tell them to fix their mistake. (^-^) Sandy
On Wed, 2005-10-12 at 18:43 +0200, Sandy Drobic wrote:
Chadley Wilson wrote:
Greetings, I am not sure how to explain this one, but here goes A third party company has setup a box running a firewall and exim
The firewall is router as well with two interfaces and several aliases. The actual mail server is windows PC that spools all our mail to the exim mail server running on the firewall, the firewall forwards the mail to the internet..
The problem I have found is in /etc/resolv.conf if I hash out 127.0.0.1 localhost the internet flies and works perfectly. But the exim cannot relay mail,
Hello Chadley,
could you please explain with a bit more detail what "internet works perfectly" means? How does your firewall resolves dns names if you delete the entry? Have you entered another dns server address? is named or any other nameserver actually running on your firewall? If your firewall can not resolve dns names like "mail.example.com" you can bet that it won't be able to find the target server for mails it is supposed to send. I guess receiving mails would be not such a big problem, though you will probably find, that all servers are only noted with their ip address and "unknown" instead of their real dns name.
As usual, the logs are your friends. Also check if all services on your firewall really started correctly. In any case, if a third party set up the box, I would probably box their ears and tell them to fix their mistake. (^-^)
Sandy
Hi Sandy, and all The firewall is pointing to our internal DNS, after a good look it is also running its own DNS, ie named. In /etc/resolv.conf I first point it to our internal dns and then to our ISP, removing the localhost entry. At this point the Internet speed is greatly improved, So before removing the local host entry our top download speed would be about 476 bytes after removing it we are now getting up to 106KB But the problem is that our mail to only one of a our branches does not route. Now the mail server setup is a big mystery too, we are running a windows mail server on 172.100.1.21 and it forwards all the mail to our firewalls mail server exim on 172.100.0.1. Exim or the firewall then sends it out ? I have asked the ISP to register an MX record for me for the mail server and I will move it into a DMZ. This should solve this unexplainable problem. Will let you know how it goes.... Chadley
Chadley Wilson wrote:
Hi Sandy, and all
The firewall is pointing to our internal DNS, after a good look it is also running its own DNS, ie named. In /etc/resolv.conf I first point it to our internal dns and then to our ISP, removing the localhost entry.
At this point the Internet speed is greatly improved, So before removing the local host entry our top download speed would be about 476 bytes after removing it we are now getting up to 106KB
That smells like dns time-outs.
But the problem is that our mail to only one of a our branches does not route.
Then debug that route. What do the server logs show when you send mail to that problem server?
Now the mail server setup is a big mystery too, we are running a windows mail server on 172.100.1.21 and it forwards all the mail to our firewalls mail server exim on 172.100.0.1. Exim or the firewall then sends it out ?
Exim is sending the mail. Though I can't help you with any details on exim or sendmail.
I have asked the ISP to register an MX record for me for the mail server and I will move it into a DMZ. This should solve this unexplainable problem. Will let you know how it goes....
What does the log of the receiving server show when you try to send mail? Sandy
participants (2)
-
Chadley Wilson
-
Sandy Drobic