Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 2004 15:13:05 +0200
From:      Oliver Fuchs <oliverfuchs@onlinehome.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: How do I change the envelope from address in sendmail
Message-ID:  <20040709131305.GA1579@oliverfuchs.ath.cx>
In-Reply-To: <BAY15-F12yQhyx5aQr50007bdd0@hotmail.com>
References:  <BAY15-F12yQhyx5aQr50007bdd0@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 09 Jul 2004, BALU G.S wrote:

> 
>    Hi,
> 
>    What's the proper way to
>    get sendmail to use [1]user at domain.com instead of [2]user at
>    machine.domain.com?????
> 
>    Regards,

Hi,

add:
FEATURE(`genericstable', `hash -o /etc/mail/genericstable')dnl
FEATURE(`masquerade_envelope')dnl

to your sendmail.mc

Add in /etc/mail/genericstable
user1.domain.com	user2.machine.domain.com

Change to /etc/mail
and run

make all
make install
make restart

Oliver
-- 
... don't touch the bang bang fruit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040709131305.GA1579>