Re: [exim] IMAP local transport, Delivery logging question

トップ ページ
このメッセージを削除
このメッセージに返信
著者: David S. Madole
日付:  
To: exim-users
CC: Exim Users Mailing List
題目: Re: [exim] IMAP local transport, Delivery logging question
From: "Philip Hazel" <ph10@???>
>
> On Wed, 7 Dec 2005, David S. Madole wrote:
>
>> I am populating addr->host_list in a transport setup routine, a
>> pointer to
>> which is set into tblock->setup during the init routine of the
>> transport. My
>> understanding is that this is called before the subprocess is forked.
>
> Unfortunately not (see around line 1699 in deliver.c). It is called
> before the new subprocess changes its uid/gid, but after the fork.


Of course, I see that now, not sure how I missed it. So it looks like I
have two options if I want this to work:

1. Set the host using the router option instead of a transport option.

2. Modify deliver.c to print the host information for local transports
from host_used if it is set, like it already does for remote transports.

Seems like the second option is the better choice. Thanks for the help.

David