From owner-freebsd-questions Sat Sep 7 3:36:53 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 86E3837B400 for ; Sat, 7 Sep 2002 03:36:49 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12B9343E42 for ; Sat, 7 Sep 2002 03:36:49 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (d8b3443adcb3191ec5b814f7005fb675@localhost [127.0.0.1]) by vectors.cx (8.12.4/8.12.4) with ESMTP id g87Acd2e088079; Sat, 7 Sep 2002 03:38:39 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.4/8.12.4/Submit) id g87Acc5m088078; Sat, 7 Sep 2002 03:38:38 -0700 (PDT) (envelope-from monkey) Date: Sat, 7 Sep 2002 03:38:38 -0700 From: Adam Weinberger To: Abc Xyz Cc: freebsd-questions Subject: Re: maillist host lookups Message-ID: <20020907103838.GF76893@vectors.cx> Mail-Followup-To: Adam Weinberger , Abc Xyz , freebsd-questions References: <200209071025.g87APMHU052229@anchorageinternet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209071025.g87APMHU052229@anchorageinternet.org> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i 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 >> (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. > > for years, i could never mail FBSD maillists, since they > choose to create hardship for anyone with a private IP > in order to block spammers using private IP's, an > argument which i do not buy, but i digress. > > 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 > >> end of "maillist host lookups" from Abc Xyz << -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx http://vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message