From owner-freebsd-questions Thu Feb 20 7:42:21 2003 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 798C237B401 for ; Thu, 20 Feb 2003 07:42:20 -0800 (PST) Received: from osm.michaelines.net (osm.michaelines.net [66.238.77.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DDDE43FAF for ; Thu, 20 Feb 2003 07:42:20 -0800 (PST) (envelope-from jtrigg@spamcop.net) Received: by osm.michaelines.net (Postfix, from userid 1002) id AD14320D16; Thu, 20 Feb 2003 10:43:00 -0500 (EST) Date: Thu, 20 Feb 2003 10:43:00 -0500 From: Jim Trigg To: Questions@freebsd.org Subject: Re: usernames and aliases etc. Message-ID: <20030220154300.GA22701@scadian.net> Mail-Followup-To: Questions@freebsd.org References: <200302201022.11194.george@vagner.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302201022.11194.george@vagner.com> User-Agent: Mutt/1.4i 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 On Thu, Feb 20, 2003 at 10:22:11AM -0500, Laszlo Vagner wrote: > While hosting mail for several domains, a local user > with an account name of say "biz" has a domain of say "domain.com" > would receive mail from other domains hosted at the same site > such as "biz@otherdomain.com". > > What I am looking for is a general setup criteria that would eliminate this > behavior so that biz@otherdomain.com would be rejected even though > otherdomain.com is hosted on the same server but has no username of biz. > > One thing I thought of would be to use strange local usernames and > then create virtual users that point to them. > > can anyone give me a suggestion on standard practice with this? It depends on what smtp software you're using. What you describe sounds like the only way to do it with sendmail; I use postfix which supports it natively without jumping through hoops. (I also find postfix a lot easier to configure.) Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family website X HELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message