• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Plesk 8.6.0 + Debian 4.0 + Spamassassin 3.1.7 + Clamav Configuration?

A

AlexisA

Guest
Hi All,

I currenly have an uptodate Plesk 8.6.0/Debian 4.0 installation. Spamassassin is working well. However I want to:

1) Upgrade spamassasin to 3.2.5 from 3.1.7 (which is the latest verion available via the plesk repo)

2) Delete/move all mail that has a spamassassin score of more than 15

3) Delete all emails that contain virus's using ClamAV

Having researeched this I cannot find any one who has managed to get these things working on Plesk 8.6.0 + Debian 4.0.

I was hoping Qmail-Scanner might work but am concerned it may have compatability issues with my setup? Has anyne got this working with my setup already?

Scott over @ atomicrocketturtle.com suggested that the easiest route would be to ditch Debian (not supported under Atomic Scanner) and install either CentOS, RHEL, or Fedora along with his very well known/respected Atomic Scanner which does all the clever configuration (and alot more) painlessly.

Before I go down the route of migrating all my websites over to a Atomic Scanner supported OS (which i am reluctant to do) I was hoping that I might be able to achieve the above using my current setup? Any advise would be very much appreciated.

Thanks,

Alexis
 
I have no idea if it will work on debian, but we use it without any problems on centos.

http://sageshome.net/oss/qclam.php

its very simple to use

- compile the program
- write a script that will add a line to the .qmail files. We use the cron for this, it checkes every hourt what .qmail files are missing it and add it, this is the script:

Code:
<?php

$findnames = "/usr/bin/find /var/qmail/mailnames/*.*/*/.qmail > /home/httpd/scripts/mailnames.txt";
system("$findnames");

$fh_mailnames = fopen ("/home/httpd/scripts/mailnames.txt", "r");

if (!$fh_mailnames) { exit; }
$i = 0;
while (!feof ($fh_mailnames)) {
	$mailnames[$i] = fgets($fh_mailnames, 1024);
	$i++;
}
fclose($fh_mailnames);

$qclamlijn = "| /usr/bin/qclam --temp /dev/shm --log /var/log/qclam.log\n";

for ($j=0; $j<count($mailnames)-1; $j++) {
	$mailnames_lijn = rtrim($mailnames[$j]);
	echo "checking: $mailnames_lijn\n";
  $qmailfile = file_get_contents("$mailnames_lijn");
  if ((ereg("qclam",$qmailfile))) {
  	echo "qclam already here\n";
  }	else {
   	echo "qclam added\n";
    $qmailfile = $qclamlijn . $qmailfile;
  	file_put_contents ("$mailnames_lijn","$qmailfile");
  }
	shell_exec("/bin/chown popuser.popuser $mailnames_lijn");
}

?>

sorry its php, i just dont like perl.

as for the spamassassin, you can configure that per mailbox.

Hopes this helps a bit
regards
Jan
 
Back
Top