[thelist] tiny mailinglist

Morbus Iff morbus at disobey.com
Fri Dec 15 13:52:16 CST 2000


 >For example, I have core at foo.com and want that user1, user2, user3 and
 >user4 get the emails.
 >
 >Although in this case the users are in fact users on the same system,
 >and furthermore I only want core@ once - and I don't care if
 >core at foo2.com won't work because of core at foo.com - it would be nice to
 >avoid this cases, too.
 >
 >What's the easiest way to realize this?
 >I know that I could do it with virtuser and aliases, but I'm not sure
 >how exactly.

Ok. The first thing you want to do is make an aliases. A single alias can 
map to multiple email's, but a virtuser entry can only map to one. Thus, 
the easy solution: map a virtuser entry to an alias, such that:

        in virtusertable:
        -----------------
        core at foo.com         your-new-alias
	

        in aliases:
        -----------
        your-new-alias:      user1, user2, user3, etc.

Note that if you do it this way, anyone who has "core at foo.com" will NOT get 
any email - sendmail will resolve only to the three emails matching the 
alias. So, if core@ should receive it too, make it core-mailing@, and throw 
core@ into the your-new-alias.

core at foo2.com will not be affected by these changes. Let me know if you 
need more info...

Morbus Iff
.sig on other machine.
http://www.disobey.com/
http://www.gamegrene.com/





More information about the thelist mailing list