No Featured Image

SpamAssassin: Can’t locate Mail/SPF/Query.pm

If you have SpamAssassin installed and see “Can’t locate Mail/SPF/Query.pm in @INC…” in your error logs, you need to install Mail::SPF::Query.
SpamAssassin uses SPF to detect header and email-source forgery – very important in determining … Read more »

No Featured Image

SpamAssassin: Can’t locate Mail/SPF/Query.pm

If you have SpamAssassin installed and see “Can’t locate Mail/SPF/Query.pm in @INC…” in your error logs, you need to install Mail::SPF::Query.
SpamAssassin uses SPF to detect header and email-source forgery – very important in determining … Read more »

No Featured Image

GPG: There is no assurance this key belongs to the named user

In GnuPG, if you get an error saying “There is no assurance this key belongs to the named user” when trying to encrypt, you need to sign the public key.
You can sign the key by typing “gpg –sign-key user-id” at the command prompt.
Footnote: I came across this whilst migrating our e-commerce system to a … Read more »

No Featured Image

Change default language in bash

To change the default language in the bash console (shell, terminal, command line – whatever you want to call it), go to your user home (e.g. /home/username/) edit or make a .bash_profile, and add this line to it:
export LANG=en
For some bizarre reason, our new dedicated server from 1and1 defaults to German feedback, which is really … Read more »

No Featured Image

Apache – Redirect all requests to a single page

We’re migrating servers at work, and I needed to show a single “We’re moving” page no matter what URL was requested. Here’s how to do it permanently, and temporarily:
RedirectMatch permanent .* http://yoursite.com/migration.html
RedirectMatch temp .* … Read more »