Thanks for the response.

On Mon, 1 Mar 2004, Chris Stone wrote:

> I add a block like the following to the plugins that I want whitelisting
> honored in:
>
>   # return if whitelisted
>   return (DECLINED) if $transaction->notes('whitelisthost');
>   return (DECLINED) if $transaction->notes('whitelistclient');
>   return (DECLINED) if $transaction->notes('whitelisthelo');
>   return (DECLINED) if $transaction->notes('whitelistsender');
>   return (DECLINED) if $transaction->notes('whitelistrcpt');
>
> I do this for most of the plugins that I use. I do not do it for the clamav
> plugin since I want that one to run regardless of the whitelisting status.

        When I got no immediate feedback, I did pretty much the same
thing. Even though "return OK" still doesn't work, the above does, with
the advantage that you can fine tune things. For example, even though it
might be whitelisted, I still want to reject viruses :-)

        Mind you, I'd still like to know why "return OK" doesn't do what's
advertised, and how it might be fixed.

-- 
Roger Walker
"HIS Pain - OUR Gain"

Reply via email to