Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

exim smarthost for a single sender domain

Answered

Comments

2 comments

  • Tiziano Dotti

    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
  • cPRex Jurassic Moderator

    Thanks for sharing the solution!

    0

Please sign in to leave a comment.