Re: [Exim] Smart POP

Pàgina inicial
Delete this message
Reply to this message
Autor: Matt Bernstein
Data:  
A: Nick
CC: exim-users
Assumpte: Re: [Exim] Smart POP
At 18:53 +0100 Nick wrote:

>If I wanted to have all mail for a domain going to one account (I know
>that's not a good idea) except for a few users how would I go about this?
>
>Sendmail virtusertable may look like:
>
>@we-love-spam.com    spam
>user1@???    user1
>user2@???    user2

>
>Anyone give me any pointers on how would I do this with Exim?


look up lsearch*

virtual_alias:
driver = redirect
allow_defer
allow_fail
data = ${lookup{$local_part}lsearch*{/home/virt/${domain}/aliases}}
domains = dsearch;/home/virt/
qualify_preserve_domain
retry_use_local_part
# file_transport = address_file
# pipe_transport = address_pipe