1833044 Members
2738 Online
110049 Solutions
New Discussion

MASQUERADING

 
Ralf Buchhold
Regular Advisor

MASQUERADING

Hello
can I masquarade only the user:
root@domain.com to
hello@xyz.domain.com

But attention: no other users should be
masquarade

Thanks
Ralf
2 REPLIES 2
Berlene Herren
Honored Contributor

Re: MASQUERADING

You may want to look at using the user.db instead...see attached file.

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Steven E. Protter
Exalted Contributor

Re: MASQUERADING

you could alias the user.

root@domain.com: hello@xyz.domain.com

The the file /etc/mail/aliases

Then all inbound mail would get forwarded to
the second address.

The same thing could be achived by two entries in the /etc/mail/virtusertable and /etc/mail/genericstable files

You would need to compile your sendmail macros into sendmail.cf and put that into production.

This script does that with standard anti-spam options.

http://www.hpux.ws/buildmail.hpux.text

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com