Subdomain going to MX rather than relay host

Hi.
I am dealing with sendmail 8.8.8+Sun/8.8.8 on a SunOS 5.6. Pretty old system,
which cannot be upgraded.

I have a webserver running some Perl CGIs that call mailx to send e-mails. The
server is host1.example.com , it is not a mail server, just a mail client
(MUA). There are no local mailboxes.

I want all mails to pass through a relay host, which is set in sendmail.cf
with "DS". All goes fine, with an exception:

- sending to our primary domain [at] example.com passes through the relay host
- sending to any external domain passes through the relay host
- BUT sending to a subdomain of the primary domain [at] external.example.com goes
to the MX record for external.example.com

This is the only exception to the relay host rule I've been able to spot.

MX record for external.example.com is defined on DNS, and is *not* my
webserver/MUA host1.example.com.

So, messages for a subdomain of sendmail host's domain are routed through the
MX record instead of the smart relay host.

If relevant, sendmail.cf also lists "Dj$w.example.com", the only occurrence of
example.com except for "DSmailfarm.example.com".

Any pointers? Please!

Paolo
PaoloC [ Mi, 08 August 2007 14:04 ] [ ID #1790065 ]
Miscellaneous » comp.mail.sendmail » Subdomain going to MX rather than relay host

Vorheriges Thema: SSL3_GET_RECORD:wrong version number with Python and Google Mail
Nächstes Thema: Remove some headers