I couldn't see anything about this in the documentation, but maybe I'm
missing something obvious.  Is there a way to negate rules?  Normally,
of course, if a match is found, the action is taken.  With a negation,
the action would only be taken if the match _wasn't_ found; if it was,
processing would continue.

The specific application I can think of is where you want in effect an
assert, to declare that something should be the case, and if it isn't,
take a certain action (say, hold or drop).  I, for instance, get email
to a wide variety of addresses, but have no interest in seeing something
that isn't addressed properly, something very common with bulk emails (I
mean what appears in the To: header, rather than what is specified in
teh SMTP RCPT TO:<...> envelope, since obviously that must have been
valid for me to see it).  Further, it can ameliorate dictionary attacks
in certain cases (turning the incoming email to a hold or drop instead
of a bounce).

The negation option would seem to make sense with almost all
source/matches, for instance:

        # If the mail isn't addressed to a valid recipient, drop it.
        to-list -not ~/.tmda/lists/valid-recipients drop

Does such functionality exist?  If not, wouldn't it make sense?

-- 
   Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/
 __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/  \ 
\__/ You are a beautiful surprise
    -- India Arie
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to