[Exim] user filter (.forward) - Help needed

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Slawomir Orlowski
Datum:  
To: exim-users
Betreff: [Exim] user filter (.forward) - Help needed
Hello,
I have RH 6.1 with compiled form source exim ver 3.3.36.
Everything seems to work except filtering capabilities or I do not know how
to use them.

When I put following .forward file in user darek home directory
"
# Exim filter
if $h_subject: contains "something"
then text "I do not like such ambiguous letters with world $h_subject "
seen finish
endif
"
I understand that letter with world "something" should not be deliver.
But instead all letters are lost whatever subject.

It seems to me that testing of filter is not working too ???

[darek@server exim-3.36]$ /usr/local/exim/bin/exim -bf /home/darek/.forward
\
> -f someone@???


--I have to press enter twice-----

Warning: no message headers read
Sender = someone@???
Recipient = darek@???

Testing Exim filter file /home/slawek/.forward
Pressing enter adds only blank lines.
I would really appreciate If somebody could help me.
Best regards

Slawomir Orlowski