A
alexxx

  • Joined Sep 7, 2021
  • 1 discussion
  • 1 post
  • 0 best answers
  • Post posted... wait what?
  • Hi,

    when I remember the RFC correctly, mailserver’s have to use their hostname (that is also their reverse DNS for that IP) in their HELO-message.
    As my server ha a quite technical, long and hard-to-remember hostname, I don’t want to use that for the WebUI for the users (and - if possible - for the IMAP/SMTP-setting in their clients).
    Unfortunately, it is AFAIR only possible to set a general MAILCOW_HOSTNAME in the mailcow.conf.
    Is it possible, to configure mailcow in a way, that the “nice” URL is used for all user-facing stuff?

    I tried it already, and is seems to work with a reverse proxy in front, but only SOGo seems to keep redirecting to the crude hostname. So is there any setting in SOGo where I can hardcode the Domain?

    • Simply add your desired domain to the ADDITIONAL_SAN variable in mailcow.conf - afterwards both, the hostname and the addition domain, can be used to access the ui.