[exim] System Filters

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Gareth Hastings
Dátum:  
Címzett: exim-users
Tárgy: [exim] System Filters
Hello,

I'm trying to match domains in system filter. I current have a text file
with a list of domains in it called /etc/exim/test/gdh which contains:

dom1.co.uk
dom2.co.uk

So far I've been testing my filter from the command line using exim -be.

exim -be
'${lookup{gareth@???}wildlsearch{/etc/exim/test/gdh}{yes}{no}}'

So far this fails because there isn't any wildcard pattern matching. If
I change my file gdh so it reads

*dom1.co.uk
*dom2.co.uk

Then this matches fine! I can't do this because the file is using in a
domain list within Exim. Is there a way to match this without modifying
the file?



Thanks


Gareth