Re: [Exim] Alias file help

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Mr P
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Alias file help
According to the FAQ (see Q0401)

         virtual:
           driver = aliasfile
           domains = virt.dom.ain
           file = /usr/lib/aliases.virt
           search_type = lsearch


         default_virtual:
           driver = smartuser
           domains = virt.dom.ain
           transport = special_delivery
           new_address = postmaster@???
        no_more


My Current config file for the aliases is set up like this:

system_aliases:
driver = aliasfile
file = /etc/aliases
search_type = lsearch
# user = exim
file_transport = address_file
pipe_transport = address_pipe

The FAQ refers to it as Virtual: and default virtual... So what should
the smartuser entry to put in as? I tried just putting it in as default
virtual and no mail was getting sent until I removed it again.

Thanks :)

>
>The lsearch* approach to aliases works well when you are handling
>virtual domains and the address to which it resolves is *not* in the
>same domain.
>
>What you probably want is a smartuser director, placed after all the
>other directors, that pickes up unresolveable addresses.
>
>[I am going to upgrade the FAQ on this one, when I get a moment.]
>