[Pound Mailing List] Routing mail servers with pound?

Christian COMMARMOND <[email protected]> Fri, 16 Jun 2017 13:07:34 +0200
Newsgroups gmane.comp.web.pound.general
Message-ID <[email protected]>
Hi,

I am using pound to route my https and http. But I have now the same need
about other services, like mails.

I have two domains coming to my only IP. On both, I have to manage mails on
port 543.

Can I do comething like that:
ListenIMAPS
     Address 192.168.11.146
     Port    945
     Cert    "/etc/pound/certs/www.mydomain.eu"

   Service
      HeadRequire "Host:*.imap.mydomain.eu.*"
      BackEnd
         Address  192.168.11.114
         Port     945
      End
  End

   Service
      HeadRequire "Host:*.imap.myotherdomain.eu.*"
      BackEnd
         Address  192.168.11.115
         Port     945
      End
  End


End


If yes, can you tell me where to find the good syntax?

best regards,

Christian COMMARMOND
+33 6 82 33 52 32