Comment 27 for bug 12446

Revision history for this message
In , Karl Schmidt (karl-xtronics) wrote : Re: Bug#293207: bogofilter: last two versions caused db errors

Micah Anderson wrote:

>
>
> Can you provide the configuration you use with exim to plug bogofilter
> in? I am particularly interested because version 4.34-10 of exim
> depends on libdb3 and exim 4.44-2 depends on libdb4.2 so I am curious
> to know if exim uses libdb to interface with bogofilter in any way.
>
> micah

I can use libdb - but I'm not using any db lists.

Here are the bogofilter config areas:

begin routers

#-----------------------------------------------------------

# Bogofilter will add X-Bogosity header to all incoming mail.
# This usually goes right after the dns_lookup router and
# before any local deliver routers. Location is important!
bogo_router:
     domains = +local_domains
     no_verify
     condition = ${if !eq {$received_protocol}{bogodone} {1}{0}}
     driver = accept
     transport = bogo_transport

<snip>
begin transports
#------------------------------------------------
# Bogofilter will add X-Bogosity header to all incoming mail.
# This can go anywhere in the transport section, usually at
# the very end after address_reply
bogo_transport:
   driver = pipe
   command = /usr/sbin/exim4 -oMr bogodone -bS
   use_bsmtp = true
   headers_add = X-Bogofilterd: true
  transport_filter = /usr/bin/bogofilter -d /etc/bogofilter -l -p -e -u
   return_fail_output = true
   group = Debian-exim
   user = Debian-exim
   home_directory = "/tmp"
   current_directory = "/tmp"
   log_output = true
   return_path_add = false

----------------------------------------------------------------
Karl Schmidt EMail <email address hidden>
Transtronics, Inc. WEB http://xtronics.com
3209 West 9th Street Ph (785) 841-3089
Lawrence, KS 66049 FAX (785) 841-0434

If it is worth doing, it is worth doing for money.
----------------------------------------------------------------