From owner-freebsd-questions Thu May 23 09:54:21 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA29140 for questions-outgoing; Thu, 23 May 1996 09:54:21 -0700 (PDT) Received: from kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id JAA29134 for ; Thu, 23 May 1996 09:54:19 -0700 (PDT) Received: from mailbox.mcs.com (Mailbox.mcs.com [192.160.127.87]) by kitten.mcs.com (8.7.5/8.6.9) with SMTP id LAA05785 for ; Thu, 23 May 1996 11:54:14 -0500 (CDT) Received: by mailbox.mcs.com (/\==/\ Smail3.1.28.1 #28.5) id ; Thu, 23 May 96 11:54 CDT Received: by mars.mcs.com (/\==/\ Smail3.1.28.1 #28.5) id ; Thu, 23 May 96 11:54 CDT Message-Id: Subject: multi-homed machine and sendmail To: questions@freebsd.org Date: Thu, 23 May 1996 11:54:13 -0500 (CDT) From: "Lars Jonas Olsson" Cc: jonas@mcs.net X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 ----- (unrecoverable error) ----- Transcript of session follows ----- 553 mail.accumed-int.com config error: mail loops back to myself 554 ... Local configuration error Jonas