PDA

View Full Version : Slackware 9.1 qmail-scanner-queue


bitmap
04-22-2004, 05:44 AM
During installation i'm unable to pass the test_installation.sh, i get even.
"qmail-inject: fatal: unable to exec qq (#4.3.0)
Bad error. qmail-inject died postmaster@my.domain"

I try to go ahead and all works perfecly, but i'm unable to make the qmail-queue works using qmail-scanner-queue (The wrapper).

I retrive my emails with getmail and i send them to my user with qmail-inject, so i think qmail-inject works.

If i remove the "QMAILQUEUE ..." line from qmail-smtp/run all works perfectly.

Some tips or help?

bitmap
04-22-2004, 06:34 AM
I do some modification and ..

The test_installations.sh script works, but i recive only 2 mail (the clean and the spam).

Bookworm
04-23-2004, 01:56 AM
Okay. You've removed the taint option from /var/qmail/bin/qmail-scanner-queue.pl
You've created the qmail-queue wrapper binary (/var/qmail/bin/qmail-scanner-queue)
You've then made sure that the QMAILQUEUE line does NOT contain
/var/qmail/bin/qmail-scanner-queue.pl - instead, it has the same line, but with no .pl

you run the suidgid line as spamd, with the -g option, and with the -z option.

BW

bitmap
04-23-2004, 04:45 AM
I do it all of this and retray the test_instalation.sh script.
The postmaster recive the same two mail.

In /var/spool/qmailscan/quarantine/new i find the other two mail with virus, but the postmaster recive no alert mail.

In the /var/spool/qmail-scan/qmail-queue.log i can see that the messages was analyzed.

At the boot the queue is analized correclty i think, then the /var/qmail/intd will never purge.

Qmailctl stat say
....
message in queue: 32
message in queue but non yet preprocessed 6 (this number is even bigger)

How can i control whats is wrong?

Bookworm
04-23-2004, 11:38 PM
ps -aufwx | grep service - what does it say.

tail -50 /var/log/maillog - what does it say?

tail -50 /var/qmail/qmail-smtpd/current - what does it say?

(Do this right after you attempt the sending script)

BW

bitmap
04-25-2004, 09:47 AM
The server is at work, so until Monday i can't saw nothing.

Bookworm
04-25-2004, 04:20 PM
You don't have remote access? okay...

BW

bitmap
04-26-2004, 06:06 AM
There was some error in /var/qmail/supervise/qmail-pop3d/run
and /var/qmail/supervise/qmail-send/run scripts.
I have corrected and now the queue remains clean

This are the string i recive with the commands you say.

root@arara:/# ps -aufwx | grep service
root 1186 1.0 1.0 1484 460 pts/0 S 10:04 0:00 \_ grep service
root 1148 0.0 0.7 1388 320 ? S 10:02 0:00 \_ svscan /service
root 1149 0.0 0.5 1348 236 ? S 10:02 0:00 \_ readproctitle service errors: .................................................. .............
.................................................. .................................................. .................................................. ..........

root@arara:/# tail -50 /var/log/maillog
Apr 26 10:02:49 arara spamd[1139]: server started on port 783/tcp (running version 2.63)

root@arara:/# tail -50 /var/log/qmail/qmail-smtpd/current
@400000004088bdb52bef0c24 tcpserver: status: 0/30
@400000004088c06329f9143c tcpserver: status: 0/30
@400000004088caa30baf91cc tcpserver: status: 0/30
@400000004088d0621c152bbc tcpserver: status: 0/30
@40000000408cc230294fc864 tcpserver: status: 0/30


Here is a doubt the address is right described so?

root@arara:/# tail -50 /var/log/qmail/qmail-send/current
@40000000408cc92e1633f7b4 starting delivery 4: msg 21595 to local mydomain.int-postmaster@mydomain.int

Bookworm
04-26-2004, 02:11 PM
Looks fine.

bitmap
04-27-2004, 03:19 AM
Thanks now the system works very well.

chirpper
06-13-2004, 09:32 PM
Hey I am getting the same thing here. What was the fix? the test produces the emails perfectly, but only 2 show up in the mail. The other two are in quarintine. Where do I go to change the notification to my postmaster or whomever?

TIA

Chirpper