LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Sendmail smarthost config help (https://www.linuxquestions.org/questions/linux-server-73/sendmail-smarthost-config-help-711361/)

Craigt 04-20-2009 04:41 AM

Yes I can defiantly ping the exchange server from the linux box.

chitambira 04-20-2009 06:30 AM

you didnt give response to the other command (telnet)?

Craigt 04-21-2009 09:03 AM

Sorry, I can also telnet onto the email server.

chitambira 04-21-2009 10:21 AM

from any windows command prompt do:
# ping -a ip.address.of.exchange.server
and check the response (what the ip resolves to) You might be having a serious flaw in the whole architecture (mail sub system + dns) Do you have your own dns server?

Craigt 04-22-2009 04:03 AM

The ping test didn't resolve to a hostname it just pinged the ip address of the mail server. We host DNS internally.

Craigt 04-22-2009 04:56 AM

I know why that didn't work, it's because there is not a PTR record on the reverse DNS lookup zone. Though it still doesn't explain why I am having problems with FQDN of the server when that is added to the smart host option. As I can resolve that to an ip address fine.

Craigt 04-22-2009 05:15 AM

When I add the -a switch to the ping command it now resolves the ip address to the FQDN of the mail server, from a windows command prompt.

Craigt 05-12-2009 08:43 AM

Got it to work.

I did a re-install of Ubuntu and then installed OpenEMM and Sendmail. This time I only added the define(`SMART_HOST', 'example.example.local')dnl to my sendmail.mc file and it worked almost straight away.

I will post my installation notes up when I have more time.

irishbitte 05-24-2009 02:17 PM

Obviously when you put in ip.ad.dr.ess you mean something like this: 192.168.1.100, or whatever the local IP address of the exchange server is.

Craigt 05-26-2009 03:25 AM

Yes that is correct.


All times are GMT -5. The time now is 06:08 AM.