Only call hostname if no maildomain was provided to db_get. If for some reasons, hostname --fqdn throws an error, ignore it and don't add maildomain to the generated config. (LP: #1573871)
Signed-off-by: Simon Deziel simon@sdeziel.info
Only call hostname if no maildomain was provided to db_get. If for some reasons, hostname --fqdn throws an error, ignore it and don't add maildomain to the generated config. (LP: #1573871)
Signed-off-by: Simon Deziel simon@sdeziel.info