Re: [Exim] Logging problem (no deliver "=>" in log) (2.) AND…

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: G.-B. Hauck
CC: exim-users
Assumptes nous: RE:SOLVED [Exim] Logging problem (no deliver "=>" in log) (2.) AND"USER="-Problem
Assumpte: Re: [Exim] Logging problem (no deliver "=>" in log) (2.) AND "USER="-Problem
On Thu, 20 Jul 2000, G.-B. Hauck wrote:

> The "external" exim:
> 2000-07-18 14:00:28 exim 3.13 daemon started: pid=10473, -q10m, listening
> for SMTP on port 26
> 2000-07-18 14:00:50 13EW3O-0002j2-00 <= root@??? H=localhost
> (server1.local) [127.0.0.1] P=esmtp S=477 id=E13EW3O-0002j0-00@???
> for gbhauck@???


<and nothing further, though the mail is transferred>

Is this a permissions problem?

> Second (other) Problem:
> Exim is working/transfering and so i installed (in my outgoing/port 26 exim)
> a system-wide filter (as in FAQ 9810/11) for saving outgoing mails in a
> file. My filter-File:
> # Exim filter      <<====== diese Zeile NICHT AENDERN ODER LOESCHEN !

>
> if error_message then finish endif
> if
>   first_delivery and
>   $h_from: contains lmt-berlin.de
> then
>   unseen save
>     /tmp/georg-test-${substr_0_7:$tod_log}
> endif

>
> It works ONLY IF I DON'T CHANGE THE USER (in the transport-definition). The
> file is owned by mail.mail - but i would like to put it in the
> "sekretary"-Homefolder :-|
> If i change the user, no file is written (if the file already exists, no
> data is appended)...


That definitely looks like a permissions problem. You need to set
message_filter_file_transport to point to a special transport, and then
set user= on that transport to the user you want.


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