Re: [exim] error when testing .mailfilter

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: John Burnham
Fecha:  
A: exim users
Asunto: Re: [exim] error when testing .mailfilter
> I have two questions:
>
> 1.
> [hanno: /home/hanno]>sudo cat .mailfilter
> #Exim filter
> echo "hallo"
>
> [hanno: /home/hanno]>sudo exim -bf .mailfilter < 
> Maildir/.Michael/cur/ 
> 1172559191.M952493P1292V00000063I003E8897_0.HannosServer,S=1529:2,S
> Return-path taken from "Return-path:" header line
> Return-path = mail@???
> Sender      = root@???
> Recipient   = root@???
> Testing Exim filter file ".mailfilter"

>
> Filter error: unknown filtering command "echo" near line 2 of filter
> file
>
> what am I doing wrong ?
>

Well, the obvious answer to this one is you're using a command that isn't in the
Exim filtering language. Have a look at
http://www.exim.org/exim-html-4.66/doc/html/filter.html#id2506717

J