[Pkg-exim4-users] Exim configuration values not accepted

Haines Brown
Sun, 24 Jun 2007 00:56:26 -0000

> On Sat, Jun 23, 2007 at 04:22:47PM -0400, Haines Brown wrote:
> > > On Fri, Jun 22, 2007 at 11:39:42PM -0400, Haines Brown wrote:
> > > You need to run exim4-daemon-heavy. And you need to adapt your
ACLs.
> >
> > I was not clear what you meant by "adapt" my ACLs.
>
> Because they are not even scanned.

I don''t understand. If a message is assigned a spam score, must it not
have been scanned?

> > > I suggest that you visit the upstream wiki for documentation.
> >
> > I assume you refer to http://www.exim.org/eximwiki/. It pointed to the
> > document above and a FAQ.
>
> The wiki front page has a link to
> http://www.exim.org/eximwiki/EximContentScanning which has much more
> documentation like that. How many seconds did you spend in searching?

I spent hours pouring through this, the FAQ and other documents. The
best I could figure out was to add this to
/etc/exim4/conf.d/40_exim4-config_check_data:


# put headers in all messages (no matter if spam or not)
warn  spam = nobody:true
      add_header = X-Spam-Score: $spam_score ($spam_bar)
      add_header = X-Spam-Report: $spam_report

# add second subject line with *SPAM* marker when message
# is over threshold
warn  spam = nobody
      add_header = Subject: *SPAM* $h_Subject:

# reject spam at high scores (> 6)
deny  message = This message scored $spam_score spam points.
      spam = nobody:true
      condition = ${if >{$spam_score_int}{120}{1}{0}}

But messages over a score of 6 are not rejected.

>
> >  I looked at exim4 -bF <filename> option to test system filter,
but
> >  got lost, and assume that my filter is working, and problem is only
> >  that messages with spam scores over 5 are not being rejected.
>
> Exiscan has exactly nothing to do with a system filter.

I didn''t mention Exiscan. I thought it had been replaced by
EximContentScanning. The document you directed me to seems largely to
do with Exiscan.

--

       Haines Brown, KB1GRM