Tim Legant <[EMAIL PROTECTED]> writes: >> I don't think so. 'drop' doesn't add anything to a multiple >> delivery scenario. Removing it from the list yields the same >> overall result. > > Agreed. So, after the parser has done its thing, at the time a > message is matched in the filter, we probably need to do some > intelligent "massaging" of the list of actions. Or maybe we should > complain during the parse? It doesn't seem like the job of the > parser to tell you that you've done something legal but silly....
I wouldn't just remove 'drop' from the list of actions, because even though the end result is identical, it isn't technically what the user specified. Personally, I'd back away from trying to be too smart about what the user really wants, and just execute the actions as they are specified, even if that doesn't seem to make sense to us. So, if the user does: <source> <match> hold, drop, bounce 'bounce' will never be run because 'drop' got there first. If this wasn't what the user intended, at least they will learn from their mistake and not make it again. _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
