On 2013-09-07 08:17, Mark Constable wrote:
> On 07/09/13 16:10, Anders wrote:
>> How about using iptables and rate-limit? and log+reject the (uid) when
>> exceeded? something like :
>>
>> -m state --state NEW -m recent --set
>> -m state --state NEW -m recent --update --seconds 3600 --hitcount 100 -j 
>> NFLOG  --nflog-prefix "SMTP count exceeded "
>> -m state --state NEW -m recent --update --seconds 3600 --hitcount 100 -j 
>> REJECT
> I really like this idea. If anyone gets something like this to actually
> work would they mind posting a complete working example please.
>
>

Just a question, does locally originating smtp (mail) actually pass 
through the network before courier gets it? I.e local socket or 
something like that. Then it would be easy to do. Otherwise we only see 
the outgoing mail leaving/relayed by courier. Possibly, L7 filters could 
scan the outgoing mail, detect the UID and apply rate limiting.

~A

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to