Hi,
I'm trying to get my mails sent from the address user@domain instead of
user@hostname.domain. Should be simple masquerading configuration in sendmail config files, but this is where I fall (newbie). The sendmail.cf is not recommended for editing. There should be some kind of .mc file that you edit, then 'compile' and it changes the .cf file.
I don't have sendmail.mc file in /etc/mail so I created one with the following lines that supposed to make my masquerading successful:
MASQUERADE_AS(`alcatel.co.il)dnl
MASQUERADE_DOMAIN(`.alcatel.co.il')dnl
EXPOSED_USER(`root')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
But... I don't know how to compile it to sendmail.cf. m4 command is not available. HELP!!! (be specific). Thanks.