I haven't worked with sendmail much it, but I've been toying with. I have a few questions that I think are pretty basic, but I'm having a hard time to get them working.
My machine sends out email in the form of
me@machinename.domain.com and I wanted to remove the machine name from the address so I edited the /etc/mail/sendmail.mc and added this line:
Code:
MASQUERADE_AS(`mydomain.com')dnl
When I send email it appears to be working correctly, but our exchange administrator says that that emails are still coming in as
me@machinename.domain.com. I don't see this happening when I send email out to any of my other email accounts. Is there something else that I need to change or a reason why Microsucks Exchange is still seeing the full name?
Also, is the correct way to forward email from my machine to another SMTP server to edit the /etc/mail/sendmail.mc and add something like this?
Code:
dnl define(`SMART_HOST',`10.10.10.10')
Thanks for the help!