Re: [Exim] Mail filter problems

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Sander Smeenk
Date:  
À: exim-users
CC: mark_campbell
Sujet: Re: [Exim] Mail filter problems
Quoting Mark Campbell (mark@???):

> if $h_from: contains "user@???" and $h_to: is "my_user@my_domain" then
> if $h_from: contains "blah.com" and $h_to: is "my_user@my_domain" then
> I've been banging my head off this problem for a few days no with no clear
> solution in mind. Any pointers are appricated. [can I be cc'd]


Not sure if this will help, just what I would try:

Try $h_from: matches "blah.com" instead of contains or is.
You can then use full PCRE regexen to match what you want.

HTH,
Sander.
--
| Why won't an answering machine ever answer any questions?
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D