Return to BSD News archive
Xref: sserve comp.mail.sendmail:17594 comp.os.386bsd.questions:17474 Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!news.uoknor.edu!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!gatech!howland.reston.ans.net!news.sprintlink.net!news1.channel1.com!usenet From: mcgovern@mcgovern.channel1.com (Brian J. McGovern) Newsgroups: comp.mail.sendmail,comp.os.386bsd.questions Subject: Aliasing for multiple domains Date: 10 May 1995 19:56:09 GMT Organization: Channel 1 Communications Lines: 17 Message-ID: <3or5op$cj2@news1.channel1.com> NNTP-Posting-Host: mcgovern.channel1.com I am running a FreeBSD 2.0 machine that has a Cw line for several domains in it. Lately, several of my users have requested special user ids for their own purposes, such as support, techsup, etc. So, what I'd like to do is be able to keep these in an alias file and have something like this work: support@domain1.com: userx support@domain2.com: usery support@domain3.com: userz However, when sendmail gets mail for support, no matter the domain, it gets aliased to userx. Is there anyway to rewrite the rules to handle this condition without having to alias every user on the system? Thanks in advance. -Brian