How can I set a rule to scan the header of an email instead of just the subject or body, which are the choices to select. I see in the source code of some emails we receive that the X-DNSBLSite is in the header and if I can scan the header, it will prevent this from coming in.
Subject: DNS Blacklist
Hi,
when you create a new server mail rule you can select only from the options presented and as you already mentioned the mail-header is not there. Sorry.
You could create a “Before new mail arrives”-agent and place it in every mail database to do some more specific filtering. This is easily done but terrible for performance reasons.
Or you can write an addin-dll and use the C-API for your server to “catch” all mails that go through and do your filtering. This much more difficult to do.
Or you can place an SMTP-Proxy before your Lotus Notes-Mail server and set this up in a way that it “marks” the mails with a specific word in the subject. Then you can use the LN-Mail rules.
Hope some of this helps.
bye
Hynek
Subject: DNS Blacklist
Well, you can’t with the out-of-the-box mail rules, but the Domino Directory (where mail rules live) is after all just another Notes database with an open design, so strictly speaking you’re not limited to what’s already there. Have a look over at Chris Linfoot’s site http://chris-linfoot.net/ and see some terrific work he’s done with enhanced rules.