Okay you kind of lost me with the FXDomains and the eCommerce and the "appropriate location"... sounded to me like it's all the same server but apparently not.
ANYway.. to get sendmail to connect to my domain server and route emails through there you need to identify your smart relay host in your sendmail.cf file. In RedHat, this is in /etc/mail/sendmail.cf
Quote:
# "Smart" relay host (may be null)
DSmy.domainserver.com
|
or, if you want to identify it by IP:
Quote:
# "Smart" relay host (may be null)
DS[11.222.33.444]
|
Save the sendmail.cf file and restart sendmail:
Code:
service sendmail restart
This will work as long as the remote host (your domain server) is configured to accept SMTP traffic from you and relay it.
Send a couple of emails after making the above change and then run "mailq". If there are some messages in the queue, wait about 10 minutes and run "mailq" again. If there's an asterisk beside the ID number they're being processed. When the asterisk goes away, if the message is still in your mail queue, there's a problem. Check your mail log (/var/log/maillog) for hints about what is going wrong.
or
Code:
/etc/init.d/sendmail restart