On 13/04/2022 13:29, Jesper Dybdal wrote:
I use amavisd-new for the smtpd instances that receive authenticated
submission.
Are there any significant pros and cons in doing this as a pre-queue
filter (proxy) compared to doing it as a post-queue content filter?
I suspect that it doesn't really matter for a low-volume server like
mine, but I might have overlooked something.
(For unauthenticated mail from the outside, it will be a pre-queue
amavisd-milter setup.)
On 13.04.22 15:06, Dominic Raferd wrote:
Pro is that users know immediately that their email has been accepted
(or not), rather than being informed afterwards.
Con is that users might experience slow submission of emails, because
amavis (calling clamav, SA etc) may take quite a number of seconds to
decide whether to accept the incoming email. (This should not normally
be a problem for unauthenticated mail where delays are standard.)
I have applied this on one server and people were complaining that sending
mail takes much time, so I switched to post-queue for authenticated
submission.
for external e-mail I use postscreen and milters (on some networks this
requires separate IP/port for mail from outside, separate port of course
achieved via NAT)
--
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.
Nothing is fool-proof to a talented fool.