[Exim] exim and bogofilter -- something goes wrong

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Michael V. Sokolov
Fecha:  
A: exim-users
Asunto: [Exim] exim and bogofilter -- something goes wrong
Sirs, i'm using exim 4.20 and bogofilter from freebsd ports with following
configure:

bogofilter_router:
domains = *
no_verify
# the next line looks for X-flag to see if the mail has been scanned
condition = ${if !def:h_X-flag: {true }}
driver = accept
transport = bogofilter_filter

(this router comes first one)

bogofilter_filter:
driver = pipe
command = /usr/local/sbin/exim -oMr spam-scanned -bS
use_bsmtp = true
# next line adds the X-flag so we will later know mail has been scanned
headers_add = X-flag: true
transport_filter = "/usr/local/bin/bogofilter -d /usr/local/etc/.bogofilter
-l -p -e"
return_fail_output = true
home_directory = "/tmp"
log_output = true
return_path_add = false

And after Exim received message i can see only

 1029  ??  Is     0:00.01 /usr/local/sbin/exim -bd -q30m (exim-4.20-1)
 1030  ??  I      0:00.03 /usr/local/sbin/exim -q (exim-4.20-1)
 1031  ??  I      0:00.01 /usr/local/sbin/exim -q (exim-4.20-1)
 1032  ??  S      0:00.16 /usr/local/sbin/exim -q (exim-4.20-1)
 1033  ??  I      0:00.05 /usr/local/sbin/exim -oMr spam-scanned -bS
(exim-4.20-1)
 1034  ??  I      0:00.00 /usr/local/sbin/exim -q (exim-4.20-1)
 1035  ??  S      0:01.33 /usr/local/bin/bogofilter -d
/usr/local/etc/.bogofilter -l -p -e
 1051  ??  I      0:00.03 /usr/local/sbin/exim -Mc 19nHIA-0000Gj-HG
(exim-4.20-1)
 1052  ??  S      0:00.15 /usr/local/sbin/exim -Mc 19nHIA-0000Gj-HG
(exim-4.20-1)
 1053  ??  S      0:00.05 /usr/local/sbin/exim -oMr spam-scanned -bS
(exim-4.20-1)
 1054  ??  I      0:00.00 /usr/local/sbin/exim -Mc 19nHIA-0000Gj-HG
(exim-4.20-1)
 1055  ??  S      0:01.29 /usr/local/bin/bogofilter -d
/usr/local/etc/.bogofilter -l -p -e



and nothing in log files.

bogofilter standalone works correctly, all paths are correct. Any suggestions?


--

Michael V. Sokolov, SA/Helpdesk