Hi!
I have RH 9.0 and sendmail installed. I have sendmail to send logs generated by other application. I can send to anything but my own domain. We have our mail at our ISP so we dont use sendmail for anything else. These are the things i have configured:
sendmail.mc
define(`SMART_HOST',`myrelay.com')
MASQUERADE_AS(`mydomain.com')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(mydomain.com)dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localdomain)dnl
but this still did not work until i added this in sendmail.cf
Djmydomain.com
(Where can i add Djmydomain.com in sendmail.mc so i dont have to add this manually after every m4 i run?)
I have RH 9.0 and sendmail installed. I have sendmail to send logs generated by other application. I can send to anything but my own domain. We have our mail at our ISP so we dont use sendmail for anything else. These are the things i have configured:
sendmail.mc
define(`SMART_HOST',`myrelay.com')
MASQUERADE_AS(`mydomain.com')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(mydomain.com)dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localdomain)dnl
but this still did not work until i added this in sendmail.cf
Djmydomain.com
(Where can i add Djmydomain.com in sendmail.mc so i dont have to add this manually after every m4 i run?)