From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078731111835.tru64-unix-managers.marc@archive.invalid> From: Vincenzo Magnano 3048-3769 Date: Wed, 09 Dec 1998 12:58:40 +0000 To: tru64-unix-managers Subject: SUMMARY: outgoing aliases with sendmail X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078731111835 The question was: > Hello managers, > > I want rewrite the From: > normaly the From is "From: Name Surname " > > I want rewrite in "From: Name Surname " > > Thanks for helping. > The answer is as follows: from Caty 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 Look for userdb_spec option in sendmail installation and operation guide and README in cf directory. From: Marko Milivojevic 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@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 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 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@host.dom.ai.n -> Name.Surname@host.dom.ai.n Thanks a lot to all who replied Vincenzo Magnano vincenzo@casaccia.enea.it