Re: Force SMTP server disconnect

2008-11-17 Thread Victor Duchovni
On Mon, Nov 17, 2008 at 02:06:48PM -0500, Wietse Venema wrote: > > The upstream is not caching connections because it is not > > delivering to multiple hosts. The farm is seen as a unique IP, > > highly available, to which all messages must be delivered. > > You need PARALLEL delivery, not connec

Re: Force SMTP server disconnect

2008-11-17 Thread Wietse Venema
Diego Castillo: > > I think anvil is a poor fit for the problem description. > > Anvil monitors plant-wide rates, and may trigger client > > backoff, while the OP wants a single connection re-use > > limit, which does not require an external counting process, > > each SMTP server alrwady has all th

Re: Force SMTP server disconnect

2008-11-17 Thread Victor Duchovni
On Mon, Nov 17, 2008 at 07:13:25PM +0100, Diego Castillo wrote: > > I think anvil is a poor fit for the problem description. > > Anvil monitors plant-wide rates, and may trigger client > > backoff, while the OP wants a single connection re-use > > limit, which does not require an external counting

RE: Force SMTP server disconnect

2008-11-17 Thread Diego Castillo
> I think anvil is a poor fit for the problem description. > Anvil monitors plant-wide rates, and may trigger client > backoff, while the OP wants a single connection re-use > limit, which does not require an external counting process, > each SMTP server alrwady has all the data it needs locally.

Re: Force SMTP server disconnect

2008-11-17 Thread Wietse Venema
rds, > > > Diego > > -Original message----- > From: [EMAIL PROTECTED] > Sent: lunes, 17 de noviembre de 2008 17:29 > To: postfix-users@postfix.org; [EMAIL PROTECTED] > Subject: Re: Force SMTP server disconnect > > On Mon, Nov 17, 2008 at 11:07:44AM -0500,

Re: Force SMTP server disconnect

2008-11-17 Thread Victor Duchovni
On Mon, Nov 17, 2008 at 11:06:32AM -0600, Noel Jones wrote: > Anvil sounds like the wrong tool for this job - it will defer > all connections from the client until the rate falls below the > level you specify. If your goal is to force connections to go > to another server in your farm, anvil m

Re: Force SMTP server disconnect

2008-11-17 Thread Victor Duchovni
On Mon, Nov 17, 2008 at 05:58:16PM +0100, Diego Castillo wrote: > Noel, Wietse, Victor, > > Thanks for your replies. Here goes the description of my problem: > > I have a pool of postfix servers receiving SMTP traffic from an upstream MTA > via a load-balancer. Both the MTA and the LB are out of

Re: Force SMTP server disconnect

2008-11-17 Thread Noel Jones
Diego Castillo wrote: Noel, Wietse, Victor, Thanks for your replies. Here goes the description of my problem: I have a pool of postfix servers receiving SMTP traffic from an upstream MTA via a load-balancer. Both the MTA and the LB are out of my control; the MTA may not be a postfix, and the LB

RE: Force SMTP server disconnect

2008-11-17 Thread Diego Castillo
CPT-DATA series... Regards, Diego -Original message- From: [EMAIL PROTECTED] Sent: lunes, 17 de noviembre de 2008 17:29 To: postfix-users@postfix.org; [EMAIL PROTECTED] Subject: Re: Force SMTP server disconnect On Mon, Nov 17, 2008 at 11:07:44AM -0500, Wietse Venema wrote: > > I don'

Re: Force SMTP server disconnect

2008-11-17 Thread Victor Duchovni
On Mon, Nov 17, 2008 at 11:07:44AM -0500, Wietse Venema wrote: > > I don't want to force a retry at the client side, I want to force > > the client to stop reusing the connection and open a new one from > > time to time. Ideally after a max number of messages, if not possible > > after a TTL for t

Re: Force SMTP server disconnect

2008-11-17 Thread Wietse Venema
Diego Castillo: > >> I would like to force my Postfix SMTP server to disconnect from > >> time to time, in order to prevent its clients from reusing the > >> same connection for too long or for too many transactions. > > > > If you want to hang up a connection then you need an smtpd > > policy daem

Re: Force SMTP server disconnect

2008-11-17 Thread Noel Jones
Diego Castillo wrote: I would like to force my Postfix SMTP server to disconnect from time to time, in order to prevent its clients from reusing the same connection for too long or for too many transactions. If you want to hang up a connection then you need an smtpd policy daemon that sends a 42

RE: Force SMTP server disconnect

2008-11-17 Thread Diego Castillo
>> I would like to force my Postfix SMTP server to disconnect from >> time to time, in order to prevent its clients from reusing the >> same connection for too long or for too many transactions. > > If you want to hang up a connection then you need an smtpd > policy daemon that sends a 421 reply.

Re: Force SMTP server disconnect

2008-11-17 Thread Wietse Venema
Diego Castillo: > Hi all, > > I would like to force my Postfix SMTP server to disconnect from time to > time, in order to prevent its clients from reusing the same connection for > too long or for too many transactions. > > After reading through the documentation and searching the archives of thi

Force SMTP server disconnect

2008-11-17 Thread Diego Castillo
Hi all, I would like to force my Postfix SMTP server to disconnect from time to time, in order to prevent its clients from reusing the same connection for too long or for too many transactions. After reading through the documentation and searching the archives of this mailing list, I can not find