Autor: dave Data: Para: Wakko Warner, exim-users CC: Assunto: Re: [exim] Exim Newbie Seeks Help ;)
Wakko Warner wrote:
>>>/etc/aliases by default does not use the domain part, just the local part.
>>>If you remove the @domain.com, it should work.
>>>
>>>You would need to change the lookup from $local_part to $local_part@domain
>>>to get this functionality. I did this myself, however, I called the file
>>>domainaliases and kept aliases as a global.
>>>
>>>
>>>
>>Unfortunately exim doesn't seem to be paying much attention to my
>>/etc/aliases file!
>>
>>I have done as you have suggested above but this makes no difference.
>>
>>/usr/exim/bin/exim -v -bt test@???
>>test@??? is undeliverable:
>> Unknown user
>>
>>
>
>Could you post your router configuration? Appears that it may be using
>another file.
>
>You could use the debugging (see man page for -d)
>
> Is this what you mean?:
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part@$domain}lsearch{/etc/aliases}}
# user = exim
file_transport = address_file
pipe_transport = address_pipe