From cs.athabascau.ca!smail3-users-request Wed Jan 1 10:54:53 1997 Return-Path: Received: from zappa.fef.com(really [198.147.196.8]) by planet via smail with smtp id for ; Wed, 1 Jan 1997 10:54:52 -0800 (PST) (Smail-3.2.0.90 1996-Dec-4 #9 built 1996-Dec-8) Received: from aupair.cs.athabascau.ca by zappa.fef.com (4.0/6.4J.6) id AA24469; Wed, 1 Jan 97 11:00:24 PST Received: by aupair.cs.athabascau.ca (Smail3.1.28.1 #8) id m0vfTzE-0018KVC; Wed, 1 Jan 97 09:57 MST Old-Return-Path: Message-Id: From: "Chris Roger" To: "Greg A. Woods" Cc: Subject: Re: virtual alias via smail Date: Wed, 1 Jan 1997 11:58:59 -0500 X-Msmail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Resent-Message-Id: <"TsS8T.A.jxG.Qepyy"@aupair.cs.athabascau.ca> Resent-From: smail3-users@cs.athabascau.ca X-Mailing-List: archive/latest/1109 X-Loop: smail3-users@cs.athabascau.ca Precedence: list Resent-Sender: smail3-users-request@cs.athabascau.ca Status: RO > From: Greg A. Woods > To: Debi Tackett > Cc: smail3-users@cs.athabascau.ca > Subject: Re: virtual alias via smail > Date: Monday, October 21, 1996 10:11 PM > > [ On Mon, October 21, 1996 at 18:02:08 (-0700), Debi Tackett wrote: ] > > Subject: virtual alias via smail > > > > However, I want to be able to send aliases to different domains - > > webmaster@maximumaccess.com goes to btackett@maximumaccess.com, while > > webmaster@beachmedia.com should go to jdoe (which it currently does not - > > all webmaster@no-matter-what-domain goes to btackett (as it is defined in > > /etc/aliases)). Help! Surely this can be a simple thing. > > It can be done if you use the directors with great care. > > The secret is in the "domains" attribute of a director. > ...>8 > > Here's what I have in the directors file. Check out 'aliases-robo' and > note that it *must* come before the default 'aliases'. Unfortunately > you must supply a "complete" directors file -- there's no partial adding > to it....: > ...>8 > # > aliases-robo: > driver="aliasfile", > -caution, > -nobody, > +sender_okay, > -ignore_alias_match, > owner="owner-$user", > -default_user, > -default_group, > -default_home, > domains=robohack.planix.com:mail.robohack.planix.com:www.robohack.planix.com :ftp.robohack.planix.com, > -set_user, > -set_group, > -set_home, > ; > file="/local/etc/aliases.robohack", > proto="lsearch", > modemask=02, > -owners, > -owngroups, > -retries, > interval=10, > -reopen, > -optional, > +tryagain, > # > aliases: > driver="aliasfile", > -caution, > -nobody, > +sender_okay, > -ignore_alias_match, > owner="owner-$user", > -default_user, > -default_group, > -default_home, > -domains, > -set_user, > -set_group, > -set_home, > ; > file="/local/etc/aliases", > proto="dbm", > modemask=02, > -owners, > -owngroups, > -retries, > interval=10, > -reopen, > -optional, > +tryagain, > # ...>8 I added an 'aliases-domain' section to my directors file like the one above, but smail complains about the domains attribute and puts my message in the errors directory. Is there something I need to do to use the domains attribute in the directors file? I'm using smail 3.1.29.1 Here is the section I added: -------------------- aliases-balloonyideas: driver=aliasfile, -caution, -nobody, +sender_okay, -ignore_alias_match, owner="owner-$user", -default_user, -default_group, -default_home, domains=balloonyideas.com:mail.balloonyideas.com, -set_user, -set_group, -set_home, ; file=/usr/lib/aliases.balloonyideas, proto=lsearch, modemask=002, -owners, -owngroups, -retries, interval=10, -reopen, -optional -------------------- Does anything look wrong? TIA, Chris ====================================================== Christopher Roger * croger@vais.net * President Virginia Internet Services * Corporate Inter/Intra-Networking Services phone://703.913.0823 * fax://703.913.9775 * http://www.vais.net