[Exim] lsearch in .forward

トップ ページ
このメッセージを削除
このメッセージに返信
著者: edouard.boucher
日付:  
To: exim-users
題目: [Exim] lsearch in .forward
hi,

I am trying to save all mail comming from some domains in a separate
file.
I'd like to do this with a .forward and not a router, because i am not
root on the target machine.

so far, i tryed :

if ($h_from: ends "test.com")
then
    save file


but because there is several domains, and i would like to have them in
another file, i tryed :
if ($h_from: ends lsearch:/home/edouard/domains)
then
    save file


but this doesnt work and gives not error with exim -bf


where am i wrong ?


Thank you very much for your help


Edouard