[Exim] Exim 3.35 and Razor

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Simon Barr
Fecha:  
A: Exim Users
Asunto: [Exim] Exim 3.35 and Razor
Hello all,

Has anyone here successfully got Exim and Razor working together? I've
been trying as per the instrctions included with razor-agents-contrib-1.02.

I have created the razor-check.pl and modified my exim.conf as well as
created the razor user.

if I test razor-check.pl using:

simon@debian:~/antispam$ cat sample.txt | ./razor-check.pl

Must be Spam
simon@debian:~/antispam$

It appears to work OK with no errors, I added the "Must be spam" bit to the
perl script to give some indication that it was detecting the spam. Next
I modified my exim.conf and made changes as suggested in the razor-contrib
files. After correcting some typo's Exim fired up and sat waiting as per
normal.
When I tried to send some mail to see if everthing was working I get the
following in exim_mainlog:

2002-05-30 15:05:58 17DQYw-0000qL-00 <= root@??? U=root P=local
S=328 T="test-spam"
2002-05-30 15:05:59 17DQYw-0000qL-00 ** simon@??? D=razor_check
T=razor_check_pipe: Child process of razor_check_pipe transport returned 1
from command: /home/razor/razor-check.pl
2002-05-30 15:05:59 17DQYx-0000qV-00 <= <> R=17DQYw-0000qL-00 U=exim P=local
S=1189 T="Mail delivery failed: returning message to sender"
2002-05-30 15:05:59 17DQYw-0000qL-00 Error message sent to
root@???
2002-05-30 15:05:59 17DQYw-0000qL-00 Completed
2002-05-30 15:06:00 17DQYx-0000qV-00 ** root@??? D=razor_check
T=razor_check_pipe: Child process of razor_check_pipe transport returned 1
from command: /home/razor/razor-check.pl
2002-05-30 15:06:00 17DQYx-0000qV-00 Frozen (delivery error message)

What does "Child process of razor_check_pipe transport returned 1 from
command: /home/razor/razor-check.pl" mean? The script appears to work fine
standalone, it
only fails when being passed a message from Exim.

Has anyone got this to work? Any suggestions gratefully received.

Thanks,

Simon Barr
Systems Engineer

Chelsing Assemblies Ltd
Tel: 01992 554-566
Fax: 01992 553-644
E-mail: simon.barr@???