From owner-freebsd-questions Fri Nov 26 18:54:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ducky.nz.freebsd.org (chilled.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 1156714BE4 for ; Fri, 26 Nov 1999 18:54:41 -0800 (PST) (envelope-from dan@langille.org) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ducky.nz.freebsd.org (8.9.3/8.9.3) with ESMTP id PAA83625 for ; Sat, 27 Nov 1999 15:54:38 +1300 (NZDT) Message-Id: <199911270254.PAA83625@ducky.nz.freebsd.org> From: "Dan Langille" Organization: langille.org To: freebsd-questions@freebsd.org Date: Sat, 27 Nov 1999 15:54:16 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: virtual email questions Reply-To: dan@langille.org X-mailer: Pegasus Mail for Win32 (v3.12a) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ive been reading http://www.sendmail.org/virtual-hosting.html and have started using /etc/mailvirtusertable but I'm unable to come up with an elegant solution for this particular situation. I host several domains on this box and have a few email users. For example, if I have the domains mydomain.org and anotherdomain.org and a user terry, I can make it so that terry@anotherdomain.org works, but terry@mydoomain.org fails. I do this by adding the following entries to /etc/mailvirtusertable: terry@anotherdomain.org terry terry@mydomain.org error:nouser No such user here However, I don't think this solution is scalable. If I had ten other domains, I'd have to add an entry for terry at each of the other ten domains. And if I had 5 other users, I'd have to add entries for each of then at each of those domains. There must be something else. Is there? -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.freebsddiary.org/freebsd/ NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/ The Racing System - http://www.racingsystem.com/racingsystem.htm unix @ home - http://www.unixathome.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message