Hello,
We have a bi Xeon 3.2Ghz 4Go memory Redhat EL4 server as a relay
connected to Internet. On that server we have an advanced filter
injecting mail back into postfix 2.5.4 for the anti spam/virus (Sophos
Puremessage).
Time to time we have lot of mail in the incoming queue, "no" mail in the
active queue, the "qmgr "is very" slow and the server is very idle. We
tested the antispam/virus to see if there is a problem but the response
is very good.
When the server start to put mail in the incoming the only way we found
to stop the increase of the queue is to reduce the smtpd connection from
100 to 40, but with that it take lot of time to connect to the server.
One day we have 50000 mails in the incoming and it take lot of time to
the server (with idle cpu) to empty the queue.
qshape incoming
T 5 10 20 40 80 160 320 640
1280 1280+
TOTAL 3201 2121 937 87 11 21 23 0 0
0 1
apec.fr 2346 1813 533 0 0 0 0 0 0
0 0
hotmail.com 114 20 30 52 4 1 7 0 0
0 0
hotmail.fr 109 18 15 34 6 20 16 0 0
0 0
free.fr 99 47 52 0 0 0 0 0 0
0 0
wanadoo.fr 96 31 65 0 0 0 0 0 0
0 0
yahoo.fr 83 37 45 1 0 0 0 0 0
0 0
gmail.com 52 25 27 0 0 0 0 0 0
0 0
orange.fr 50 20 30 0 0 0 0 0 0
0 0
aol.com 21 9 12 0 0 0 0 0 0
0 0
club-internet.fr 19 6 13 0 0 0 0 0 0
0 0
noos.fr 16 2 14 0 0 0 0 0 0
0 0
neuf.fr 15 3 12 0 0 0 0 0 0
0 0
laposte.net 14 5 9 0 0 0 0 0 0
0 0
numericable.fr 12 5 7 0 0 0 0 0 0
0 0
activeware.com 11 10 1 0 0 0 0 0 0
0 0
yahoo.com 8 4 4 0 0 0 0 0 0
0 0
aliceadsl.fr 8 7 1 0 0 0 0 0 0
0 0
libertysurf.fr 7 3 4 0 0 0 0 0 0
0 0
voila.fr 6 5 1 0 0 0 0 0 0
0 0
qshape active
T 5 10 20 40 80 160 320 640
1280 1280+
TOTAL 32 0 0 32 0 0 0 0 0
0 0
hotmail.com 14 0 0 14 0 0 0 0 0
0 0
hotmail.fr 12 0 0 12 0 0 0 0 0
0 0
apec.fr 3 0 0 3 0 0 0 0 0
0 0
orange.fr 1 0 0 1 0 0 0 0 0
0 0
wanadoo.fr 1 0 0 1 0 0 0 0 0
0 0
freesurf.fr 1 0 0 1 0 0 0 0 0
0 0
/opt/pmx/postfix/sbin/postconf -n
alias_database = hash:/opt/pmx/postfix/etc/aliases
alias_maps = hash:/opt/pmx/postfix/etc/aliases
command_directory = /opt/pmx/postfix/sbin
config_directory = /opt/pmx/postfix/etc
content_filter = pmx:[127.0.0.1]:10025
daemon_directory = /opt/pmx/postfix/libexec
debug_peer_level = 2
html_directory = no
mail_owner = postfix
mailq_path = /opt/pmx/postfix/bin/mailq
manpage_directory = /opt/pmx/postfix/man
message_size_limit = 13631488
mynetworks =
192.168.0.0/16,127.0.0.0/8,83.145.110.0/26,193.41.180.105,193.41.180.106,193.41.180.104,10.1.1.0/24,10.1.10.0/24,10.1.2.0/24,195.167.194.58,195.167.194.22
newaliases_path = /opt/pmx/postfix/bin/newaliases
queue_directory = /opt/pmx/postfix/var/spool/mqueue
readme_directory = /opt/pmx/postfix/doc
recipient_delimiter = +
relay_domains = hash:/opt/pmx/postfix/etc/relay_domains
sample_directory = /opt/pmx/postfix/doc/samples
sendmail_path = /opt/pmx/postfix/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions =
permit_mynetworks,ignore_policy_error,check_policy_service
inet:localhost:4466
smtpd_error_sleep_time = 0s
smtpd_recipient_limit = 1000
smtpd_recipient_restrictions =
$default_database_type:$config_directory/denyRecipient,
permit_mynetworks, reject_unauth_destination
smtpd_sender_restrictions =
$default_database_type:$config_directory/denySender, permit
transport_maps = hash:/opt/pmx/postfix/etc/transport
unknown_local_recipient_reject_code = 550
Best regards.
Francis