InigoMontoya
IS-IT--Management
Hello All,
I have a linux workstation that when I send mail from it it shows the hostname.domain.com in the From line. I want it to behave as other workstations (sendmail) where the 'hostname' portion is masqueraded with the 'mailserver'. The From: line then has mailserver.domain.com?
In sendmail I set the parameter with MASQUERADE_AS line. I was able to have the same effect in postfix by changing the 'myhostname' parameter in the main.cf line to myhostname = mailserver.domain.com instead of hostname.domain.com. But I'm not sure if this is the correct way of doing it.
Is what I did wrong? Is there a correct or better way to perform the masquerading? Thanks.
BTW...there is a masquerade_domains parameter in the main.cf file but it doesn't hide the hostname. There is no masquerade_hostname that I see but it would make sense if there is one. Anyway...thanks for any help!
I have a linux workstation that when I send mail from it it shows the hostname.domain.com in the From line. I want it to behave as other workstations (sendmail) where the 'hostname' portion is masqueraded with the 'mailserver'. The From: line then has mailserver.domain.com?
In sendmail I set the parameter with MASQUERADE_AS line. I was able to have the same effect in postfix by changing the 'myhostname' parameter in the main.cf line to myhostname = mailserver.domain.com instead of hostname.domain.com. But I'm not sure if this is the correct way of doing it.
Is what I did wrong? Is there a correct or better way to perform the masquerading? Thanks.
BTW...there is a masquerade_domains parameter in the main.cf file but it doesn't hide the hostname. There is no masquerade_hostname that I see but it would make sense if there is one. Anyway...thanks for any help!