CVSROOT:        /cvs
Module name:    src
Changes by:     e...@cvs.openbsd.org    2012/08/18 09:39:26

Modified files:
        usr.sbin/smtpd : bounce.c 

Log message:
Limit the number of bounce sessions running at the same time.  When
committed, a bounce is put on a runnable list of bounces. This list
is drained to enqueue as much bounces as possible within the limit.

This avoids DoS'ing the server when lots of bounces are enqueued at
startup.

While there, allow new envelopes to be added to a bounce until the
the very last moment (i.e. when the list of recipients is written).

ok gilles@ chl@

Reply via email to