Re: [Exim] Default recipient (was: Virtual domain setup redu…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Josh Siegel
Datum:  
To: Khyron
CC: exim-users
Betreff: Re: [Exim] Default recipient (was: Virtual domain setup redux)
Below the localuser router, place the following

system_aliases2:
    driver = redirect
    allow_fail
    allow_defer
    qualify_preserve_domain
    data = ${lookup{@$domain}lsearch{/etc/aliases}}
    user = mail
    file_transport = address_file
    pipe_transport = address_pipe


Then, you can just put
  @khyron.com          foo
in your /etc/aliases file




Khyron wrote:

>So if I remove the virtual domain setup for khyron.com
>(since it is already the qualify_domain), how can I define
>a default recipient for e-mails addressed to the khyron.com
>domain?
>
>Example, if khyron.com is setup to be the local domain, like
>so:
>
>domainlist local_domains = @ : khyron.com : dsearch;/local/etc/exim/virtual
>
>and
>
>qualify_domain = khyron.com
>
>and I update the system aliases accordingly, how can I define
>a default recipient for the khyron.com domain? Going back to
>my original example in the e-mail with Subject: "Virtual domain
>setup", I want ice@??? to be accepted for delivery and
>delivered locally to a default user account. How can I accomplish
>this if khyron.com is no longer a virtual domain?
>
>
>-= Life is like an exploded clown. It's really funny until you figure
>                       out what just happened. =-

>
>--
>
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>