Re: [exim] Wrong 'envelope-to'-handling (possible bug?)

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Thomas
Dátum:  
Címzett: Tony Finch
CC: exim-users
Tárgy: Re: [exim] Wrong 'envelope-to'-handling (possible bug?)
Hi Tony,

--On Dienstag, 1. Februar 2005 21:11 +0000 Tony Finch <dot@???> wrote:
> On Tue, 1 Feb 2005, Thomas wrote:
>>
>> My problem: Normaly the Envelope-to-Header should contain
>> "test1@???" and not "admin@localhost" (for further use with
>> fetchmail). I found no way to configure exim to write the correct
>> 'envelope-to'-header.
>
> Envelope-To contains the envelope recipient address on the message at
> incoming SMTP time, not the final delivery address. Perhaps you want
> something like headers_add = Delivered-To: $local_part@$domain.


thanks for your fast answer.

My mailserver is the final mailserver. In this case the envelope recipient
address must be the same like the final delivery address.

The following debug-output shows, that the recipient address is
'test1@???' (expanded address from alias-file). Or use exim the
"alias"-address instead of the expanded addresses as recipient addresses?

---cut---
21:06:46 11114 internal_search_find: file="/etc/exim/alias"
21:06:46 11114   type=lsearch key="admin"
21:06:46 11114 file lookup required for admin
21:06:46 11114   in /etc/exim/alias
21:06:46 11114 ---2 Get 0x9d6acb0   104      lsearch.c  249
21:06:46 11114 ---2 Rst 0x9d6acc2    **      lsearch.c  289 32800
21:06:46 11114 ---2 Get 0x9d6acc8    24       search.c  519
21:06:46 11114 lookup yielded: test1@???
21:06:46 11114 ---0 Get 0x9d66918    24       string.c  347
21:06:46 11114 ---0 Rst 0x9d668a2    **       expand.c 4409 32800
21:06:46 11114 expanding: ${lookup{$local_part}lsearch{/etc/exim/alias}}
21:06:46 11114    result: test1@???
21:06:46 11114 expanded: test1@???
21:06:46 11114 file is not a filter file
21:06:46 11114 parse_forward_list: test1@???
21:06:46 11114 extract item: test1@???
21:06:46 11114 ---0 Get 0x9d668a8    24        parse.c  625
21:06:46 11114 ---0 Get 0x9d668c0   200      deliver.c  102
21:06:46 11114 ---0 Get 0x9d66988    24       string.c  347
21:06:46 11114 ---0 Get 0x9d669a0    24       string.c  347
21:06:46 11114 system_aliases router generated test1@???
21:06:46 11114   errors_to=NULL transport=NULL
21:06:46 11114   uid=unset gid=unset home=NULL
21:06:46 11114 routed by system_aliases router
21:06:46 11114   envelope to: admin@localhost
21:06:46 11114   transport: <none>
---cut---


Thomas