[Exim] lsearch in system-filter

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Markus Orlich
日付:  
To: exim-users
題目: [Exim] lsearch in system-filter
--
Hallo

At the moment I'm playing around with my system-filter, and I wonder, if
it's not possible to use lsearch in the filter.

The situation is as follows:
There is a file called "/usr/exim/list", with contents like
-> *.erotikxpress.com
-> *.nudesletter.com
-> *.sexe.com
[...]

and my system-filter-file (a part of it)
-> if  $h_from:  matches  partial-lserch;/usr/exim/list
->     then      fail  "Your host is blacklisted through our \
->                     internal list.\nIf you have questions \
->                     about, feel free to ask <abuse@???>"
-> endif


Now my question:
Is it possible to use lsearch in the system-filter for matching a host-
or domain-name given in the file "list"?

Markus

--
[ Content of type application/pgp-signature deleted ]
--