Re: [exim] configuring Spamassassin with Exim

Góra strony
Delete this message
Reply to this message
Autor: Mathieu CATTIN
Data:  
Dla: exim-users
Temat: Re: [exim] configuring Spamassassin with Exim
Le lundi 10 octobre 2005 à 14:19 +0200, Robert Cates a écrit :
> Hi,
>
> I've just tried to integrade Spamassassin (3.0.4) with my Exim (4.43) server
> on my Debian 3.0 machine, but I'm not sure I got it right.
>
> I googled and ended up configuring going by what I found at:
> www.win.tue.nl/~martijna/Debianstuff/.
>
> My questions are:
>
> 1) Where should the "spamcheck_router:" go exactly? I have it at the end of
> my routers. Below is my router/transporter section of my exim.conf.
> 2) Do any of you have a better setup/configuration?

You can use the spamd version of spamassassin, which is a daemon, so
that the script does not get executed each time a message is received
(faster).
Simply add :
spamd_address = 127.0.0.1 783
to your config file for exim to use spamd.
You will also need to uncommente some lines in demime_acl.
> 3) This/my setup is using Maildir. Should I use the Maildir/.Inbox.Spam/
> folder setup with a POP3 connection? I mean, will Outlook 2000 with a POP3
> account retrieve my mail from a "Spam" folder under my Inbox?

By using a system_filter spamassassin can rewrite emails subject to add
for instance "SPAM" in it, then allowing you not to drop spam at all,
rather letting your client (like outlook) sorting the message marked as
spam.
> 4) How would I setup a filter in Outlook 2000 to send spam mail to it's own
> folder, like Outlook XP/2003 does?

By creating a SPAM folder and creating a rule to redirect the messages
containing "SPAM" in the subject to this folder (that's how I use it,
works really well) .
>

No need for routers or transports with this config, all is in the acl.
Hope this helps,
regards,
phbc50