I believe this is due to a permissions problem. Make sure everything in
the qmailscan directory is owned by the user under which you are running
qmail-scanner (on my system it's qscand). I think that is set in a
config file in /etc/conf.d but I can't remember for sure. If you do a ls
-l on /var/spool/qmailscan at least something in there will probably
already be owned by the user you want.
HTH,
b
PS: note that there should be a qmail-scanner.log in the
/var/spool/qmailscan directory as well.
Suranga Kasthuriarachchi wrote:
Dear all,
I'm getting the qmail-smtpd log as follows when i'm receving the message
from outside, but i'm able to received the massage. how do i make sure
that qmail scanner is working or no.
@40000000450f52703a79ac54 tcpserver: status: 1/40
@40000000450f52703a79b424 tcpserver: pid 5052 from 192.168.1.10
<http://192.168.1.10>
@40000000450f52703a9ce00c tcpserver: ok 5052 :::ffff:192.168.1.2:25
<http://192.168.1.2:25> :::ffff:192.168.1.10::2394
@40000000450f5271096c8f3c X-Qmail-Scanner-1.25st:[mail11586320397185053]
cannot open /var/spool/qmailscan/qmail-scanner-queue-
version.txt - did you initialise the system by running
"qmail-scanner-queue.pl -z"? - Permission denied
@40000000450f5271097dfc2c /bin/rm: cannot lstat
`/var/spool/qmailscan/tmp/mail11586320397185053/': Permission denied
@40000000450f5271097f3c7c /bin/rm: cannot lstat
`/var/spool/qmailscan/working/new/mail11586320397185053': Permission denied
@40000000450f5273071bffec tcpserver: end 5052 status 0
@40000000450f5273071c07bc tcpserver: status: 0/40
@40000000450f529d19f846fc tcpserver: status: 0/40
@40000000450f52a509cbddac tcpserver: status: 1/40
@40000000450f52a509cbe964 tcpserver: pid 5243 from 192.168.1.10
<http://192.168.1.10>
@40000000450f52a509ef4fe4 tcpserver: ok 5243 :::ffff:192.168.1.2:25
<http://192.168.1.2:25> :::ffff:192.168.1.10::2396
@40000000450f52a5297d3934 tcpserver: end 5243 status 0
@40000000450f52a5297d44ec tcpserver: status: 0/40
@40000000450f52b900a2605c tcpserver: status: 1/40
@40000000450f52b900a2682c tcpserver: pid 5257 from 66.249.82.239
<http://66.249.82.239>
@40000000450f52b930c56b94 tcpserver: ok 5257 :::ffff:192.168.1.2:25
<http://192.168.1.2:25> wx-out-0506.google.com:::ffff:66.249.82.239::35968
@40000000450f52da3aea5814 tcpserver: end 5257 status 0
@40000000450f52da3aea63cc tcpserver: status: 0/40
@40000000450f53002d6de00c tcpserver: status: 0/40
@40000000450f532412f1635c tcpserver: status: 0/40
@40000000450f53323110bcd4 tcpserver: status: 1/40
Suranga Kasthuriarachchi
--
[email protected] mailing list