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 > lasting smtp authenticated session. There are no such controls for smtpd (unfortunately). > I could think of a few techniques to find and tear down such unwanted > connections. But I hope that maybe I did miss some global setting in > postfix of how long a single smtp session may last, regardless of what > the client (successfully) does with it. Especially since postfix as smtp > client has no many options for these kind of issues. Recently I saw a solution based on postfwd exactly for this case. They check the sasl_username to decide if the mail gets blocked. The rules are updated and loaded automatically. Dennis