On Sat, Nov 16, 2024 at 05:04:32PM +1100, Phil via Postfix-users wrote:
Is default_extra_recipient_limit not limiting the number of recipients in a
given message ?
On 16/11/24 17:12, Viktor Dukhovni via Postfix-users wrote:
No. And, what did you have in mind anyway?
- Limiting the recipient count of incoming SMTP message envelopes?
- Limiting the recipient count of outbound SMTP deliveries
(splitting the envelope for larger messages by doing multiple
deliveries each with at most that many recipients)?
On 16.11.24 17:17, Phil via Postfix-users wrote:
My concern is a customers trying to send email to 100s of recipients
and getting blocked for bulk mailing so
- Limiting the recipient count of outbound SMTP deliveries
This is what postfwd can do, which Wietse already advised.
you can configure postfwd as postfix policy server and configure multiple rules
for different authenticated clients, IP addresses etc.
postfix options
smtpd_client_auth_rate_limit
smtpd_client_connection_rate_limit
smtpd_client_message_rate_limit
smtpd_client_new_tls_session_rate_limit
smtpd_client_recipient_rate_limit
and
smtpd_client_event_limit_exceptions
can do similar, bot only for IP addresses and single time unit.
Postfwd supports combination of usernames, IP addresses and multiple limits.
So you can limit number of messages, limit of recipients
Note that directives like default_extra_recipient_limit and
default_destination_rate_delay apply mail that is already in your queue, not
incoming mail.
--
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.
Linux - It's now safe to turn on your computer.
Linux - Teraz mozete pocitac bez obav zapnut.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org