CVSROOT:        /cvs
Module name:    src
Changes by:     gil...@cvs.openbsd.org  2011/07/21 17:29:25

Modified files:
        usr.sbin/smtpd : control.c parser.c parser.h ramqueue.c runner.c 
                         smtpctl.8 smtpctl.c smtpd.h 

Log message:
- update smtpctl.8 to reflect reality
- bring back 'smtpctl schedule' and 'smtpctl remove' to life

Things you should know:

The ramqueue data structure is not finished yet and lacks an envelope tree
for evpid lookups. I wanted to wait until I'm done but too many people are
affected by not being able to reschedule envelopes, this is a quick fix.

So right now there's an O(rrible) complexity as both commands will perform
a (possibly aborted) queue scan leading to O(n). I will make that O(log n)
soon.

Also, smtpctl remove no longer supports removing an entire message, I will
fix that very soon too.

Reply via email to