Hi,
I have problems installing Exim, especially when it comes to execute a PERL
subroutine or accessing MySql, and I have the same error when I use the
relevant commands/expressions.
My problem is very simple. I have a .forward file from which I would like to
call a PERL subroutine.
# Exim filter
${perl{my_subroutine}}
That's it. When I receive an email, the filtering starts as the debugging
outputs show, and the following error is returned:
Filter: start of processing
Filter: end of processing
Filter error: unknown filtering command "${perl{my_subroutine}}" near
line 14 of filter file
search_tidyup called
However when I do from the prompt:
exim -be // Carriage Return
>${perl{my_subroutine}}
The PERL script is called and executed properly with the expected result (it
is just a subroutine with a PRINT). However,
exim -d12 -bf /usr/exim-3.22/filters/.forward < mail2
returns exactly the same error message as previously mentioned.
As written in the documentation, I wrote the following in the configure file
which is properly recognized:
message_filter = /usr/exim-3.22/filters/.forward
perl_at_start = true
perl_startup = do '/etc/my_routines.pl'
In the local makefile, I wrote:
EXIM_PERL=perl.o
And I have tried to work around this for two days and I am desperate since I
have tried heaps of solutions.
If you know how to work around this, please mail me @ malik.baichi@???.
Thanks.
Regards.