Re: [Exim] syntax_errors_to and filter files

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Ephraim Silverberg
CC: Exim Mailing List
Sujet: Re: [Exim] syntax_errors_to and filter files
On Sun, 11 Feb 2001, Ephraim Silverberg wrote:

> My configuration defines user forward files as follows:
>
>     userforward:
>       driver = forwardfile
>       file_transport = address_file
>       pipe_transport = address_pipe
>       reply_transport = address_reply
>       suffix = -*
>       suffix_optional
>       no_verify
>       check_ancestor
>       check_local_user
>       file = .forward
>       syntax_errors_to = postmaster
>       filter

>
> However, when a mangled ~/.forward is encountered, the message is deferred:
>
>   LOG: 0 MAIN
>     == ephraim@??? D=userforward defer (-11): error in filter file:
>        unknown filtering command "lgfile" near line 10 of filter file

>
> but _no_ message is sent to 'postmaster' informing him about the syntax error
> in the user's forward file.
>
> What am I doing wrong?


You must set skip_syntax_errors for syntax_errors_to to take effect.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.