Menu

#82 davmail.bindAddress support for multiple ifaces

Backlog
open
nobody
None
5
2018-10-29
2012-10-02
No

As I can see from source codes, DavMail can handle whether empty value for `davmail.bindAddress' property to bind to all available interfaces, or just single value for ip-address or hostname to bind to it.
I've got server with about few dozens of ip-adresses, but want DavMail to listen only on several of them on different vlans.
Can you please add an ability to specify bind addresses this way: `davmail.bindAddress=ip1,ip2,hostname' or something like that?

Appreciate your help and thanx for your work on this great product!

Discussion

  • Mickael Guessant

    Not as simple as it seems: ServerSocketFactory.createServerSocket does not support multiple bind addresses => would need to create multiple server instances.

    Workaround: run multiple instances of DavMail, each one on a different bind address

     
  • Mickael Guessant

    • Group: --> Backlog
     

Log in to post a comment.