Ok, I have two hosts connected to one internet gateway. I want to send email from one host to the other but it keeps trying to go out of the gateway. I'm stumped.
SERV01 running redhat and sendmail
SERV02 running SUSE10 and sendmail
I want to send mail to SERV01 from SERV02
I am trying to send to
user@SERV02.ccc.com from SERV01 but it keeps going out the getway. I have DNS setup for both servers and my sendmail.mc is pretty simple, they both look very similar to this.
divert(-1)
include(`/usr/share/sendmail/m4/cf.m4')
divert(0)dnl
VERSIONID(`Sendmail Config for SERV01 29/09/2007')dnl
OSTYPE(`linux')dnl
DOMAIN(`generic')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
MAILER(local)dnl
define(`confLOCAL_MAILER', `cyrus')
MAILER(`cyrus')
I'm stumped, local mail is fine and sending to external hosts is fine too.
nslookup gives something similar to this
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: serv01.liftcapital.com.au
Address: 192.168.250.5
or the other ip address depending on where i lookup from,
I reckon I'm missing something pretty basic somewhere?