Re: [exim] Exim + SpamAssassin

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Odhiambo G. Washington
Data:  
Para: exim-users
Asunto: Re: [exim] Exim + SpamAssassin
* Oleksandr Samoylyk <oleksandr@???> [20041220 23:49]: wrote:
> Hi!
>
> I've problem with Exim 4.43 & SpamAssassin 3.0.2.
>
> It doesn't check emails for spam. So it's running but doesn't do its
> work.
>
> I'm running Fedora Core 1.
> I installed ClamAv.
> Exim & ClamAv worked fine together. ClamAv used to find viruses.
> Then I installed the latest SpamAssassin.
> All services have been restarted without errors.
>
> # ps aux | grep spamd
> root     18981  0.0  2.1 26560 21724 ?       S    19:16   0:00 
> /usr/bin/spamd -d -c -m 5
> root     18984  0.0  2.1 26560 21724 ?       S    19:16   0:00 spamd child
> root     18985  0.0  2.1 26560 21724 ?       S    19:16   0:00 spamd child
> root     18986  0.0  2.1 26560 21724 ?       S    19:16   0:00 spamd child
> root     18987  0.0  2.1 26560 21724 ?       S    19:16   0:00 spamd child
> root     18988  0.0  2.1 26560 21724 ?       S    19:16   0:00 spamd child

>
> # spamd -V
> SpamAssassin Server version 3.0.2
> running on Perl 5.8.3
>
> # cat /etc/mail/spamassassin/local.cf | grep "^[a-z,A-Z]"
> required_score 5.0
> rewrite_header Subject *****SPAM*****
> report_safe 1
> lock_method flock
>
> # /usr/bin/./spamassassin --lint
> Nothing.
>
> I've added the following to exim.conf:
>
> # Spam Assassin
> spamcheck_director:
>   driver = accept
>   condition = "${if and { \
>       {!def:h_X-Spam-Flag:} \
>       {!eq {$received_protocol}{spam-scanned}} \
>       {!eq {$received_protocol}{local}} \
>       {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If you choose to follow Tim Jackson's advise (which is what I'd
advise you to follow), then I'd suggest you rethink the condition
above where you appear to allow user preferences.
You may require allow_user_rules in your local.cf. It's disabled by
default.
I strongly recommend you integrate spam scanning into Exim using
exiscan-acl.


        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post