OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Re[2]: feature request: timeouts in smtpd

From: Wietse Venema (wietseporcupine.org)
Date: Thu Feb 01 2007 - 13:33:23 CST


Wietse Venema:
> Anton Yuzhaninov:
> > Hello, Wietse.
> >
> > > Does the poster understand that Postfix's time limits are not
> > > limiting the total duration of the DATA command, but rather, the
> > > time for each individual read/write operation?
> >
> > Yes, I understand this. But 60 seconds for each individual read/write
> > operation it is not enough for very slow connections (gsm gprs, dial-up).
>
> I don't think so.
>
> In the DATA stage, Postfix reads up to 4096 bytes at a time. With
> a 60-second time limit per read operation, this breaks only when
> the data rate falls under 68 bytes per second. This is not a
> problem with dialup, not even with with SLIP over 300 baud.

Well actually it is. 300 baud limits the rate to 30 characters/second.
Do you have 300 baud customers?

> Postfix was developed on a dialup-connected server, and my server
> is currently using its backup dialup connection again, because the
> better connection is flakey during some weather patterns.
>
> So, what is the problem with gsm gprs?
>
> Wietse
>
> > Decreasing default timeouts really need only before DATA command to
> > prevent spambots to eat all connections.
> >
> > --
> > WBR,
> > Anton Yuzhaninov
> >
> >
> >
>
>
>