Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Making sendmail *not* believe DNS for one host?

22 views
Skip to first unread message

Tom Guptill

unread,
Jul 11, 1996, 3:00:00 AM7/11/96
to

I'll make this quick and to the point:

I want to make sendmail queue up mail for "site.com" and deliver it.
Unfortunately, sendmail can't *get* to the mail server for "site.com" at the
address that the DNS tells it. (It actually points back to the sendmail
machine.) I can't entirely disable DNS because sendmail queues messages in
*both* directions for the (DOS-based) mail server, and would be unable to
deliver outbound messages if it couldn't get to DNS.

I do not have access to make changes to our DNS.

Sendmail does not respect "hosts,bind" resolve order, and always falls to
the DNS, regardless of the presence of an entry for "site.com" in the hosts
file.

Does anyone have a quick and easy fix for this?

Any help would be greatly appreciated.

- Tom (UUPC was never this hard...)
--
--
Tom Guptill t...@EOJ.mv.com

Ollivier Robert

unread,
Jul 11, 1996, 3:00:00 AM7/11/96
to

[courtesy cc of this posting sent to cited author via email]

In article <1996Jul11.1...@galileo.cc.rochester.edu>,


Tom Guptill <tgpt...@uhura.cc.rochester.edu> wrote:
> Sendmail does not respect "hosts,bind" resolve order, and always falls to
> the DNS, regardless of the presence of an entry for "site.com" in the hosts
> file.
>
> Does anyone have a quick and easy fix for this?

Did you tried to setup a mailertable with

site.com smtp8:[site.com]

Use FEATURE(mailertable) in the .mc file to enable it. Look into cf/README
how to set this up.
--
Ollivier ROBERT -=- Eurocontrol EEC/TIS -=- Ollivie...@eurocontrol.fr
Usenet Canal Historique

Brad Knowles

unread,
Jul 12, 1996, 3:00:00 AM7/12/96
to

In article <1996Jul11.1...@galileo.cc.rochester.edu>,
tgpt...@uhura.cc.rochester.edu (Tom Guptill) wrote:

> I want to make sendmail queue up mail for "site.com" and deliver it.
> Unfortunately, sendmail can't *get* to the mail server for "site.com" at the
> address that the DNS tells it. (It actually points back to the sendmail
> machine.)

Why don't you make the machine running sendmail the lowest cost MX for
that name, and then set up a mailertable entry to forward mail for all
mail to that one specific machine to a mail relay of the same name, but
with square brackets around it (to force sendmail to skip the MX lookup
and instead send direct to the IP address, avoiding the problems introduce
by using TRY_NULL_MX_LIST). Alternatively, why not set up UUCP over
TCP/IP?
--
Brad Knowles, MIME/PGP: br...@his.com
comp.mail.sendmail FAQ Maintainer <http://www.his.com/~brad/>
finger br...@his.com for my PGP Public Keys and Geek Code
The comp.mail.sendmail FAQ is at <http://www.his.com/~brad/sendmail/>

Eamonn McGonigle

unread,
Jul 16, 1996, 3:00:00 AM7/16/96
to

Tom Guptill wrote:
>
> I'll make this quick and to the point:
>
> I want to make sendmail queue up mail for "site.com" and deliver it.
> Unfortunately, sendmail can't *get* to the mail server for "site.com" at the
> address that the DNS tells it. (It actually points back to the sendmail
> machine.) I can't entirely disable DNS because sendmail queues messages in
> *both* directions for the (DOS-based) mail server, and would be unable to
> deliver outbound messages if it couldn't get to DNS.
> As well as Brad's suggestions (should be the posting just above this one !) I
would suggest that you look at the "BEST_MX_IS_LOCAL" (or something like that)
configuration option. Basically, it means that if you are the best MX for
a domain but don't recognise it as local then you should automatically try
the site directly (this option precludes using wildcard MX records...see
documentation).

> Sendmail does not respect "hosts,bind" resolve order, and always falls to
> the DNS, regardless of the presence of an entry for "site.com" in the hosts
> file.
>

>

> - Tom (UUPC was never this hard...)
> --

Yes it bloody was !! :-)

Best Wishes,
Eamonn

--
+==========================.oooO==Oooo.===============================+
| Eamonn McGonigle ( ) ( ) emc...@iol.ie |
| \ ( ) / http://www.iol.ie/~emcgon |
+============================\_)==(_/=================================+
"Its better to be pissed off than pissed on"

0 new messages