You can fix Logjam for the Plesk Panel by simply adding the standard Nginx dhparam directive to the plesk.conf file.
Very similar to previous posts on adding OCSP and HSTS to Plesk.
First you will need to create your dhparam, you can follow my guide Creating DH Parameters, and then locate the file and edit with your favourite editor…
Plesk Server .conf
1
/etc/sw-cp-server/conf.d/plesk.conf
And add the Nginx ssl_dhparam directive above the certificate entries like so…
The guide at Plesk’s DevBlog results in dependency issues on Ubuntu 14.
Here’s what the command should be when migrating to MariaDB on Ubuntu 14.04.2 LTS with Plesk 12.0.18.
Where 12768 = psa-remote, 12345 = OpenDKIM, 3381 = ClamAV.
5. Now we need to restart postfix, clamav-milter and send a test mail and check for these headers..
ClamAV Headers
1
2
X-Virus-Scanned:clamav-milter0.98.6at hostname
X-Virus-Status:Clean
Your mail should now be scanned by both Spamassasin and ClamAV.
If you are missing the Scanned by header check the file…/etc/clamsmtpd.conf, for
/etc/clamsmtpd.conf
1
2
# A header to add to all scanned email
Header:X-AV-Checked:ClamAV using ClamSMTP
And uncomment it.
SET UP FRESHCLAM
6. ClamAV Freshclam, can be set up in several ways, I find it best to use cron for an hourly update.
To configure freshclam run…
Reconfigure freshclam
Shell
1
dpkg-reconfigure clamav-freshclam
And select cron instead of daemon.
7. You should have a default cron job for freshclam in /etc/cron.d/clamav-freshclam, should you wish to manage the task in Plesk or crontab you should disable first by commenting it out, you can then add the task to crontab like so…
Add cron job with crontab
Shell
1
2
crontab-e
30****/usr/bin/freshclam--quiet
8. Now restart freshclam with
Restart freshclam
Shell
1
service clamav-freshclam restart
And you should be good.
Any questions feel free to contact me.