ramudu wrote:

> I have to setup null clients in a LAN, so that the client machines
> can sendmail thro' the centralised server. I am also mounting
> /var/spool/mail in the clients and also running NIS in the LAN.
> 
> I am able to send mails outside. The problem i am facing is that
> 
> When i send mail sitting at client 
> 
>  from: [EMAIL PROTECTED]
>  to: [EMAIL PROTECTED]
> 
>  i want that to change as 
> 
>   from: [EMAIL PROTECTED]
>   to: [EMAIL PROTECTED]
> 
> 
>   As far as the from is concerned i am using 
>   DMmy_server.domain.com
>   So no problem in that part.
>   
>   How to change the to: part to the way i want.

        FEATURE(allmasquerade)

>From the cf/README file:

> allmasquerade   If masquerading is enabled (using MASQUERADE_AS), this
>                 feature will cause recipient addresses to also masquerade
>                 as being from the masquerade host.  Normally they get
>                 the local hostname.  Although this may be right for
>                 ordinary users, it can break local aliases.  For example,
>                 if you send to "localalias", the originating sendmail will
>                 find that alias and send to all members, but send the
>                 message with "To: localalias@masqueradehost".  Since that
>                 alias likely does not exist, replies will fail.  Use this
>                 feature ONLY if you can guarantee that the ENTIRE
>                 namespace on your masquerade host supersets all the
>                 local entries.

-- 
Glynn Clements <[EMAIL PROTECTED]>

-====---====---====---====---====---====---====---====---====---====---====-
 to unsubscribe email "unsubscribe linux-admin" to [EMAIL PROTECTED]
 See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/

Reply via email to