著者: Sander Smeenk 日付: To: exim-users CC: mark_campbell 題目: 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.