From owner-freebsd-isp Thu Mar 11 11:48:54 1999 Delivered-To: freebsd-isp@freebsd.org Received: from katroo.Sendmail.COM (katroo.Sendmail.COM [206.189.75.90]) by hub.freebsd.org (Postfix) with ESMTP id 3DFA315472 for ; Thu, 11 Mar 1999 11:48:52 -0800 (PST) (envelope-from gshapiro@sendmail.com) Received: from scooter.sendmail.com (IDENT:8vrYdueKDPiIvIXziq22J1BtHtcc42gO@scooter.Sendmail.COM [206.189.75.23]) by katroo.Sendmail.COM (8.9.3/8.9.3) with ESMTP id LAA04589; Thu, 11 Mar 1999 11:48:31 -0800 (PST) Received: (from gshapiro@localhost) by scooter.sendmail.com (8.9.3/8.9.3) id LAA17173; Thu, 11 Mar 1999 11:48:11 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14056.7675.167207.780586@scooter.sendmail.com> Date: Thu, 11 Mar 1999 11:48:11 -0800 (PST) From: Gregory Neil Shapiro To: John Beck Cc: Gregory Neil Shapiro , admin@wholesalehosting.com, freebsd-isp@FreeBSD.ORG, sendmail-questions@sendmail.org Subject: Re: I must be stupid In-Reply-To: <199903111939.LAA21852@opal.eng.sun.com> References: <36E7A1E938E.955CADMIN@domains.md> <199903111332.FAA20021@opal.eng.sun.com> <14056.5768.21905.815820@scooter.sendmail.com> <199903111939.LAA21852@opal.eng.sun.com> X-Mailer: VM 6.68 under 21.2 "Boreas" XEmacs Lucid (beta10) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John> Well, in our case, we know everyone involved, and there is mutual John> trust, so no worries. But in general it's still easy to solve: John> simply: John> % grep -iv foo.tld foo.txt John> where foo.tld is the domain and foo.txt is the virtual user sub-table John> for that domain. Then cat the output of the grep for each domain John> into the master virtual user table before doing the makemap. Nope again :) Assuming I wanted to steal all mail to otherperson.com and I control mydomain.com: @otherperson.com gshapiro+mydomain.com@mydomain.com Your grep would allow that through. It really needs a script which only allows non-qualified user names on the left hand side (and a default entry) and tacks on the domain that the user controls. Better to be paranoid. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message