Am 29.06.2012 14:58, schrieb nezinomi asmenys:
> Hi,
>
> How can I make Exim stop forwarding spam? I am using 'exim4u' config file.
>
> http://www.1232px.lt/exim.conf
>
> Domas
yes of course, enable the spamassasin config part and set it to filter
mails. i.e. like this.
spamd_address = 127.0.0.1 783
# Run SpamAssassin, but allow for it to fail or time out. Add a
warning message
# and accept the mail if that happens. Add an X-Spam-Flag: header if
the SA
# score exceeds the SA system threshold.
warn condition = ${if eq{$authenticated_id}{} {1}{0}}
spam = nobody/defer_ok
add_header = X-Spam-Flag: YES
# And reject if the SpamAssassin score is greater than ten
#
deny condition = ${if >{$spam_score_int}{10}} {1}}
message = Your message scored $spam_score SpamAssassin
point. Report follows:\n\
$spam_report
You may want to add some more rules for it, i.e. a whitelist based on
domainnames etc. etc.
You can find more examples in the spamassassin and exim docs.