* Jaroslaw Grzabel <ja...@meil.me>:
> I had a problem with rate limiting in postfix in last week, and I had to
> disable it. I don't know why but I set up rate limiting per IP and it
> looks like it didn't count rates correctly. Let me shed a lit a bit for
> my problem.
> 
> My company decided to limit a number of messages per day per IP. That's
> why we run anvil and limit 1000msg/24h/IP, so I put into main.cf:
> 
> smtpd_client_event_limit_exceptions = /etc/postfix/ratelimiting

"Clients  that  are  excluded from connection count, connection rate,
or"... "excluded".

> !aaa.bbb.ccc.ddd/29

This means: Don't exclude aaa.bbb.ccc.ddd/29 from rate limiting, i.e.
enforce rate limiting for aaa.bbb.ccc.ddd/29.

> 0.0.0.0/0

This means: Exclude the whole world from rate limiting.

> I presume syntax in exclude list is incorrect or I don't understand how
> anvil works at all.

I think you need Postfix 2.4 or later to work with that bang-style
notation.


Cheers
Stefan

Reply via email to