On Fri, Apr 23, 2010 at 10:29:36PM +0200, Heiko Schlittermann wrote: > Jim Trigg <[email protected]> (Fr 23 Apr 2010 18:04:08 CEST): > > Does anyone here use system groups to determine what domains are valid > > for a system user to receive mail through? I am hosting nine domains on > > a single system, and am looking for a simple way to allow a given user > > to receive email through a defined subset of the domains. (I'm not yet > > worrying about the consideration that I want to have one user name on > > half the domains and another on the other half...) > > Do I understand it the right way? > > # getent group > dom1:user1,user2 > dom2:user1,user3 > > us...@dom1 is valid, but us...@dom2 is not.
Close. Since I actually have nine "base" domains with variants, it's # getent group dom1:user1,user2 dom2:user1,user3 valid: [email protected], [email protected], [email protected], [email protected] invalid: [email protected], [email protected] And the set of which base domains have which TLDs is not complete. I have all but one in .org; it and three others are in .net; and one is in .us. Thanks, Jim -- 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 / \ -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
