Skip to content

email_server: Simplify domain configuration form

  • By default, receive mail for all the domains on the system.

  • Allow user to select a primary domain. This domain is used for TLS certificate, automatically adding domain to sender address, etc.

  • Don't expose postfix configuration parameters.

Tests:

  • On installation, the domain list populated in postfix. Primary domain is the one set in the config module. If it is not set, any other domain from configured domains is taken.

  • When not installed, adding/removing domains does not cause errors.

  • Changing the domain in the domain view works. mydomain has the primary domain set. myhostname has primary domain set. mydestination has default values and in addition has all the domains on the system.

  • /etc/mailname is populated with the primary domain.

Signed-off-by: Sunil Mohan Adapa sunil@medhas.org

Merge request reports

Loading