From owner-freebsd-questions@FreeBSD.ORG Mon Sep 19 14:48:37 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E730E16A41F for ; Mon, 19 Sep 2005 14:48:37 +0000 (GMT) (envelope-from dan@dpcsys.com) Received: from ns.beach.net (ns.beach.net [12.130.64.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98D4F43D45 for ; Mon, 19 Sep 2005 14:48:36 +0000 (GMT) (envelope-from dan@dpcsys.com) Received: from dpcsys.com (misc-148-64-213-202.pool.starband.net [148.64.213.202]) by ns.beach.net (8.12.9/8.11.3) with ESMTP id j8JElifV027974; Mon, 19 Sep 2005 07:47:51 -0700 (PDT) (envelope-from dan@dpcsys.com) Date: Mon, 19 Sep 2005 08:47:52 -0600 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) To: stan From: Dan Busarow In-Reply-To: <20050919022520.GA19595@teddy.fas.com> Message-Id: <5B60AA7C-291C-11DA-BA24-0003934CC29E@dpcsys.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.553) Cc: Free BSD Questions list Subject: Re: Sendmail genericstable help, please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 14:48:38 -0000 On Sunday, September 18, 2005, at 08:25 PM, stan wrote: > I;m trying to set up a 4.11 STABLE machine to act as the mailhost > for a buch of virtual doamins. I'm planning on having "users" on > the machien for each user/doaimn pair. I've got the incoming > side of this working well with the Sendmail that came with 4.11 > (Not the ports version if it matters). I've done this with > /etc/mail/virtusertable and appropruate configuration in the.mc file. > > Now, I;m trying to get the outbound side of it workig, and I'm > not having much luck. > > I've crate /etc/mail/genericstable and it looks like this: > > stan stan@i-v-o.net > > I'v also created /etc/mail/generics-domains it looks like this: > > i-v-o.net > > I've added the following to both ops2.ivo.net.mc and > ops2.ivo.net.submit.mc > > MASQUERADE_DOMAIN(`ops2.i-v-o.net') > FEATURE(`genericstable', `hash -o /etc/mail/genericstable') > GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains') > FEATURE(`allmasquerade') > FEATURE(`masquerade_envelope') > FEATURE(`masquerade_entire_domain') > Masquerade is the opposite of what you want to do. Remove all of the masquerade lines and you should be OK Dan -- Dan Busarow 406 287 2182 Fish Creek Ventures dan@dpcsys.com 5913 St Hwy 41, Whitehall, MT 59759