Autor: Malcolm McLean Datum: To: exim-users Betreff: Re: [exim] Logging full address on local delivery
On 2012/10/24 20:40, Jeremy Harris wrote: > On 10/24/2012 05:23 AM, Malcolm McLean wrote:
>> 2012-10-23 13:00:42 1TQcDw-0005TD-1O <=
>> external@???=mail.somewhere.com (test) [10.0.1.15] P=smtp
>> S=1035 id=test@??? james@???
>> 2012-10-23 13:00:42 1TQcDw-0005TD-1O => james
>> <james@???>F=<external@???>R=virtual_user
>> T=local_delivery S=1215
>> 2012-10-23 13:01:16 1TQcdu-0005gF-BY <=
>> external@???=mail.somewhere.com (test) [10.0.1.15] P=smtp
>> S=1035 id=test@??? james@???
>> 2012-10-23 13:01:16 1TQcdu-0005gF-BY => james
>> <james@???>F=<external@???>R=virtual_user
>> T=local_delivery S=1215
>>
>> From the above, I have no way of knowing which local james account
>> was delivered to, especially without knowing if james@???
>> was actually a redirect to james@???. There could even be a
>> james@??? that is compeltely unrelated to the james account
>> at either example1.com or example2.com.
>
> A log_selector including all_parents might help with the last.
I enabled all_parents, and it shows the full address, but only when
there is an alias. I still cannot differentiate between
james@??? and james@??? where neither is an alias and
both deliver locally (through dovecot-lda).
> It happens to not be a problem for me as my local transports are
> writing to file,
> and the path (which is logged) includes both domain and localpart for
> the account.
> I assume your local_delivery transport is smtp.
My local_delivery transport is piping through dovecot-lda to keep the
dovecot index up to date and to run through the dovecot managed sieve
rules. However, exim still sees it as a local delivery, or that the
domain is in local_domains, and insists on only showing the local_part.