Re: [Exim] filter can't write to logfile

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: dman
Cc: exim-users
Asunto: Re: [Exim] filter can't write to logfile
On Sun, 23 Dec 2001, dman wrote:

>     2001-12-22 22:25:54 16HzGs-0001Mj-00 == dsh8290@exim_qualified_domain
>         D=userforward defer (-11): error in filter file:
>             logwrite command not permitted when filter not running as user


For security, Exim allows logwrite only when it knows it has changed uid
to be the local user.

> With this message, exim is run from procmail which is run through my
> .forward file by sendmail.


... which is a hacked-up environment for which Exim was not designed.

The way these tests are done is different in Exim 4, but I cannot say
offhand whether it would work in your situation or not.

> Another not related question, can I use exim to add a Lines: header
> (if it is not already there) like procmail is doing now?


Exim can add headers via the headers_add option for transports and
directors and routers.

Without knowing what a Lines: header contains, I cannot say whether you
could add what procmail does.

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