Date: Sun, 8 Sep 2002 10:27:47 +0200 From: Ruben de Groot <fbsd-q@bzerk.org> To: Abc Xyz <abc@anchorageinternet.org> Cc: freebsd-questions <questions@FreeBSD.ORG> Subject: Re: private IP mail mail relaying Message-ID: <20020908082747.GA63523@ei.bzerk.org> In-Reply-To: <200209080436.g884aM4a009898@anchorageinternet.org> References: <200209080436.g884aM4a009898@anchorageinternet.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 08, 2002 at 04:36:22AM +0000, Abc Xyz typed: > > 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? define(`SMART_HOST',`your.gateway.com') > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020908082747.GA63523>