> > and I also consider to reject mails that have a random
> > display name added to my email
>
> How do you do that?
>
> I'd sure love to reject e-mail that says To: Joe Smith
> ([EMAIL PROTECTED]) but what about mail where they don't enter any
> name?
>
> Baby, bathwater...

You do it with a *really* *ugly* set of rules and a meta.  Or well, you can
only reject if you are doing it at the frontend, and as you point out
rejecting may not be appropriate.  But I do add, I forget, 3-5 points for
getting my name wrong if you include a display name.

# ----------------------------------------
# mail is not really to me
# Look for a string of [["]First Last[ ]["]] [<[EMAIL PROTECTED]>]
# the name at the front is optional, but if it is there it better be right.

header  __TO_ME    ToCc =~ /(?:^|\>,|\>|,)\s*(?:\"?\'?First
.*?\b?Last\s*\'?\"?\s*\<?(?i:[EMAIL PROTECTED])\>?|\<?(?i:[EMAIL 
PROTECTED])\>?)/
meta  NOT_TO_ME   (!__TO_ME)
describe NOT_TO_ME   Mail is not addressed to me

Reply via email to