On 28.06.19 12:03, hg user wrote:
I did investigate a bit and was able to link spikes in emails received on
the external MTAs to spikes in messages queued in amavisd.
As soon as I receive a mailing list/newsletter kind of email addressed to
several hundreds recipients and the message size is more than 70kb, the
messages starts to queue up.
A message I was able to isolate is 94kb, has text and html part and
processing via command line takes about 6 seconds, I received 500+ of them.
Due to unsubscribe urls containing the mail address, all messages have
different hashes
6 seconds message scanning is quite fast.
I have set up razor,pyzor,dcc,dnsbl timeouts to 20 seconds to improve
acurracy (maybe marginally, but I don't care).
If you receive that much mail often, you need faster computer.
Maybe sa-compile would help you a bit, but only with CPU usage, network
checks need time (and they are effective so don't mess them up).
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Atheism is a non-prophet organization.