[ NOTE: I posted this here several days ago, and as far as I can
        tell, no one replied.  I'm retrying ... ]

I want to be able to direct messages that didn't go through TMDA into a
given user's pending queue.  This will allow him/her to manage those
messages via tmda-cgi.

In the tmda-users list, I recently posted a hack of tmda-rfilter called
"tmda-hold" which does that, but in writing that, it occurs to me that a
more general capability might be useful: to be able to specify an action
on the command line of tmda-filter, which will cause the message on
stdin to have that action unconditionally performed on it.

For example:

  tmda-filter --action=hold

     put the stdin-based message into the pending queue

  tmda-filter --action=ok

     deliver the message normally (for example, in case the
     message would be handled otherwise by the user's TMDA
     rules)

  tmda-filter '--action=deliver=~/mbox.spam'

     send the message to the spam mailbox

  ... etc. ...

These commands could appear in filter specs for non-TMDA MDA's.

In all cases, the user would have to be TMDA-enabled, of course.

If this seems like a useful capability, I'll write the patches to
tmda-filter and tmda-rfilter, and post them here.

Thoughts?

Thanks in advance.

-- 
 Lloyd Zusman
 [EMAIL PROTECTED]
 God bless you.

_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to