Category Archives: Quick fixes and tips

Any quick fixes and tips that GEEK! write about will be placed in this category.

[FIX] iCloud IMAP username and password rejected

Following the recent expansion of iCloud (or, more specifically, iCloud+), it is now possible to add a Custom Email Domain and effectively utilise email hosting for your own domain name. 

This allows Apple’s popular cloud solution to compete with alternatives provided by Microsoft and Google – although admittedly it could be argued that this functionality is more aimed to the “prosumer” rather than enterprise environments.

That said, once configured, it’s a fairly easy to use and highly available method of hosting your email. You can see in my example screenshot below, I have two domains configured.iCloud Custom Domain setup

However, you might experience issues when trying to configure your iCloud based email address with an email client such as Microsoft Outlook or Mozilla Thunderbird. The issue I was experiencing occurred when I tried to enter my email address, username and password. Apple’s own documentation tells you to use the email address of the account you wish to add as your username, but in my case I consistently got an error suggesting my username was not recognised.

The correct username is actually the username for your iCloud IMAP account, which is inconveniently hidden away within your iCloud mail preferences. To find it, go to your iCloud Mail in your web browser, log in if prompted, and then select the settings cog (above the Mailboxes heading).

iCloud Mail

Then select Preferences. Once the Preferences window loads, then select Accounts. You should then see each of the email addresses you have configured for your iCloud account. What you’re looking for is the address which has “iCloud IMAP” below it – this is the username that you need to use to connect to iCloud mail via IMAP. 

iCloud IMAP

It’s worth noting that if you have two factor authentication enabled on your Apple ID (most accounts will), you’ll need to generate an app password for your email client. Follow the instructions in Apple’s support article and use the password provided at the appropriate step as the account password in your email client.

[Quick fix] Fix no or incorrect auto rotate on Windows 10 tablets

One thing I have noticed having used Windows 10 on various tablets, is that in many cases the auto rotation feature doesn’t always work correctly – both out of the box and after upgrading from Windows 8. I was confused, as my system’s Device Manager reported that the built in accelerometer was working fine – but despite this I still had no rotation.

I believe the issue might be relating to the fact that, bizarrely, when you first activate Windows 10 (after a clean install or an upgrade), it is set to lock the auto rotate function by default. This meant, maybe coincidentally for me, that when I connected my tablet to a keyboard dock, it shows the screen as portrait when it should be landscape.  It seems like a bit of a design flaw to me, but it’s easy to fix.

With your touchscreen, swipe in from the right hand side of the screen to bring up the Action Centre. Then, check the option called ‘Rotation lock’ – if it’s on (i.e. its highlighted with a colour), tap it to turn it off. The icon should switch to a grey colour.

Then try rotating your tablet. It should work correctly now. When you dock your keyboard (if you have one), it should also stay in the correct rotation.

Drop a comment below letting us know whether this worked for you if you were having a similar issue.

Google Chrome being unresponsive or unusually slow? Here’s a fix!

In recent weeks I’ve been finding my favourite browser, Google Chrome, walking on thin ice. It used to be a seriously speedy browser dancing from page to page… OK, cut the fairy tale. Nonetheless, it was getting increasingly slow performing basic tasks like opening new tabs and launching video playback. It even seemed to cause mouse lag when multiple tabs were open.

Nonetheless, I was fiddling with settings and finally seem to have found a reasonable solution. It seems hardware acceleration has been a relatively new feature for Chrome (available from early 2014-ish). but many seem to be reporting this has led to Chrome becoming slower rather than faster.

Try turning it off using the instructions below and see if it makes a difference.

  1. Type chrome://settings into your address bar. Alternatively, click on the Google Chrome customize button (far top right button in Chrome with the 3 lines, then click Settings)
  2. Scroll to the bottom and click Show advanced settings…
  3. Scroll all the way to the bottom and find the System section. Untick Use hardware acceleration where available. Chrome will tell you it’ll need to restart, so do that by clicking restart (or closing Chrome fully and reloading it)

Try browsing to some sites now or opening some new tabs. I noticed an immediate improvement myself, but let me know if it makes any difference for you.

Postfix/amavis workaround: “delivery temporarily suspended”

I’ve put together a quick workaround for a long-standing problem with my server, whereby every so often my mailserver will crash (usually every week or so). I discovered the problem relates to amavis crashing – but as yet I have not found a solution to the problem.

The shell script I’ve put together below (with the help of this) checks the status of the amavis service. If it’s down, the script will bring it back up and then restart postfix to resume deliveries.

I’d suggest running the script every 5 minutes from a cron job (use crontab -e to modify to your cron jobs).

#!/bin/bash
#
# Author: Alex Ward
# This script was created to find workaround to a problem where postfix would fail
# if amavis stopped on ISPConfig / Debian. This simple script will check the
# uptime of amavis and, if it is down, start it and then restart postfix.
# This script can be set up in a crontab.
#
# Built with help from
# http://www.akamaras.com/linux/linux-script-to-check-if-a-service-is-running-and-start-it-if-its-stopped/
#
#
version=”1.1″
#Changelog: Implemented version number and prepared for crontab logging.

service=amavis

echo ‘==========================’
echo ‘MAILSERVER SYSTEM CHECKUP!’
echo ‘==========================’
echo ”
date
echo “Version: $version”
echo ”
echo “Checking $service status…”
if (( $(ps -ef | grep -v grep | grep $service | wc -l) > 0 ))
then
echo “$service is running! No action required.”
else
echo “$service is DOWN! Rectifying this…”
/etc/init.d/$service start
postfix stop
postfix start
fi

echo ”
echo ‘=====================================================================’
echo ”
#END

You can download a copy of the script here (right click, save as).

It isn’t a solution to the problem – but until I find the solution, this will at least stop the problem from killing off mail deliveries.

Charge your iPad from any PC USB port & fix “Not Charging” error

Just a very quick Christmas post. If you’ve got an iPad and you’re wondering why it won’t charge over your desktop or laptop’s USB ports – it’s because by default desktop USB ports only provide 1A of current to connected devices. Any iPad actually needs more than this to charge, hence why Apple give you a special charging plug to charge it.

However, hope is not lost. You can actually get an app for your PC which manually increases the amount of current that your PC’s USB ports provide. It’s called AI Charger and it’s by Asus. Don’t be  fooled though – it will actually work with any computer and not just computers with Asus motherboards.

All you need to do is download the app from the page, install it and give your computer a reboot. When you turn it back on, you should notice that your computer will now charge your iPad (albeit slowly).

This should actually work on any desktop or laptop. Bear in mind, though, that use of this app while using your laptop’s battery may cause excessive wear to your battery. A useful app though, nonetheless.