Virtualmin LetsEncrypt module on CentOS 5 is broken- Quick, easy fix!

I have a customer who runs Virtualmin on CentOS 5. We’re working on getting him a newer server, but in the mean time we have to make do with what we have. Virtualmin supports LetsEncrypt, but the problem is that there is a syntax error when trying to request a certificate. The reason for this is that CentOS 5 runs an ancient version of Python:

root@server [~]# python -V
Python 2.4.3


Installing Python 2.6 on CentOS 5

So, we have to get a newer version of Python installed. The easiest way to do that is to enable the EPEL repo, which has backported software available.  So let’s install that:

rpm -Uvh epel-release-5*.rpm

Now we can install Python 2.6 and a needed Python module so that the script (a vital part of the LetsEncrypt module) can run:

yum -y install python26 python26-argparse


Forcing LetsEncrypt to use Python 2.6

Once that is done, we have to force the LetsEncrypt module to use the “python26” command instead of “python”. For that we’ll have to edit the file:


Using your favorite editor, go down to line 118, and change this:

    my $out = &backquote_logged(
            "$python $module_root_directory/ ".

To this:

   my $out = &backquote_logged(
            "$python26 $module_root_directory/ ".

You’ll note that the “$python” was changed to “$python26”. No other changes were made.

Now you can go into Virtualmin, Enable SSL for your domain, then under Server Configuration, go to Manage SSL. Then you can request a certificate. This time, it’ll work. Enjoy!

Windows 10 has No Sound? Easy fix!

Windows 10 has no sound?“Windows 10 has no sound- Help!” These were the words of my customer who had recently upgraded to Windows 10 and then for some reason had done a refresh (Windows 10’s in-place reinstall), and subsequently had no sound on their laptop.

Normally if Windows 10 has no sound I’d look into the Device Manager and find either a missing sound device, or a red exclamation next to it, indicating a driver or hardware problem. Device manager looked clean, however. The BIOS showed no options for disabling sound, so I doubted it was disabled and furthermore, it worked before the refresh.

The only oddity I noticed was that instead of “High Definition Audio Device” it gave “IDT High Definition Audio CODEC” as the name of the only audio device. I didn’t recognize that. When I opened that device, it gave the error “A device attached to the system is not functioning.” Okay, so this is why it isn’t working. I removed the device and then scanned for hardware changes, but the same device was detected, the same driver was installed, and the same “A device attached to the system is not functioning.” error was given. Time to try something else.

I did a bit of Googling and it turns out this is a known issue with Windows 10.

Windows 10 has no sound: The easy fix

  1. Open Device Device Manager (Right click Start, click “Device Manager”)
  2. Under “Sound, video and game controllers”, right click “IDT High Definition Audio CODEC” and click “Properties”.
  3. Select the Driver tab
  4. Click “Update Driver…”
  5. Click “Browse my computer for driver software”
  6. Click “Let me pick from a list of device drivers on my computer”
  7. Select “High Definition Audio Device” and then click Next
  8. When a warning comes up that it may not work, click Yes.

The device should now work, and you should immediately get sound on your computer. I didn’t think that solving this problem would be as easy as it was. If your Windows 10 has no sound, and this fixes it, please let us know in the comments!

Outlook 2016 Deletes POP Mail

Outlook 2016 Deletes POP Mail

There have been reports lately that Outlook 2016 deletes pop mail from POP3 servers, despite the “Leave a copy of messages on the server” option being checked. Microsoft is apparently aware of this bug, and working on a fix. The only fix is to remove recent Microsoft Outlook updates, or to switch to IMAP, where no such bug exists as it doesn’t use the POP3 protocol.

The behavior goes like this: You’ve got “Leave a copy of messages on the server” checked under Tools > Accounts> Advanced, and “Remove from server after <x> days” is enabled. The solution is to uncheck the “Remove from server after <x> days” option altogether.


From Microsoft’s own KB Article:

Outlook 2016 Deletes POP Mail

“Leave a copy of messages on the server” may be checked, but Outlook deletes mail anyway.

If you have the option Remove from server after <x> days enabled, you may experience the issue of email messages being deleted from the server.

If you have the option Remove from server after <x> days disabled, you may experience the issue of email messages being duplicated in Outlook.

Well, isn’t that encouraging? Fortunately, the link above shows how to revert to an earlier version of Outlook 2016, as only the latest version of Outlook 2016 Deletes POP mail. I highly recommend doing that, as it should solve the problem most painlessly. A better option would be to stop using Outlook! Mozilla Thunderbird is quite good and they aren’t obsessed with updating it needlessly. Granted, some folks really need Outlook, and I get that.

Outlook 2016 Deletes POP Mail – Prevention

This also brings up another point: Lets hope you have backups! If Outlook deleted all your mail from your server, and you had years of mail on there- where is your mail now? If you have a backup, it’s a restoration away. If you don’t… well, I can’t think of a better time to sign up for a Cloud Backup program, or at least get some local backups going. Also, make sure that your mail host is maintaining backups. They might not- the onus is on you to make sure your data is safe. Never put all your eggs in once basket!

I hope this helps you! Special thanks to for the excellent writeup on their blog.