Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 1996 11:54:13 -0500 (CDT)
From:      "Lars Jonas Olsson" <jonas@mcs.com>
To:        questions@freebsd.org
Cc:        jonas@mcs.net
Subject:   multi-homed machine and sendmail
Message-ID:  <m0uMdeP-0005yQC@mars.mcs.com>

next in thread | raw e-mail | index | archive | help
 What magic do I put in my .mc file to get a machine with two internet
interfaces to accept mail for both nets? I have a SLIP host name
(jonas.pr.mcs.net) and a internal 10.* network with hostname
mail.accumed-int.com. I have no running DNS.  My .mc file currently
looks like:

divert(-1)
include(`../m4/cf.m4')
VERSIONID(`@(#)mail-hidden.mc	8.1 (Berkeley) 6/7/93')
OSTYPE(bsd4.4)dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`UUCP_RELAY', ucbvax.Berkeley.EDU)dnl
define(`BITNET_RELAY', mailhost.Berkeley.EDU)dnl
define(`CSNET_RELAY', mailhost.Berkeley.EDU)dnl
define(`confCHECKPOINT_INTERVAL', 4)dnl
FEATURE(nodns)
FEATURE(use_cw_file)

 And I put my two host names in /etc/sendmail.cw. I have the hostname
of the machine set to mail.accumed-int.com (internal net). If I
try to send mail to jonas.pr.mcs.net I get:

   ----- The following addresses had delivery problems -----
<ljo@jonas.pr.mcs.net>  (unrecoverable error)

   ----- Transcript of session follows -----
553 mail.accumed-int.com config error: mail loops back to myself
554 <ljo@jonas.pr.mcs.net>... Local configuration error


Jonas




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0uMdeP-0005yQC>