Why not use exiscan and spamd?
bkw
----- Original Message -----
From: "Yann Golanski" <yann@???>
To: <exim-users@???>
Sent: Tuesday, May 13, 2003 8:34 AM
Subject: [Exim] Spamassassin and Filter files.
> --
>
> Does anyone has a example of a user filter file that would pipe the
> incoming message to spamassassin then let it run through the normal Exim
> filter delivery process? This is for a user account with spamassassin
> installed locally to that user -- I don't have root access on that
> machine.
>
> Would something like:
>
> -----
> # exim filter
>
> # What would go there?
> all new messages | spamassassin -check_the_mail
>
> # Normal delivery
> if X-spam contains "This is spam"
> then save /dev/null
> else
> then save /usr/home/yann/.exim/mailbox
> -----
>
> The FAQ and the archives were not terribly usefull for this and
> neither was the spamassassin site/documentation.
>
> --
> yann@??? -=*=- www.kierun.org
> PGP: 009D 7287 C4A7 FD4F 1680 06E4 F751 7006 9DE2 6318
> IRC: nick kierun, server spod.uk.amiganet.org, channel #sanctus
> NNGS: nick kierun, server nngs.cosmic.org, port 9696.
> --
> [ Content of type application/pgp-signature deleted ]
> --
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##
>