Noel Rivera (Border Less) wrote:
Here is my spamdike.conf
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
dns-blacklist-entry=b.barracudacentral.org
graylist-dir=/var/spamdyke/graylist
graylist-level=always
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=5
connection-timeout-secs=660
idle-timeout-secs=660
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
local-domains-file=/var/qmail/control/rcpthosts
log-level=info
log-target=stderr
max-recipients=40
#policy-url=http://my.policy.explanation.url/
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
reject-empty-rdns=1
reject-ip-in-cc-rdns=1
reject-missing-sender-mx=1
reject-unresolvable-rdns=1
sender-blacklist-file=/etc/spamdyke/blacklist_senders
sender-whitelist-file=/etc/spamdyke/whitelist_senders
tls-certificate-file=/var/qmail/control/servercert.pem
config-dir=/etc/spamdyke/config.d
This looks fine to me.
Let's look at max smtp sessions. When you're seeing the soft reject
message(s), how many smtp sessions are active (status line)? Does it
ever max out at 100? What's the highest number you've seen? How many are
typically active on average?
In /var/qmail/control/concurrencyincoming I have this value “80”
I'd like to see the typical values you have in the status messages in
your smtp file. These messages indicate your 80 value, but more
importantly how many of the 80 are being used at any time. Does it ever
reach the maximum? What value is average? Most importantly, what value
does it ready when you get the rejection errors?
When the server is very busy, try this command:
# qmlog -nl -g status smtp | grep -v end | less
Scroll through the output, and you'll see the values change as smtp
sessions start and end. What are the values at the end of the listing
(shift-G)?
Also, I should have asked already, what are the load levels you're
seeing on the host? (top or uptime will show you load) I'm assuming
they're a bit greater than one. If they're less than one (0.something),
then we could be on the wrong track here.
Be sure to look at these things when the server is typically busy.
You have plenty of ram, so increasing the number of spamd processes will
probably help. Try changing your /var/qmail/supervise/spamd/run file as
such:
#!/bin/sh
exec /usr/bin/spamd -x -u vpopmail -s stderr \
--max-children=20 \
--min-children=5 \
2>&1
Then run 'qmail-spam restart' to restart the spamd daemons.
In this file only have this information
#!/bin/sh
exec /usr/bin/spamd -x -u vpopmail -s stderr 2>&1
That is the stock/default configuration. We want to bump up the
max-children and min-children settings, to hopefully get rid of the
warning messages you were seeing in your spamd log. Replace what you
have (2 lines) with what I've posted (5 lines). Be sure there are no
spaces after the \ characters. Then restart spamd (qmail-spam restart).
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]