Re: [Exim] Mail filter problems

トップ ページ
このメッセージを削除
このメッセージに返信
著者: 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.

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