Hey,
i'm trying to set up a RHEL AS 3.0 host to relay all mail sent to unqualified names to a central smtp server. i've made these changes to sendmail.mc:
define(`SMART_HOST',`mailhost.mydomain.com')dnl
define(`LOCAL_RELAY', `mailhost.mydomain.com')dnl
define(`MAIL_HUB', `mailhost.mydomain.com')dnl
problem is, if i watch the verbose output from `mail jdoe`, i'll see that the 'RCPT To:' line is referencing the host i am logged into, and not 'mailhost':
>>> RCPT To:<jdoe@myhost.mydomain.com>
anyone know anything else i can do to force the recipient to be at 'mailhost' and not the local machine?
after making changes to the mc file i am recompiling with:
make -C /etc/mail
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
thanks!!
i'm trying to set up a RHEL AS 3.0 host to relay all mail sent to unqualified names to a central smtp server. i've made these changes to sendmail.mc:
define(`SMART_HOST',`mailhost.mydomain.com')dnl
define(`LOCAL_RELAY', `mailhost.mydomain.com')dnl
define(`MAIL_HUB', `mailhost.mydomain.com')dnl
problem is, if i watch the verbose output from `mail jdoe`, i'll see that the 'RCPT To:' line is referencing the host i am logged into, and not 'mailhost':
>>> RCPT To:<jdoe@myhost.mydomain.com>
anyone know anything else i can do to force the recipient to be at 'mailhost' and not the local machine?
after making changes to the mc file i am recompiling with:
make -C /etc/mail
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
thanks!!