On 23 Jan 2023, at 18:30, White, Daniel E. (GSFC-770.0)[AEGIS] 
<daniel.e.wh...@nasa.gov> wrote:
> 
> “replace Amavis with something faster”
>  Any suggestions ?

Start by tuning amavis, see the end of 
https://www.ijs.si/software/amavisd/README.postfix.html - if you do not have 
enough copies and they don’t match what you have set in master.cf then you are 
going to suffer badly.

For example have something like this in master.ch

amavisfeed unix    -       -       n        -      10     lmtp
    -o lmtp_data_done_timeout=120
    -o lmtp_send_xforward_command=yes
    -o lmtp_tls_note_starttls_offer=no
    -o disable_dns_lookups=yes
    -o max_use=20

and a matching entry in amavisd.conf

$max_servers = 10;            # num of pre-forked children (2..30 is common), -m
$max_requests = 5;            # num of requests before we reap a child

the $max_requests makes sure that amavisd “freshens” the children often - it 
helps especially if you have lots of DKIM stuff happening.

Arrigo 

Reply via email to