Thanks for the info .. Really helpful and you have put me on the right path!
Best Regards
Robby
-----Original Message-----
From: exim-users-bounces@??? [
mailto:exim-users-bounces@exim.org] On
Behalf Of Magnus Holmgren
Sent: Thursday, July 19, 2007 12:10
To: exim-users@???
Subject: Re: [exim] Exim and Spamassasin
On Thursday 19 July 2007 11:53, Robby Balona wrote:
> I am using freebsd 6.2 and ported Exim and Spamassain. I then had to
> uncomment in the configure file, the spamd_address and the ACL rule
>
> 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
If you read chapter 40 of the documentation you can learn how ACLs work in
general (chapter 41 is about the spam condition and the $spam_* variables).
For example, changing "warn" into "deny" will cause all mail over SA's spam
threshold to be rejected (the add_header modifier becomes meaningless then).
You can add additional statements after that "warn" statement to e.g. reject
spam over 8 points ($spam_score_int >= 80) and you could add a router or a
filter rule (uncomment "allow_filter" in the userforward router to enable
Exim filters in .forward) that sorts probable spam into a separate mail
folder. The possibilities are endless.
(Why are there underscores in the header field names in the default config,
guys? Isn't that a bit nonstandard?)
--
Magnus Holmgren holmgren@???
(No Cc of list mail needed, thanks)
"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans