CVSROOT: /cvs Module name: src Changes by: e...@cvs.openbsd.org 2012/10/25 03:51:08
Modified files: usr.sbin/smtpd : mda.c queue.c Log message: Make the mda request the message fd from the queue when needed, instead of pushing the fd with the envelope. This allows the mda to deal itself with session limits. Envelopes are sent at full rate to the mda, which buffers them on per-user queues, or sends them back for rescheduling if it already has too many pending envelopes. Delivery sessions are created (within per- user and global limits) to drain the queues. This makes the server handle envelope bursts more efficiently. ok gilles@