Re: [Exim] Mail filter problems

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Sander Smeenk
Fecha:  
A: exim-users
Cc: mark_campbell
Asunto: 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