I'm trying to setup DKIM on exim in a cPanel VPS.
I'm going with the DKIM Proxy option since cPanel is seriously dragging its feet with the it's-definitely-coming 11.32 release.
These guides here, here, and here has some reasonable steps to get that going. This is a clean guide too.
They don't detail some aspects much, in particular what the exim conf changes do.
Question 1.
With these steps:
At the beginning of the routers section in exim.conf:
dkimproxy:
driver = manualroute
condition = "${if eq {$interface_port}{10025} {0}{1}}"
transport = dkimproxy_smtp
route_list = "* localhost byname"
self = send
transports section in exim.conf (does not matter where):
dkimproxy_smtp:
driver = smtp
port = 10027
allow_localhost
What does this do?
Does it create an path were mail is routed out of exim onto dkimproxy, then back into exim for proper delivery?
From my testing, it appears that the mail is properly signed with DKIM when I send through the server's stand smtp port (465 via ssl)
Question 2.
In exim configuration, this step is requested:
Exim should speak TLS only on port 25, otherwise, it won't be able to communicate with DKIMproxy:
tls_advertise_hosts = 0.0.0.0.25
Why?
Question 3
Independently of the installation, there's a lot of recommendations for using DKIM Proxy with cPanel/Exim. How reliable is DKIM Proxy? Are there any security concerns with installing it on a server?
Thanks