[exim] Run filter from ACL

Góra strony
Delete this message
Reply to this message
Autor: Marlon
Data:  
Dla: exim-users
Temat: [exim] Run filter from ACL
Hi,

I use transport_filter on local_delivery transport to execute osbf-lua
spam filter(see below):

local_delivery:
    driver = appendfile
    check_string = ""
    create_directory
    delivery_date_add
    directory = ${home}/Maildir/
    directory_mode = 700
    envelope_to_add
    return_path_add
    group = mail
    maildir_format
    maildir_tag = ,S=$message_size
    message_prefix = ""
    message_suffix = ""
    mode = 0600
    quota = ${lookup{$local_part}lsearch*{/etc/mail/quota_usr}{$value}{4M}}
    quota_size_regex = S=(\d+)$
    quota_warn_threshold = 75%
    transport_filter = OSBF_LUA_DIR/spamfilter.lua --udir $home/osbf-lua



How I can run spamfilter.lua using ACL´s to filter classified messages
later using a router or a .forward

Regards,

Marlon