exim smarthost for a single sender domain
Answeredhi all
I need to configure exim smarthost for a single sender domain (smarthost without auth, relay for authorized ip).
I see many post on this forum but no one have a working link...
Someone can help me pls?
Many thanks in advance
rgds
Paolo
-
solved it myself!
If someone need some help here is how:
create /etc/smarthosts with permissionroot:mail
edit as:
sender_domain_1.ch smart.host_server.ch::port
Exim configuration manager-> advanced editor
Section: POSTMAILCOUNT
my_smarthost_dkim:
driver = manualroute
domains = !+local_domains
require_files = "+/var/cpanel/domain_keys/private/${sender_address_domain}"
transport = dkim_remote_smtp
route_data = ${lookup{$sender_address_domain}lsearch{/etc/smarthosts}}my_smarthost:
driver = manualroute
domains = !+local_domains
transport = remote_smtp
route_data = ${lookup{$sender_address_domain}lsearch{/etc/smarthosts}}ciao
Paolo
0 -
Thanks for sharing the solution!
0
Please sign in to leave a comment.
Comments
2 comments