On Wednesday, October 22, 2003, at 20:16, you wrote:
> One solution to this is to deliver all mail but deliver mail that you
> eventually plan to 'drop' to a "Dropped" folder, mail that you will
> bounce to a "Bounced" folder, etc.  Then, regardless of the setting of
> ACTION_HEADER_INCOMING, you can see the results of your rules.  Once
> you're satisfied that everything is working as it should, you can
> change those delivery rules to really 'drop' or 'bounce' or whatever.

How about a set of extra vars to represent this:

BOUNCE_ACTION
HOLD_ACTION
OK_ACTION
DROP_ACTION
etc

Each of which can be set to a filter style action such as:

BOUNCE_ACTION="deliver ./Maildir/bounced"
DROP_ACTION=hold

etc

The user can then define how they want each action to perform. Actions
would be logged as normal (as though the real action had taken place)
perhaps with a bracketed message giving the assigned action as well,
but the action taken would be the assigned action rather than the real
one. Hope that made sense!

A simple test set up could then set all the ACTION vars to hold or
perhaps to deliver to action-named maildirs.

Marcus

-- 
Marcus Williams -- http://www.quintic.co.uk
Quintic Ltd, 39 Newnham Road, Cambridge, UK

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

Reply via email to