Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find_additional_public_hostnames() enhancement for virtual hosts #161

Closed
lsl-at opened this issue Aug 26, 2022 Discussed in #160 · 0 comments
Closed

find_additional_public_hostnames() enhancement for virtual hosts #161

lsl-at opened this issue Aug 26, 2022 Discussed in #160 · 0 comments

Comments

@lsl-at
Copy link
Contributor

lsl-at commented Aug 26, 2022

Discussed in #160

Originally posted by lsl-at August 24, 2022
Hi!

I've just migrated my Zimbra host and stumbled upon certbot_zimbra.sh.

While looking through the code I see that find_additional_public_hostnames() queries the property zimbraPublicServiceHostname, as in:

[zimbra@HOST ~]$ zmprov -l gd DOMAIN.COM zimbraPublicServiceHostname
# name domain.com
zimbraPublicServiceHostname: webmail.domain.com

But it should rather be querying the property zimbraVirtualHostname, as in:

[zimbra@HOST ~]$ zmprov -l gd DOMAIN.COM zimbraVirtualHostname 
# name domain.com
zimbraVirtualHostname: webmail.domain.com
zimbraVirtualHostname: mail.domain.com
zimbraVirtualHostname: smtp.domain.com

I would like to patch this function. What do you think about that, or should it be added as another feature?

Regards
Friedl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants