From owner-freebsd-questions Sun Mar 14 5:39:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from firewall.sni-usa.com (firewall.sni-usa.com [140.231.44.101]) by hub.freebsd.org (Postfix) with SMTP id 32ECB14F65 for ; Sun, 14 Mar 1999 05:39:01 -0800 (PST) (envelope-from bein@pyramid.com) Received: from [136.157.128.105] by firewall.sni-usa.com via smtpd (for hub.FreeBSD.ORG [204.216.27.18]) with SMTP; 14 Mar 1999 13:07:42 UT Received: from buddha (localhost [127.0.0.1]) by buddha.mass.pyramid.com (8.8.5/OSx5.1a Pyramid-Internet-Gateway) id IAA00919; Sun, 14 Mar 1999 08:36:46 -0500 (EST) Message-ID: <36EBBB6D.7601@pyramid.com> Date: Sun, 14 Mar 1999 08:36:45 -0500 From: David Bein Organization: Pyramid Technology X-Mailer: Mozilla 3.01Gold (X11; U; ReliantUNIX-C bsdv6net73 MIServer-ES) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Cc: bein@pyramid.com Subject: FreeBSD 2.2.8 sendmail config question .... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi ... I have a PC running FreeBSD 2.2.8. It lives in a subdomain of my company's domain "pyramid.com". What I am wanting to do is have it take advantage of direct connections to the internet for everything it does not consider to be local or within my company's domain. Otherwise I want it to do the usual localhost/within-domain-direct forwarding. Given the standard sendmail.cf, can someone tell me what I need to tweak in the ruleset to get this to happen. My resolv.conf file has "mass.pyramid.com" which is the subdomain I live in, but for external mail, the From: lines should be using the externally visible domain, i.e. "pyramid.com". Can anyone make a suggestion about how to do this. I have much older sendmail cf files on other machines which do this, but the newer configuration file is greek to me. Thanks ... --David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message