Steve Fatula: >> Is there is an easier or more elegant way someone might be using?
Wietse: > With Postfix 2.7 and later use a per-sender FILTER action without > next-hop destination: > > ? ? send...@example.com??? FILTER sender-class-1: > > In master.cf specify a sender-class-1 SMTP client. > > ? ? sender-class-1? ? ? unix? -? ? ? -? ? ? n? ? ? -? ? ? -? ? ? smtp > > In main.cf specify sender-class-1_destination_rate_delay=1 to limit > the per-sender rate to one message per second. Steve Fatula: >Won't this mean I would need a separate class for every sender? And >if I have 1,000 senders (which I do)? My limit needs to be by sender, >so, any given sender can send a certain amount, say 100 per hour >which is just an example. So, 5 senders could send 500 per hour >combined. > >If so, is there any other solution? No matter what MTA you use, it will need to know a) how many the sender has sent and b) what the limit for that sender is. Therefore, some per-sender configuration is unavoidable. Wietse