SUMMARY: outgoing aliases with sendmail

From: Vincenzo Magnano 3048-3769 <vincenzo_at_eca700.casaccia.enea.it>
Date: Wed, 09 Dec 1998 13:58:40 +0100

 

The question was:

> Hello managers,
>
> I want rewrite the From:
> normaly the From is "From: Name Surname <user_at_host.dom.ai.n>"
>
> I want rewrite in "From: Name Surname <Name.Surname_at_host.dom.ai.n>"
>
> Thanks for helping.
>

The answer is as follows:

from Caty <Catherine.Destandau_at_ign.fr>

I use sendmail 8.9.1

I do that with a table "users.db"

and adding map declaration and local rule in xxx.mc
LOCAL_CONFIG
Kusermap hash /usr/local/lib/MAILDB/users.db
LOCAL_RULE_1
R$* $: $(usermap $1 $)

From: Alberto Brosich <brosich_at_univ.trieste.it>


Look for userdb_spec option in sendmail installation
and operation guide and README in cf directory.

From: Marko Milivojevic <M.Milivojevic_at_f.bg.ac.yu>

        First of all, think twice before doing this. Authors of Sendmail
suggest not doing so. I don't agree with them.

        Second, there are, at least, three ways to do this. First, and the
simplest, requires no action from you. Just tell your users to put
First.Last_at_domain.com in their mail clients software as threir e-mail
address. Note, that you have to setup incoming aliases for this to work.

        Second and third sollutin, require action in Sendmail's
configuration. If you want details of setup, please feel free to contact
me, and I will send you the details. What you need are two options. One of
them (the easier one for setup) is User Database (userdb) feature. The
other one is callec Virtual User's Table (virtusertable). Userdb is much
more easier for administration and setup, but, unfortunately, for some
reason it "behaves" when used with Sendmail's anti-spam and anti-relay
features (Sendmail 8.9.1).

From: Marc Baudoin <babafou_at_pasteur.fr>


Use the genericstable stuff in modern sendmail (>=3D 8.8). The
stock Digital UNIX sendmail won't do this easily unless you hack
your sendmail.cf.

From: Tom Smith <smith_at_semail.mro.dec.com>


If you're using sendmail V8, you can use the genericstable feature. That
allows you to define a table of "reverse aliases" for utgoing messages.
For example:

        user_at_host.dom.ai.n -> Name.Surname_at_host.dom.ai.n


Thanks a lot to all who replied

Vincenzo Magnano vincenzo_at_casaccia.enea.it
Received on Wed Dec 09 1998 - 12:56:35 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT