Re: [Exim] Bogofilter and Exim-4.30

Góra strony
Delete this message
Reply to this message
Autor: Ian Armstrong 
Data:  
Dla: Stanczak Slawomir 
Temat: Re: [Exim] Bogofilter and Exim-4.30
On Wed, 3 Mar 2004 17:37:53 +0100 (CET), Stanczak
Slawomir <sws@???> wrote:

|Hello,
|
|I have a big problem with integration Exim-4.30 and Bogofilter.
Exim-4.30
|+ Exiscan + ClamAV work perfecty.
|
|I would like to block spam messages. I don't want to use SpamAssassin,
|only Bogofilter.
|
|I get the same error under Solaris and Debian.
|
|When I run procmail from exim.conf (global) Bogofilter works very good.
|When I run procmail from ~/.forward file (not from exim.conf), I get
|additionally following message from mail daemon:
|
|A message that you sent could not be delivered to one or more of its
|recipients. This is a permanent error. The following address(es) failed:
|
|  pipe to |/usr/local/bin/procmail
|    generated by sws@???

|
|The following text was generated during the delivery attempt:
|
|------ pipe to |/usr/local/bin/procmail
|       generated by sws@??? ------

|
|My .procmailrc:
|---------------
|
|PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
|MAILDIR=$HOME/mail
|BOGOFILTER_DIR=$HOME/.bogofilter
|
|:0fw
|* < 200000
|| bogofilter -u -p -e -v

|
|:0e
|{ EXITCODE=75 HOST }
|
|### Bogofilter - spam
|
|:0 c:
|* < 200000
|* ^X-Bogosity: Yes
|| bogofilter -s

|
|:0:
|* < 200000
|* ^Subject:.\*\*\*SPAM\*\*\*
|bf-spam
|
|### Bogofilter - no-spam
|
|:0 c:
|* < 200000
|* ^X-Bogosity: Unsure
|| bogofilter -n

|
|:0:
|* < 200000
|* ^Subject:.\?\?\?UNSURE\?\?\?
|bf-unsure
|
|Is there a solutions for Exim and Bogofilter integration ?
|
|Can you send example .procmailrc file or exim.conf sections ?
|
|Thanks for help
|
|S³awek
|
|
|--
|
|## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##


If anyone has a reply to this post, please send it to the list. I would
also like to know how to integrate Bogofilter with Exim.


      Ian Armstrong /--------------------------------/
     /-------------/     ika@???         /
    /                http://www.expressmail.dk     /
   / Brøndshøj 14, Rønne, 3700, Bornholm, Denmark /
  /----------------------------------------------/