[Exim] filter from spam

Pàgina inicial
Delete this message
Reply to this message
Autor: Michael N. Shibaev
Data:  
A: EXIM
Assumpte: [Exim] filter from spam
    Hello,
I want to use filtering for my users to prevent mailing from some spam hosts.
Example of user .forward file (in user's home dirctory):

># Exim filter
>
>.    if $header_from: contains "@spam.site"
>    then
>        seen finish
>    endif


Configuration of userforward director from exim.conf:

>userforward:
> driver = forwardfile
> require_files = +$home:+$home/.forward
> file = .forward
> current_directory=/tmp
> no_verify
> no_expn
> check_ancestor
> filter
> file_transport = address_file
> pipe_transport = address_pipe
> reply_transport = address_reply
>


    But filter don't work - email from spam.site comes to user.
    Who can help me?


Shibaev Michael