On Friday 20 October 2006 18:22, Marlon took the opportunity to say:
>
> I use transport_filter on local_delivery transport to execute osbf-lua
> spam filter(...):
>
> How I can run spamfilter.lua using ACL´s to filter classified messages
> later using a router or a .forward

You can't really filter mail in ACL's. There are two specialised mechanisms 
that allow you to pass the whole message to an external program and get some 
information back, namely the spam and malware conditions, but spam only works 
with SpamAssassin and malware can only check if a particular malware was 
found. There are a number of wishes in the Bugzilla database for new string 
expansion items that would allow the full message to be passed to an external 
command, and the output from that command to be read back, in a generalised 
way.

Your best bet is perhaps to write a custom local_scan() function.

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

Attachment: pgpKebkU1lYPl.pgp
Description: PGP signature

-- 
## 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