Content-MD5: 2x+T4AFPJAlt7OSecBUvbw==
Precedence: bulk
My Question was as follows :
>Here is the simple question for you:
>I have an account as gokhan@gantek.com.tr
>But I want my outgoing mails have
>Gokhan.Erdem@gantek.com.tr
>in their From line. We are using NIS+.
>Is there way to do this ?
Three answers came, but I only tried one.It works.
The solution that came from Daniel J Blander is :
----------------------------------------------------------------------
In ruleset 22 on the stock sendmail you wil see:
DZREVERSE.mail_aliases.org_dir
make sure it is uncommented and the other DZ is commented.
Then put a comment infront of the stock line :
#R$-<@$+> $:$>3${Z$1@$2$} cause it doesn't work....
and before the last line put in:
R$+ $:${Z$1$} cause it does work
And in your /etc/mail/aliases file, at the begining, put
Your.Name:yname
You may need to flush the aliases (make them empty) because
lookup order can affect the Reverse lookup. Flush it by copying
the aliases file to another name, empty all the aliases out
of the original, run nisaddent -mvf /etc/aliases aliases
then copy the copy back to aliases and redo the nisaddent...
-------------------------------------------------------------------------
Gokhan ERDEM
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:10 CDT