From owner-freebsd-questions Sat Sep 7 21:35:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6051537B400 for ; Sat, 7 Sep 2002 21:35:53 -0700 (PDT) Received: from anchorageinternet.org (groggy.anc.acsalaska.net [208.151.119.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id C37F943E65 for ; Sat, 7 Sep 2002 21:35:51 -0700 (PDT) (envelope-from abc@anchorageinternet.org) Received: (from abc@localhost) by anchorageinternet.org (8.12.3/8.11.6) id g884aM4a009898 for "freebsd-questions" ; Sun, 8 Sep 2002 04:36:22 GMT (envelope-from abc@anchorageinternet.org) Date: Sun, 8 Sep 2002 04:36:22 GMT From: Abc Xyz Message-Id: <200209080436.g884aM4a009898@anchorageinternet.org> Subject: private IP mail mail relaying X-Mailer: Umail v2.3 To: "freebsd-questions" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > have your gateway relay the mail from the internal network IP. > > -Adam can anyone provide more details on what is meant here? what to do exactly? or where to look for what to do? i can't extract enough detail from the answer to proceed in any way with that information. i read a bit about relaying at sendmail.org, but it's not exactly a small nor simple subject, and the only way i can make sense of the answer above is that it suggests configuring a private IP MUA to use the gateways MTA - which is not a solution as i stated below. but i just can't tell, it's too terse. what specifically needs to be done with sendmail to make it request another sendmail daemon on a gateway to act as a "relay" - if this is possible? thank you > >> (09.07.2002 @ 0325 PST): Abc Xyz said, in 1.4K: << > > this is a problem plaguing me for years - 3 or so. > > i am on a network with a private IP - an ethernet > > with a freebsd gateway using ppp -ddial -nat. > > it is important that the private IP MTA be used so > > mail logs stay on the corresponding machines from > > which they are sent and also because the MUA relies > > on a local MTA to function. > > > > i thought i found a solution by editing sendmail.cf > > as follows: > > > > DjMYGATEWAYSHOSTNAME.ORG > > > > this did work for mailing a FBSD maillist, > > forcing sendmail to provide the gateway as > > the origin of the mail, but then i realized > > that it crashed internal network mail. > > > > for example, with such a sendmail.cf, if i am > > on a machine with a private IP behind the gateway, > > and i mail user@MYGATEWAYSHOSTNAME.ORG, sendmail > > looks for "user" on my own machine, instead of > > the gateway. > > > > i am sure i am not the only one with this problem, > > ie, using sendmail from a machine on a private IP network > > behind a gateway. i think it's reasonable to imagine that > > most users using FBSD as a gateway have such a setup, at > > home or at work. > > > > what is the proper solution to this problem? > > i have attempted to find out over the years, > > but have never recieved a simple and direct > > solution/answer. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message