Quote:
Originally Posted by coolpul
I am not sure which distribution/MTA I am using.
Can you help me out with this?
|
According to
this article, RHEL 4 includes no less than 3 MTAs: sendmail, postfix and exim. The default is sendmail, but apparently one can use the "Mail Transport Agent Switcher" GUI application or the
system-switch-mail-nox terminal command to select another MTA.
To make sendmail use a Smart Host, edit the
/etc/mail/sendmail.mc file and add the line:
Code:
define(`SMART_HOST',`isp-smarthost.isp.com')
Replace
isp-smarthost.isp.com with the fully qualified domain name of the Smart Host server provided by your ISP. Important: You must use the exact same quote characters as in the example above; mix up single quotes and backticks and it just won't work.
Once you've done that, you must run the
make command in the
/etc/mail directory and restart sendmail with
service sendmail restart.