Proprocessed Messages

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
fabiogrant
New Forum User
New Forum User
Posts: 1
Joined: Mon Dec 29, 2008 6:33 pm

Proprocessed Messages

Unread post by fabiogrant »

Hello,

I install a Gamera Gateway in a Plain Centos 5.2 server.

I have 3 other servers with Plesk 8.6 version, without spamassassin, and i make a change in DNS service, and add:

MX(5) mx.mygameraserver.com
MX(10) mx.domain.com

The services running good, but, sometimes i have problem with qmail-scanner. I try change many files, try add children-process, add limits, but, after make this, the server can't send messages in PREPROCESS.

MY PROBLEM IT'S FOR SEND PREPROCESSED MESSAGES TO QUEUE.

This server only have this services running.

Hardwares is good and work without high LOAD, see:
Tasks: 171 total, 1 running, 170 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.5%us, 1.2%sy, 0.0%ni, 60.9%id, 31.2%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 3115652k total, 2927156k used, 188496k free, 160312k buffers
Swap: 2031608k total, 4628k used, 2026980k free, 2211312k cached

My CPU work with 5-10% all time.

If i add a limit, my server have 8 or 10% CPU, but i prefer my CPU run with 30 or 40% and my queue send fast.

More informations:

-------------- /etc/qmail-scanner.ini ------------------
QMAILSCANNERHOME="/usr/share/qmail-scanner"
SPOOLDIR="/var/spool/qscan"
SPAMDIR="/var/spool/qscan/quarantine/spam"

QS_USER="qscand"
QS_GROUP="qscand"
NOTIFY="none"
ARCHIVE="no"
FIX_MIME="2"
IGNORE_EOL_CHECK="no"
ADD_DESC_HEADERS="all"
DEBUG="yes"
MINIDEBUG="1"
SETTINGS_PER_DOMAIN="no"

# ClamAV settings
CLAMD_USER="qscand"

# Spamassassin settings
SA_SETTINGS="-d -c -m350 -H"
SA_SQL="no"
SA_DELTA="1"
SA_SUBJECT="****SPAM****"
SA_QUARANTINE="0"
SA_DELETE="9"
SA_REJECT="no"
SA_ALT="yes"
SA_DEBUG="yes"
SA_REPORT="yes"
SA_FORWARD=""
SA_VERBOSE="no"
-----------------------------------------------------
My Timeout it's 20 seconds.

Information:

[root@ ~]# qmHandle -s
Total messages: 6979
Messages with local recipients: 216
Messages with remote recipients: 283
Messages with bounces: 8
Messages in preprocess: 6477 --> It's this my problem, the messages don't send to queue, stuck in preprocess

I see in qmail-queue log, and don't have problem with messages. I certify clamd run fast <1 sec. SA run in 30 or 40 seconds. But, after timeout, the message stuck in preprocess and don't send.

I have a SQL table with bayes database, and have many register. I make a optimization query tables, and don't solved. After i disable bayes filter, in local.cf, my preprocess running fast and send to local or remote recipients. I disable pyzor, razor2 and dcc filters.

I think bayes is more slow. Have option for optimize bayes ?

Other question, what this MAXLOAD option in smtp.rules ?

Waiting some good information. Thanks.
Post Reply