Seems like this should work. Can't figure out why it doesn't

warn    message = X-Blackhole: Yes
    log_message = REJECTED - Subject in personal block list - $h_X-Recipient
        condition = ${if 
exists{/etc/exim/control/domains/${domain:$h_X-Recipient:}/users/${local_part:$h_X-Recipient:}/subjectblock.txt}\
{${lookup{$h_Subject:}wildlsearch{/etc/exim/control/domains/${domain:$h_X-Recipient:}/users/${local_part:$h_X-Recipient:}/subjectblock.txt}{yes}{no}}}\
    {no}}

The file subjectblock.txt has one line in it:

test

And the subject is "test" which should match. But I'm going brain dead 
trying to figure it out.

Thanks in advance.



-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to