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.