Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 1997 22:46:21 -0400
From:      "Brian J. McGovern" <mcgovern@spoon.beta.com>
To:        questions@freebsd.org
Subject:   Mail alias list update...
Message-ID:  <199708260246.WAA09022@spoon.beta.com>

next in thread | raw e-mail | index | archive | help
Almost two years ago, someone on this list gave me some mail rules so that I
could alias some of the virtual domains that I have. The rules are in the
S98 section (sendmail.cf), and read like:


R$* < @domain.com.> $*	$: $(maferrets $1 $:$1<@domain.com.> $) $2
R$* < @domain.com.> $*	$#error $: "User Unknown"

I also have a line further up that looks like:

Kdomain hash /etc/aliases.domain.org

Within the aliases.domain.org file, I have lines that look like:

original_user	new_user<@foo.bar.com.>
next_user	next_user<@foo.bar.com.>

Unfortunately, some of the aliases I want to now deliver to multiple end-users.
But, when I do:

agroup		user1<@foo.bar.com.>, user2<@foo.bar.com.>

It doesn't work. Looking at the ruleset, I understand why, as the second and
subsequent addresses get tokenized as $*. 

I guess my question is, with the new versions of sendmail and the like, whether
there is a similar, BETTER WAY (tm).

If someone can give me a quick answer, or point me to a document, I'd be
greatful. Just realize, I'm not a sendmail wizard, so be prepared to talk
down to me.
	-Brian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708260246.WAA09022>