How do I change the envelope from address in sendmail

Oliver Fuchs oliverfuchs at onlinehome.de
Fri Jul 9 06:13:25 PDT 2004


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


More information about the freebsd-questions mailing list