Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 1997 16:19:45 -0700 (PDT)
From:      "Jonathan M. Bresler" <jmb>
To:        dan@dpcsys.com (Dan Busarow)
Cc:        metcalf@snet.net, questions@freebsd.org
Subject:   Re: Quest? -- Changing "From:" field from sent mail
Message-ID:  <199704202319.QAA26012@freefall.freebsd.org>
In-Reply-To: <Pine.UW2.3.95.970420111919.1189H-100000@cedb> from "Dan Busarow" at Apr 20, 97 11:34:51 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> On Sat, 19 Apr 1997, Sonya and Jeffrey Metcalf wrote:
> > be properly responded to by my recipients.  So my question is, can
> > I configure sendmail in some way that it always lists the response
> > address of all the mail from all my users as "metcalf@snet.net"
> > rather than "jeff@dane.snet.net" or "sonya@dane.snet.net", etc.?
> 

	use the genericstable in sendmail 8.8.x
	take a look at the README in /usr/src/usr.sbin/sendmail/cf

genericstable   This feature will cause certain addresses originating in the
                local domain or a domain listed in $=G to be looked up in a
                map and turned into another ("generic") form, which can change
                both the domain name and the user name.  This is similar to
                the userdb functionality.  The same types of addresses as for
                masquerading are looked up, i.e. only header sender addresses
                unless the allmasquerade and/or masquerade_envelope features
                are given.  The addresses must be in the list of names given
                by the macros GENERICS_DOMAIN or GENERICS_DOMAIN_FILE
                (analogously to MASQUERADE_DOMAIN and MASQUERADE_DOMAIN_FILE,
                see below).

                The argument of FEATURE(genericstable) may be the map
                defintion; the default map definition is:

                        hash -o /etc/genericstable

                The key for this table is either the full address or the
                unqualified username (the former is tried first); the
                value is the new user address.  If the new user address does
                not include a domain, $j is used.

	between masquerade and generics and virtusertable you can do 
	anything to email addressing ;)  
jmb



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