Sendmail cannot send to own domain

Daniel Eugenin deugenin at inf.uach.cl
Fri Sep 10 17:44:47 UTC 2004


El vie, 10-09-2004 a las 11:28, Richard Hobbs escribió:
> Hello,
> 
> We have many RedHat 8.0 machines here, all of which are running
> sendmail-8.12.8-9.80.
> 
> All machines can use their local sendmail to email their local users.
> 
> Also, all machines can use their local sendmail to email any address on the
> internet.
> 
> However... None of the machines can use their local sendmail to email any
> address on the same domain as the machine itself, for example:
> 
> The machines are called:
> 
>   host1.sub.domain.com
>   host2.sub.domain.com
>   host3.sub.domain.com
> 
> Each machine can happily email hobbs at mongeese.co.uk, for example, and
> each machine can email username at localhost. None of the machines can email
> username at sub.domain.com though.
> 
> How can this be setup, and why is it happening? The MX record for
> sub.domain.com points to our rather old Cobalt Raq mail server.
> 
> Can anyone suggest a way to get sendmail to work properly for our own domain
> as well??
> 
> Thanks in advance,
> Hobbs.


Put in /etc/mail/local-host-names (in each machine)
hostX.sub.domain.com

And I will put in /etc/mail/mailertable (in each machine)
sub.domain.com	esmtp:[ip.cobalt.raq.mail.server]


Check in:/var/log/maillog


-- 
Daniel Eugenin M.
deugenin at linuxcenterla.com
Red Hat Certified Technician/Engineer
Ingeniero LinuxCenter S.A.
http://www.linuxcenterla.com
F: +56-2-2745000 / FAX: +56-2-2747075





More information about the redhat-list mailing list