How to limit the time/number of messages an smtp authenticated session may last

2012-07-27 Thread Christian Rohmann
Hello postfix-users, I'm looking for a way to limit the time or the number of messages an established smtp authenticated session can be used for. I already have rate limiting (anvil for anti-dos and policy delegation for maintaining a quota per hour) in place. But if I lock a (hacked) user

Re: How to limit the time/number of messages an smtp authenticated session may last

2012-07-27 Thread Reindl Harald
Am 27.07.2012 13:55, schrieb Christian Rohmann: Hello postfix-users, I'm looking for a way to limit the time or the number of messages an established smtp authenticated session can be used for. I already have rate limiting (anvil for anti-dos and policy delegation for maintaining a quota

Re: How to limit the time/number of messages an smtp authenticated session may last

2012-07-27 Thread Robert Schetterer
Am 27.07.2012 13:55, schrieb Christian Rohmann: But if I lock a (hacked) user account and prohibit further smtp auth logins, an established connection can still be used to send messages. thats not an easy question, allready established connection maybe a problem ever, is restart postfix an

Re: How to limit the time/number of messages an smtp authenticated session may last

2012-07-27 Thread Christian Rohmann
Hey, thanks for your reply. On 27.07.2012 14:01, Robert Schetterer wrote: if you identified the user and ip allready why not use some firwalling too or do you search for automated solutions ? Yes. Since the disconnecting spammers is automated, I want to fix this glitch with the already

Re: How to limit the time/number of messages an smtp authenticated session may last

2012-07-27 Thread Dennis Guhl
On Fri, Jul 27, 2012 at 01:55:33PM +0200, Christian Rohmann wrote: [..] I know postfix has quite a few options to configure the connection reuse behavior as client, using the smtp_connection_cache_-options, but how would I approach my problem with postfix being an smtp server and a long