EnderUNIX Team.


EnderUNIX İpucu

Arkadaşıma gönder , Ana Sayfa

[ qmail ]

"qmail-scanner icin spamassassini pasif hale getirme" - Gökhan ALKAN - (2007-06-07 21:51:18)   [3026]

Zaman zaman spamassassinin yada clamavin update edilmesi sirasinda yada baska nedenlerden dolayi qmail-scanner + spamassassin + clamav kurulu sistemde clamav , spamassassin yada her ikisinide pasif hale getirilmek istenebilir. Bunun icin


Oncelikle gerekli yapilandirmalari gerceklestirmeden once qmail-scanner yedenlenmelidir.

# cp /var/qmail/bin/qmail-scanner-queue.pl /var/qmail/bin/qmail-scanner-queue.pl.old

qmail-scanner dosyasi acilir ve asagidaki satirlar bulunur.
Find the section that looks like the following:

# vi /var/qmail/bin/qmail-scanner-queue.pl
my @scanners_installed=("clamdscan_scanner","spamassassin","perlscan_scanner");
The next section looks like this:
my @scanners_default=("clamdscan_scanner","spamassassin","perlscan_scanner");


Sadece spamassassin calismasi isteniyorsa eger qmail-scanner icerigi asagidaki gibi olmalidir.

my @scanners_installed=("spamassassin");
The next section should look like this:
my @scanners_default=("spamassassin");

Sadece clamavin calismasi isteniyorsa qmail-scanner icerigi asagidaki gibi olmalidir.

my @scanners_installed=("clamdscan_scanner");
The next section should look like this:
my @scanners_default=("clamdscan_scanner");

qmail-scanner dosyasinda gerekli degisiklikler yapildiktan sonra kullanilan isletim sistemine gore asagidaki komutlar calistirilir.

Redhat/Fedora/RHEL:
setuidgid qscand /var/qmail/bin/qmail-scanner-queue.pl -g, ve
setuidgid qscand /var/qmail/bin/qmail-scanner-queue.pl -z

Debian:
setuidgid qscand /var/qmail/bin/qmail-scanner-queue.pl -g, ve
setuidgid qscand /var/qmail/bin/qmail-scanner-queue.pl -z

Slackware:
setuidgid qscand /var/qmail/bin/qmail-scanner-queue.pl -g, ve
setuidgid qscand /var/qmail/bin/qmail-scanner-queue.pl -z



Arkadaşıma gönder , Ana Sayfa