CVSROOT: /cvs Module name: src Changes by: e...@cvs.openbsd.org 2012/11/20 02:47:46
Modified files: usr.sbin/smtpd : control.c queue.c scheduler.c scheduler_ramqueue.c smtpctl.8 smtpctl.c smtpd.c smtpd.h tree.c Log message: Allow "smtpctl show queue" to run in "online" mode if the smtpd server is running. The scheduler sends the runtime state of each envelope to the queue process which loads the envelope, fills the runtime bits and sends the envelope back to the client. Iteration over the envelope set happens in small chunks to make the request interruptible and to allow the server to keep doing its job in the meantime. Adpat "smtpctl schedule-all" to schedule the messages one by one using the same iteration mechanism. Document "smtpctl monitor" and "smtpctl show queue". ok gilles@