Cannot send mail using the command
exim4 -bm [email protected]
Looking at the logs after this I see that R=dkimproxy and T=dkimproxy_smtp H=localhost[127.0.0.1]:10027.
I have seen the error in the logs saying Unknown User
It generates a bounceback which also uses the same router and transport and also fails, inevitably becoming frozen in the queue.
If I telnet to the server and send a mail from [email protected] account to this same [email protected] email address then the R=send_to_xcalibre T=remote_smtp H=(our MX records).
I don't know how to get the local mail to take the same path as the mail generated using telnet.
This exim setup was done by a previous employee and unfortunately the knowledge of how this all worked left with him.
Any assistance would be appreciated.
EDIT
This is the routers section of exim4.conf
send_to_xcalibre:
driver = manualroute
domains = mydomain.com : myOtherDomain.com
condition = "${if eq {$interface_port}{25} {1}{0}}"
transport = remote_smtp
route_list = * primary-mail.mailhoster.co.uk
dkimproxy:
driver = manualroute
condition = "${if eq {$interface_port}{10025} {0}{1}}"
transport = dkimproxy_smtp
route_list = "* localhost byname"
self = send
Transports configuration
dkimproxy_smtp:
driver = smtp
port = 10027
allow_localhost
remote_smtp:
driver = smtp
headers_remove = X-Spam-Report:X-Spam-Bar:received