Re: [exim] Exim to use Mailscanner whitelist

Top Pagina
Delete this message
Reply to this message
Auteur: Phil Pennock
Datum:  
Aan: Justin Tan
CC: exim-users
Onderwerp: Re: [exim] Exim to use Mailscanner whitelist
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:       *@domainname.com  yes
> From:   *@fromdomainname.com and     To:     *@todomainname.com       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