[exim] using aux acls -- why is control not passing correctl…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: snowcrash+exim-users
Data:  
Para: exim-users
Asunto: [exim] using aux acls -- why is control not passing correctly?
hi,

i've Exim 'talking' to remote clamd/spamd daemons over TCP,

    av_scanner = clamd: 10.0.0.105 3310
    spamd_address = 10.0.0.105 783


i'm trying to clean-up my eximconf using aux acls.

problem is, as config'd below, exim submits OK to CLAMD, but never
submits again/subsequently to SPAMD.

i suspect i may NOT be using 'endpass' correctly ...

any suggestions as to why my submit to SPAMD never occurs?

thanks!

fyi, in my exim.conf, i've,

    addresslist no_virus_scan  = no_virus@???
    addresslist no_spam_scan   = no_spam@???



and, in my DATA acl, i've

    accept
         !senders        = +no_virus_scan
         endpass
         acl             = aux_acl_virus

    
    accept
         !senders        = +no_spam_scan
         endpass
         acl             = aux_acl_spam



where, later, i've def'd


#----------------------------------------------------------#
aux_acl_virus:

    deny
             set acl_m9      = REJECT[virus] : ($malware_name)
             message         = $acl_m9
             log_message     = EXIM: $acl_m9
             malware         = *


    accept
#----------------------------------------------------------#


#----------------------------------------------------------#
aux_acl_spam:
    warn
             set acl_m9      = ham
             spam            = mail
             set acl_m9      = spam
             condition       = ${if !eq {$acl_m0}{accept}{true}}
             control         = fakereject
             logwrite        = :reject: Rejected spam (score
$spam_score): $spam_report


    deny     message         = REJECT[spam] - \
                               Classified as spam (score $spam_score)
             spam            = nobody:true
             condition       = ${if > {$spam_score_int}{20} {1}{0}}


    warn
             message         = X-SpamLevel: \
                               ${if def:spam_bar {$spam_bar}}
    warn
             message         = X-SpamStatus: \n\t\
                               ${if def:spam_report {$spam_report}}
             logwrite        = :main: Classified as $acl_m9 (score $spam_score)



    accept
#----------------------------------------------------------#