How to: Use Qmail and Spamdyke to Stop Outgoing SPAM

Using Spamdyke and Qmail to Stop Outgoing SPAM

These applications work together well but there is a loophole which can be closed as follows.

First, we force require-auth in spamdyke.conf, add this line to the top:

filter-level=require-auth

On its own this will not work properly and will block incoming mail from external providers. So, we need to dynamically create a whitelist that spamdyke can work with. We use a PHP script as follows:

<download php script>

Run this script as a cronjob every 15 minutes to gather updated email address from Plesk.

Now you will see that the spam email that has been finding its way through the loopholes can now no longer send emails. You can check the blocked emails using this rule as follows:

cat /var/log/maillog | grep "DENIED_AUTH_REQUIRED"

See how emails from ebay, paypal etc are no longer being sent from compromised accounts?

How to: Activate SNI on a Plesk server

sshIf you are running Plesk for Windows then you can activate SNI in Tools & Settings > Server Settings. Plesk for Linux always has SNI enabled if it is supported.

Most modern web browsers, starting with IE 7, Firefox 2.0, Opera 8.0, and Chrome 1.0, support SNI, unless they are run on Windows XP.

Open up a terminal session and let’s find out if SNI is active on your server:

# cat /etc/psa/psa.conf | grep SNI

# SNI
SNI_SUPPORT true

If you see this, then you are in business. If not, then unfortunately there is nothing you can do. You are likely running Centos 5.8 or older. You’ll need to upgrade to Centos 6.

How to: Set PHP.INI Timezone

sshYour new Plesk 12 Dedicated Server will need to have the PHP.INI Timezone set for both PHP and Roundcube.

You need to edit:

nano /etc/php.ini
nano /etc/psa-webmail/roundcube/php.ini

Enter/update the timezone information as below:

date.timezone = Europe/London

Use the correct region for your location.

Plesk Server Upgrades – Incoming

Plesk-12-Banner

So that we can continue to provide high levels of performance to all our hosting clients we are planning a number of upgrades to both server hardware and control panel software for 2015.

Plesk 9 – We know many of you love this old panel but unfortunately it’s time to say goodbye to it. All Plesk 9 servers will be upgraded to Plesk 11.5 during Q1 2015. Plesk 11.5 provide higher performance, security and a multitude of new features over Plesk 9. The server hardware will be completely replaced with current high performance hardware.

Plesk 10 – The remaining Plesk 10 servers will be upgraded to Plesk 11.5 during Q1 2015. The server hardware will be completely replaced with current high performance hardware.

Plesk 11/11.5 – Besides security and panel updates, these servers will remain as they are.

Plesk 12 – From Q2 2015 we will be rolling out Plesk 12 for all new accounts. We will offer free migrations from Plesk 11/11.5 to Plesk 12 when requested.

We are committed to ensure we have the highest performance and security available for all of our clients. We will update you directly when your server is affected with specific upgrade dates. If you have any questions please do not hesitate to contact the Helpdesk.

How to fix: iPad / iPhone IMAP error “unable to move message to trash”

When moving or deleting an email on your iPhone you get the error:

0

This only happens if you are using IMAP servers for your email and isn’t an issue for POP mailboxes.

How-to fix this error

1. Press the Home button and choose Settings.

1

2. Scroll down and click Mail, Contacts, Calendars.

2

3. Tap your email account.

4. Scroll to the bottom and click Advanced.

3

5. Scroll to the bottom and tap the empty IMAP Path Prefix.

iphone imap prefix

4

6. Enter INBOX in capitals, then click ‘Accounts’ at the top left and click ‘Done’ at the top right twice to close the settings.

5
Can’t see the IMAP path prefix?

If this happens to you then you have to delete your IMAP email account and add it again manually. Follow these instructions to add your email account to your iPhone manually. This will then let you see the Advanced button.

7. Press the Home button and then re-open Mail.

8. You will now be able to delete or move your emails on your iPhone.