Re: Sendmail cannot send to own domain
Date: Fri, 10 Sep 2004 12:56:18 -0400 (EDT) To: "General Red Hat Linux discussion list" <firstname.lastname@example.org>
> We have many RedHat 8.0 machines here, all of which are running
> 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
> 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:
> Each machine can happily email hobbs at mongeese.co.uk, for example, and
> each machine can email username@localhost. None of the machines can email
> email@example.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
> as well??
I'm not a sendmail person (I prefer Postfix), but the problem and answer
are both fairly obvious if you think about it for a second. Your users
are all local to the machine they read their email on. I'm betting that
"firstname.lastname@example.org" could send mail to
"email@example.com", since they explicitly specify their
However, you're assuming too much when you drop the hostname from the fqdn
(fully-qualified domain name), and your primary MX (the Raq) doesn't know
how to pass on delivery. If you check the maillog on that server, you'll
probably see a bunch of delivery failures.
The easiest method would be to add aliases on the Raq for each user in the
subdomain to point to the server they wish to receive mail on.
-- Jason Dixon DixonGroup Consulting http://www.dixongroup.net -- redhat-list mailing list unsubscribe mailto:firstname.lastname@example.org?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list