On Monday 23 February 2004 22:02, Richard Kettlewell wrote:
Graham Trott gt@pobox.com writes:
Any clues would be most welcome.
I know next to nothing about Postfix, but two suggestions:
check that the #! line on /home/filter/postfix-filter.sh is right; getting this wrong can produce 'No such file or directory' for programs that do exist.
strace it and see what it is trying to do leading up to that 'No such file or directory' message (look for an ENOENT).
Thanks for the help. It wasn't the above but seems to have been another of those get-it-exactly-right-or-else things. In this case it appears the colon at the end of
-o content_filter=filter:
shouldn't be there. I was copying from the notes on sourceforge/bogofilter and was taking everything as gospel. It looked suspicious, but hey, who am I to know - it's all Greek or worse.
Anyway, the system now appears to be doing a good job of recognizing and tagging spam.
-- GT