Re: Null Client - To: field

From: Glynn Clements (glynn@sensei.co.uk)
Date: Mon Feb 14 2000 - 06:06:52 EST


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: xyz@local.domain.com
> to: somebody@local.domain.com
>
> i want that to change as
>
> from: xyz@my_server.domain.com
> to: somebody@my_server.domain.com
>
>
> 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 <glynn@sensei.co.uk>

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:36 EST