Re: [Exim] 4.30-6.amwoody.1 + spamassassin problem

Etusivu
Poista viesti
Vastaa
Lähettäjä: Andy Firman
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] 4.30-6.amwoody.1 + spamassassin problem
On Mon, Mar 15, 2004 at 03:57:47PM -0800, Tor Slettnes wrote:
<snip>

Got it all working thanks. Found out that exim4 runs as
Debian-exim user so that was a little puzzling to me for a while.

One more question. First, here is the last part of my ACL
so maybe others can use this:
------------------------------------------------
accept hosts = 127.0.0.1:+relay_from_hosts

   deny  message = $found_extension files are not accepted here
      demime = bat:btm:cmd:com:cpl:dll:exe:lnk:msi:pif:prf:reg:scr:vbs:url:zip


   deny  message = Serious MIME defect detected ($demime_reason)
      demime = *
      condition = ${if >{$demime_errorlevel}{2}{1}{0}}


   warn message = X-Spam-Score: $spam_score ($spam_bar)
     condition = ${if <{$message_size}{80k}{1}{0}}
     spam = Debian-exim:true


   warn message = X-Spam-Report: $spam_report
     condition = ${if <{$message_size}{80k}{1}{0}}
     spam = Debian-exim:true


   warn message = X-New-Subject: *SPAM* $h_subject:
     spam = Debian-exim


accept
--------------------------------------------------------
>
> - Configure the 'acl_check_data' ACL in Exim to use Exiscan-ACL:
>
> /etc/exim4/conf.d/acl/40_exim4-config_check_data:

<snip>

>      |    accept
>      |        spam       = mail
>      |        delay      = 20s
>      |        control    = fakereject
>      |        logwrite   = :main: Classified as spam (score $spam_score)
>      |        logwrite   = :reject: SPAM: $spam_report
>      |
>      |    # accept otherwise
>      |    accept
>      |        logwrite   = :main: Classified as ham (score $spam_score)
>      |
>      |    # --- END EXISCAN configuration ---
>      +--------------------------------------------------------------



Can you explain what that last part of your config actually does?

The delay, fakereject, and logging things I don't understand.

Thanks,
Andy