>> Masquerading in sendmail is used to change the hostname part of the
address:
>Tested and it works very fine. Thank you for your help, Dave! :-)
>> wrong. One thing to note here, is that root will NOT be masqueraded by
>> default. To use the DM option in the example above, modify the
>Hmmm, is there a way to masquerade root, too? It does not make much sense,
>though, what do you mean?
The CE entry in the /etc/sendmail.cf file contains a list of users that
should not be masqueraded. Root is normally listed here. Many systems mail
usefull information to root. Many sysadmins forward root mail to another
account/accounts so that action can be taken if a critical message is rcvd.
So, if root is masqueraded, you have no idea, without going thru the mail
headers, which specific machine the message came from. Also, many
sysadmins, myself included, believe that one should use the root login for
as little non-root tasks as possible. Thus, sending email outside your
domain is usally not done from a root account.
Hope this helps,
Dave