diğer bilgiler de şu şekilde..
---------------------
su-2.05b# ls -l /var/ | grep qmail
drwxr-xr-x 21 root qmail 512 Jun 27 11:13 qmail
su-2.05b# cat /usr/ports/distfiles/qsheff-0.8-r7/conf-qmaildir
/var/qmail
First line of this file is the qmail root directory.
Uncomment it (remove # character) and write correct path. (Mostly it is
/var/qmail)
su-2.05b# cat /usr/ports/distfiles/qsheff-0.8-r7/conf-qmailgroup
qmail
First line of this file is the qmail group id.
Uncomment it (remove # character) and write correct group id.
it is mostly qmail or nofiles. Check it:
# ls -l /var | grep qmail
drwxr-xr-x 14 root qmail 512 Jul 24 11:17 qmail
^^^^^
su-2.05b# ls -l /var/qmail/bin/qmail-q
qmail-qmqpc qmail-qmtpd qmail-qsheff qmail-queue
qmail-qmqpd qmail-qread qmail-qstat qmail-queue.orig
su-2.05b# ls -l /var/qmail/bin/qmail-q*
-rwxr-xr-x 1 root qmail 12304 Jun 24 19:21 /var/qmail/bin/qmail-qmqpc
-rwxr-xr-x 1 root qmail 15144 Jun 24 19:21 /var/qmail/bin/qmail-qmqpd
-rwxr-xr-x 1 root qmail 20092 Jun 24 19:21 /var/qmail/bin/qmail-qmtpd
-rwxr-xr-x 1 root qmail 15224 Jun 24 19:21 /var/qmail/bin/qmail-qread
-rws--x--x 1 root qmail 22941 Jun 27 15:48 /var/qmail/bin/qmail-qsheff
-rwxr-xr-x 1 root qmail 375 Jun 24 19:21 /var/qmail/bin/qmail-qstat
lrwxr-xr-x 1 root qmail 27 Jun 27 15:48
/var/qmail/bin/qmail-queue -> /var/qmail/bin/qmail-qsheff
-rws--x--x 1 qmailq qmail 15324 Jun 24 19:21
/var/qmail/bin/qmail-queue.orig
su-2.05b#
---------------------------------------------
su-2.05b# /var/qmail/bin/qmail-qsheff < share/sample-OK.msg
+++
+++ qSheff 0.8-r7 ready for input
+++
Mime parser '/usr/local/bin/ripmime' exited with 0
Recvfrom: '192.168.1.9'
From: '[EMAIL PROTECTED]'
To: '[EMAIL PROTECTED]'
Subject: 'selam have a cemal kelam in barda'
wbl entry: @devils-spammers.com
wblist exited with 0
*
*
*
*
*
*
*
*
*
*
do_filter exited with 0
Spammer '/usr/local/bin/zabit' exited with 0
Antivirus '/usr/local/bin/clamdscan' exited with 0
qSheff is going to wake qmail-queue...
burda bekliyor.... başka bişi yok... ileriye gitmiyor..
sorun sanırım burada...
----- Original Message -----
From: "Baris Simsek" <[EMAIL PROTECTED]>
To: <freebsd@lists.enderunix.org>
Sent: Monday, June 27, 2005 3:51 PM
Subject: [FreeBSD] Re: qsheff zabit ve qmail
0.8 surumu,
# ls -l /var/qmail/bin/qmail-q*
bu komutun ciktisini gonderin lutfen. Ayrica qmail-send in current
loglarina bir bakin anormallik gozunuze carpiyor mu. wrong owner gibi...
Bir diger sey de source dizine gidip Makefile dan DEBUG satiri acip diger
CC satiri kapatip make deyin. sonra
# ./qsheff < share/sample-OK.msg
ciktisini takip edin. problem ya bu ciktida yada ls ciktisinda belli
olacaktir buyuk ihtimal.
Mesut GÜLNAZ writes:
sanırım sorularınızın cevab bunlar.
su-2.05b# /var/qmail/bin/qmail-qsheff -v
qSheff 0.8-r7 - qmail spam/antivirus wrapper
http://www.enderunix.org/qsheff/ EnderUNIX Software Development Team @
Turkey
http://www.enderunix.org/ su-2.05b# cat qsheff.conf |
grep LOGFILE
LOGFILE = /var/log/qsheff.log
su-2.05b# ls -l /var/log/qsheff.log
-rw-r--r-- 1 root wheel 0 Jun 27 15:30 /var/log/qsheff.log
su-2.05b# okuyorum lakin yanlışlığı bulamadım..
----- Original Message ----- From: "Baris Simsek" <[EMAIL PROTECTED]>
To: <freebsd@lists.enderunix.org>
Sent: Monday, June 27, 2005 3:22 PM
Subject: [FreeBSD] Re: qsheff zabit ve qmail
merhaba mesut bey,
hangi versiyonu kullaniyorsunuz?
LOGFILE = /var/log/qsheff.log
boyle tanimlamissiniz ama /tmp/qsheff.log bunu kontrol ediyorsunuz. bir
yanlisiniz var galiba.
Eger qsheff in 1.0b-r2 sini kullaniyorsaniz INSTALL dosyasini muhakkak
okuyun. Site 0.8 surumleri icin. guncel bilgiler source ile gelen
INSTALL ve UPGRADE dosyalarinda.
kolay gelsin.
Mesut GÜLNAZ writes:
arkadaşalr qsheff, zabit ve qmail i tam olarak kurdum ama bir türlü
filtreleme ve engelleme yapamıyorum. tmp dizinleri log dosyaları hepsi
var.
linkleri de kontrol ettim tekrar tekrar.
ama bir türlü çalışmıyorlar. ayrıca qsheff ve zabit logları bomboş...
bazı çıktıları yolluyorum umarım çözebiliriz! su-2.05b# ls -l
/var/qmail/bin/qmail-queue
lrwxr-xr-x 1 root qmail 27 Jun 25 13:40
/var/qmail/bin/qmail-queue -> /var/qmail/bin/qmail-qsheff
su-2.05b# qsheff.conf WORKDIRPREFIX = /var/spool/qsheffq
TEMPDIRPREFIX = /tmp/qsheffq
LOGFILE = /var/log/qsheff.log
RULEFILE = /usr/local/etc/qsheff.rules
WBLISTFILE = /usr/local/etc/qsheff.wblist MIME_PROG =
"/usr/local/bin/ripmime -i mesg -e -d"
MIME_PROG_OK_RET = 0
MIME_PROG_ERR_RET = -1 SPAM_PROG = "/usr/local/bin/zabit -i -d"
SPAM_PROG_OK_RET = 0
SPAM_PROG_SPAM_RET = 1
SPAM_PROG_ERR_RET = 2 VIRUS_PROG = "/usr/local/bin/clamdscan --quiet"
VIRUS_PROG_OK_RET = 0
VIRUS_PROG_VIRUS_RET = 1
VIRUS_PROG_ERR_RET = 2 QUEUE_PROG = /var/qmail/bin/qmail-queue.orig
su-2.05b# ls -lR /tmp/qsheff*
-rw-r--r-- 1 root wheel 0 Jun 25 13:40 /tmp/qsheff.log /tmp/qsheffq:
total 0
su-2.05b# sorun nerede olabilir? uğraştımama işn içinden çıkamadım.
ince bi hata ya da unutkanlık olmalı.. şimdiden teşekkürler...
Baris Simsek
http://www.enderunix.org/simsek
qmail kitabi:
http://www.acikakademi.com/catalog/qmail/ ---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php
---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php
Baris Simsek
http://www.enderunix.org/simsek
qmail kitabi: http://www.acikakademi.com/catalog/qmail/
---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php
---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php