Virtualmin virtual-server module 6.10 is in the repos. This is a huge update with some significant changes.
Changes since 6.09:
Added the set-dkim API command to enable and disable DKIM.
The compression format can now be selected on a per-backup basis.
Scheduled backups can have a descriptive comment for recording their purpose, which is also displayed in backup logs.
Per-domain SSL certifcates can now be setup in Postfix, if running version 3.4 or later.
Updated the SSL Certificate page to allow more control over per-domain certs for Webmin, Usermin, Postfix and Dovecot.
Many language updates.
In particular, this may fix the problem some folks saw in the past couple revisions where Dovecot became unpredictable on Let’s Encrypt certificate updates. It also adds SNI for Postfix, which is a bunch of code and a pretty new feature in Postfix, to boot, so it’s likely to be quirky for some folks in some situations…so, proceed with caution, maybe try it on a development server before you try to start using certs for every domain in Postfix.
As an aside, this release has all of the bits we’d planned in the Virtualmin module for Virtualmin 7, so in a few weeks the Virtualmin 7 installer and virtualmin-config package will arrive to enable the various new features by default, install some extra packages (and deprecate some others), etc.
Adding new SSL virtual website …
… SSL website failed! : Undefined subroutine &postfix::regenerate_sni_table called at /usr/share/webmin/virtual-server/feature-ssl.pl line 2268.
You either didn’t upgrade Webmin or Webmin needs to be restarted. Postfix SNI needs version 1.953 of Webmin. It should have been in the dependencies for the module, but maybe that got missed.
and did all tests… all seems to work now with this… gonna move some live testing domains to this, setup the clients and see if all works well with this
Nothing in the changelog or message above said anything about support for Ubuntu 20.04 in the installer (which is a wholly separate bit of code with its own repos and releases that get announced when they are updated).
Luckily for you, I just rolled out the new install script and virtualmin-config package, probably with support for Ubuntu 20.04 (I haven’t tested it but Ilia tells me it’s there). I will be announcing, as I always do, in another news post
@Joe one small challange
Webmin:
Postfix Mail Server
Postfix version 3.1.14
but shell:
apt-show-versions | grep postfix
postfix:amd64/buster 3.4.10-0+deb10u1 uptodate
Okay, so you persuaded me to update Postfix. I’m really not all that expert in Postfix, so I’d been following the philosophy of “If it ain’t broke, don’t fix it” until now. But this gave me a reason, so I updated 2.10.1 to 3.5.3, which was much less painful than I’d anticipated.
The thing is that Webmin / Virtualmin still show the Postfix version as 2.10.1, but both postconf mail_version and postconf -d | grep mail_version show it as 3.5.3. It can’t be two instances because I removed Postfix before updating.
The mail is working fine, and the Webmin functions related to Postfix that I tested also work fine. Roundcube also works fine.
There is one minor glitch: /var/log/maillog showed an error about not listing the hostname in BOTH mydestination and virtual_mailbox_domains, which I fixed, whereupon the mail stopped working (“User unknown in virtual alias table”). So I broke it again, and now it works. I can sort that out later.
So basically, the only odd thing is that Webmin is not reporting the proper Postfix version. Any clues? (I did restart Webmin after updating Postfix. In fact, I rebooted the server, as well.)
I thought I’d done that already, but I guess I was wrong. In any case, the warning is gone. I’m ecstatic because having been a long-time Exim user, the first time I messed with Postfix I hosed it so thoroughly that I thought I’d never get it working again.
Webmin 1.953
Virtualmin 6.10 Pro
OS Centos 7.8.2003
I’m still having trouble renewing an SSL certificate with Let’s Encrypt.
The certificate renews but Dovecot fails to restart (post creation command failed).
Webmin screen…
Validating configuration for gscerb.xyz …
… no problems found
Requesting a certificate for gscerb.xyz, www.gscerb.xyz, mail.gscerb.xyz, admin.gscerb.xyz, webmail.gscerb.xyz from Let’s Encrypt …
… request was successful!
Configuring webserver to use new certificate and key …
… done