On 2008-01-23 at 01:19 -0800, Justin Tan wrote:
> I would like to configure exim to use Mailscanner whitelist. 
> I have tried 
> exim -be ${lookup{\NFrom\:\t
> $hostname\N}lsearch{/etc/MailScanner/rules/spam.whitelist.rules}}$value
> It does not gives any hope. 
> 
> /etc/MailScanner/rules/spam.whitelist.rules look like this:
> #######################################################
> FromOrTo:       [EMAIL PROTECTED]  yes
> From:   [EMAIL PROTECTED] and     To:     [EMAIL PROTECTED]       yes
> #######################################################
> 
> Can anyone help me regarding this

I can't think of a way to do this natively with Exim's config language.
Can't you use a script to build lookup rules in a format more suitable
for Exim?

Otherwise, I suspect that you need to look into building Exim with the
optional embedded Perl interpreter and using that.

-Phil

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

Reply via email to