From owner-freebsd-isp Thu Mar 11 11:59:52 1999 Delivered-To: freebsd-isp@freebsd.org Received: from playground.sun.com (playground.Sun.COM [192.9.5.5]) by hub.freebsd.org (Postfix) with ESMTP id BE71914FF4 for ; Thu, 11 Mar 1999 11:59:50 -0800 (PST) (envelope-from jbeck@eng.sun.com) Received: from opal.eng.sun.com (sun-barr.Sun.COM [192.9.9.1]) by playground.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA05343; Thu, 11 Mar 1999 11:59:24 -0800 (PST) Received: from opal (localhost [127.0.0.1]) by opal.eng.sun.com (8.9.3+Sun/8.9.3) with ESMTP id LAA22056; Thu, 11 Mar 1999 11:59:23 -0800 (PST) Message-Id: <199903111959.LAA22056@opal.eng.sun.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Gregory Neil Shapiro Cc: John Beck , admin@wholesalehosting.com, freebsd-isp@FreeBSD.ORG, sendmail-questions@sendmail.org From: John Beck X-URL: http://WWW.Sendmail.ORG/ X-Face: "+X:bV72?Awv6$S2YK]-N42~<.<7-Z,li!FJJ2sLE.B.yTSlrM1K('8hn6Jnm(]lERAE=h] 8w:X@lulT)G62'cVtqW'2[clcpmcI'=VY`N{V9!9KH?{*I,q7I!y!c`MdfZ|(,Bv82jtS5OHg@]S&9 qBH^aYk[/jOS*N~6+K\^~P'`M>2\ Subject: Re: I must be stupid In-reply-to: Your message of "Thu, 11 Mar 1999 11:48:11 PST." <14056.7675.167207.780586@scooter.sendmail.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> <14056.7675.167207.780586@scooter.sendmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 11 Mar 1999 11:59:22 -0800 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 trust, John> so no worries. But in general it's still easy to solve: 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 into John> the master virtual user table before doing the makemap. Gregory> Nope again :) Gregory> Assuming I wanted to steal all mail to otherperson.com and I control Gregory> mydomain.com: Gregory> @otherperson.com gshapiro+mydomain.com@mydomain.com Gregory> Your grep would allow that through. It really needs a script which Gregory> only allows non-qualified user names on the left hand side (and a Gregory> default entry) and tacks on the domain that the user controls. Better Gregory> to be paranoid. OK, OK. It's still easy to do this, though. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message