[prev in list] [next in list] [prev in thread] [next in thread]
List: exim-users
Subject: [exim] How to analyze the to header for my name
From: Nathan Huesken <exim () lonely-star ! org>
Date: 2009-01-24 0:51:59
Message-ID: 20090124005159.GA20234 () SamZwo
[Download RAW message or body]
Hi,
I notice the following:
The to-header is in this form.
To: {Name} <{local}@{domain}>
When {domain} is my eMail-domain (which is not the case for mailinglist mails e.E.)
- When Real mail has a {name} it contains my first or last name
- Spam mail mail has a {name} it does not conatein my first nor my last name
- Real as well as spam mail can not have any {name}
So I would like to do something like this (Pseudocode):
if {domain}==my_domain
if {Name} contains Nathan or Huesken
accept
if {Name} is not empty
increase_spam_score
But I have no Idea how to do that.
Maybe someone can get me startet.
- How can I check if the To: header contains something specific?
- How can I do nested tests?
Thanks!
Nathan
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic