From owner-freebsd-questions Tue Jul 23 05:26:39 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA10356 for questions-outgoing; Tue, 23 Jul 1996 05:26:39 -0700 (PDT) Received: from itsdsv1.enc.edu (itsdsv1.enc.edu [199.93.252.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA10351 for ; Tue, 23 Jul 1996 05:26:37 -0700 (PDT) Received: from dingo.enc.edu (dingo.enc.edu [199.93.252.229]) by itsdsv1.enc.edu (8.6.12/8.6.9) with SMTP id IAA16138; Tue, 23 Jul 1996 08:25:20 -0400 Date: Tue, 23 Jul 1996 08:34:31 -0400 (EDT) From: Charles Owens Reply-To: Charles Owens To: "Eric J. Schwertfeger" cc: questions list FreeBSD Subject: Re: Sendmail in 2.1.5R not masquerading properly? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Eric, I read a reply to your message in the freebsd list. I didn't see the original, so I'm not sure what you're doing, but here's what I do. I have a mail server pobox.enc.edu, which also answers to enc.edu (as horst.bfd.com answers to bfd.com). I have the following m4 config file, which lives in /usr/src/usr.sbin/sendmail/cf/cf/pobox.mc : # Modified from ./freefall.mc 12/14/95 by Charles Owens # for use in ENC's central mail relay host # # V1.0 12/14/95 CNO installed on pobox include(`../m4/cf.m4') VERSIONID(`@(#)pobox.mc $Revision: 1.0 $') OSTYPE(bsd4.4)dnl MAILER(local)dnl MAILER(smtp)dnl MASQUERADE_AS(enc.edu)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 define(`confAUTO_REBUILD', True)dnl Cw enc.edu Cw pobox.enc.edu To produce my sendmail.cf I simply do a m4 pobox.mc >/etc/sendmail.cf , restart sendmail, and it works like a charm. I'd been mucking around with the sendmail rules by hand before I figured this out. SOOOO much nicer this way!!! Anyway, good luck! --- ------------------------------------------------------------------------- Charles Owens Email: owensc@enc.edu "I read somewhere to learn is to Information Technology Services remember... and I've learned that Eastern Nazarene College we've all forgot..." - King's X -------------------------------------------------------------------------