Spyderserve Web Development
Service Name: postfix
Config File: /etc/postfix/main.cf
Add the following at the beginning of the config file and set appropriately:
myhostname = [hostname].[domain] mydomain = [domain] myorigin = $myhostname inet_interfaces = $myhostname
To add a relay host add the following line under “INTERNET OR INTRANET”
relayhost = [relay hostname].[domain] (example: mailx.domain.com)Source: http://www.techotopia.com/index.php/Configuring_an_RHEL_6_Postfix_Email_Server