Re: [exim] Need help integrating spamassassin

Inizio della pagina
Delete this message
Reply to this message
Autore: Michael Sullivan
Data:  
To: Jason_Meers
CC: exim-users
Oggetto: Re: [exim] Need help integrating spamassassin
On Mon, 2007-05-14 at 18:16 +0100, Jason_Meers wrote:
> Michael Sullivan wrote:
> > First off, let me apologize for asking this question. If I was better
> > at RTFM I'm sure I wouldn't have to ask this here. That, and you all
> > probably get asked this question all the time. Can anyone point me to a
> > friendly, easy-to-understand guide for integrating spamassassin with
> > exim?
>
> Tim Jacksons guide might help.
> Just from my stats, almost 3000 other exim users have looked at or used
> his guide since January this year to setup Exim and Spamassassin.
>
> It was last updated in Nov2006 but I believe that it is still relevant
> as it was written after the re-work of Exim+SA (If anyone else on the
> list knows for sure please correct me if I'm wrong)
>
> Background info, the document and a link to Tims site can be found here:
> http://www.exim-new-users.co.uk/content/view/99/39/
>
> Thanks
> Jason_Meers
> --
> website at: http://www.exim-new-users.co.uk
> hosting by: http://www.line3.co.uk
>


I went through the guide, but my test messages did not get X-Spam
headers. Here's my acl_check_data:

acl_check_data:

  # Deny if the message contains a virus. Before enabling this check,
you
  # must install a virus scanner and set the av_scanner option above.
  #
#  deny    malware    = *
#          message    = This message contains a virus ($malware_name).


# Add headers to a message if it is judged to be spam. Before enabling
this,
# you must install SpamAssassin. You may also need to set the
spamd_address
# option above.
#

  warn    spam       = nobody
  add_header = X-Spam_score: $spam_score\n\
  X-Spam_score_int: $spam_score_int\n\
  X-Spam_bar: $spam_bar\n\
  X-Spam_report: $spam_report


# Accept the message.

accept

I had to comment out the malware bit because with it uncommented I
couldn't send mail. I googled the error, and found a thread in the
archives of this list that said that a workaround for that problem was
to put a conditional in the spam acl that would only do spam checks for
domains other than mine, but I have no idea how to do that...