From owner-freebsd-questions@FreeBSD.ORG Sat Sep 17 02:05:45 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 B132E16A41F for ; Sat, 17 Sep 2005 02:05:45 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E54FD43D48 for ; Sat, 17 Sep 2005 02:05:44 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 17 Sep 2005 02:05:43 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) [62.245.232.135] by mail.gmx.net (mp011) with SMTP; 17 Sep 2005 04:05:43 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-questions@freebsd.org Date: Sat, 17 Sep 2005 04:05:26 +0200 User-Agent: KMail/1.8.1 References: <20050917014901.GA29887@teddy.fas.com> In-Reply-To: <20050917014901.GA29887@teddy.fas.com> X-Birthday: Oct. 6th 1972 X-CelPhone: +49 (0) 173 9967781 X-Tel: +49 (0) 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2166189.Gk3BxgI6l3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509170405.35988@harrymail> X-Y-GMX-Trusted: 0 Cc: stan Subject: Re: A sendmail config question 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: Sat, 17 Sep 2005 02:05:45 -0000 --nextPart2166189.Gk3BxgI6l3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Samstag, 17. September 2005 03:49 CEST schrieb stan: > I'm setting up a 4.11 STABLE machine. > > 4.11 comes with sendmail 8.13.4, and I prefer to use this, rather than > build the one from ports (BTW if anyone has a strong reason that I > should do this different, I'd entertain a discussion on this). > > In any case the scenario I'm trying to set up is that I wat to recive > mail for say a@x.com, b@x.com ... a.y.com, c.y.com . Note that I _don't > want to accept mail for b@x.com. ^^^^???? I don't understand that sentence... You mention b@x.com in negative _and_=20 positive... Don't try to gain security by obscurity! > Now how I'm trying to do this is using /etc/mail/virtusertable I've got > etnries like this: > > stan@a.net stan > stanb@b.com stan > > In /etc/mail/local-host-names I have entries like: > > a.net > b.com > c.com > > Notice that there is not entry in virtusertable for stan@c.com, yet > mail addressed to that address is acepted and deliverd (as are the ones > I _want_ to work) to the local user stan. Ugh, I don't understand that either, but maybe x@c.com is your canonical=20 domain? Why don't you just post your config, replacing @ with (at) or anything=20 else? We are not used to your environment and so we don't have the=20 possibility to check for wider errors... Good luck, =2DHarry > > Can anyone enlighten me as to wgat I'm doing wrong here? > > Oh, of course the are DNS records for a.net, b.com, and c.com that point > to the IP addresses for this machine. --nextPart2166189.Gk3BxgI6l3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDK3nvBylq0S4AzzwRApE2AJ4kGDFAmaRnQKYyvc22QoqFp+E/fwCeJ+1g LIP95JtD4EyT5krIOLCYAS0= =CXK5 -----END PGP SIGNATURE----- --nextPart2166189.Gk3BxgI6l3--