Does anyone know where the sendmail configuration file is. I tried to look for the file and i cannot see it!
Thanks
Does anyone know where the sendmail configuration file is. I tried to look for the file and i cannot see it!
Thanks
There isn't one on cPanel as cPanel servers use exim as the MTA. You can configure it further if you want through WHM > Exim Configuration Editor > Advanced mode. You'll probably want to look at http://www.exim.org to help with whatever it is you want.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
i want to be able to relay all messages through another mail server. Is that possible with Exim?
I have a client looking to do this as well.
I also need to relay all mail through a remote mail server, I was hoping to use the SMART_HOST setting in sendmail to achieve this.
Does anyone know how to achieve the same result with Exim?
Ok, after some further digging around on this forum and from reading the Exim FAQ I have found an easy solution.
Apparantly in WHM, sendmail config is little more than a pointer to the Exim MTA which does all the mail routing duties.
To redirect all non local domains to a smart host:
1) Login to WHM as root
2) Under Service Configuration, click: "Exim Configuration Editor"
3) Scroll to the bottom and click "Advanced Editor" (usual rules of care apply)
4) Locate the ROUTERS CONFIGURATION section, notice under the router config for democheck: there is an editable box
paste in the following:
#This router relays all mail to mail.domain.com for onward routing
send_to_gateway:
driver = manualroute
domains = !+local_domains
transport = remote_smtp
route_list = * mail.domain.com
5) Save the config and off you go.
References:
Setting up Smart Host for an account
Q0304: How do I configure Exim to send all non-local mail to a gateway host?