Re: [Exim] Smart POP

Pàgina inicial
Delete this message
Reply to this message
Autor: John Robinson
Data:  
A: Nick, exim-users
Assumpte: Re: [Exim] Smart POP
At 18:53 06/08/2002 +0100, Nick wrote:
>This is a multi-part message in MIME format.
>--
>[ Picked text/plain from multipart/alternative ]
>Hello,
>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?
>TIA


Easy, add *@ after your lookup method, e.g.
data = ${lookup{$local-part@$domain}
lsearch*@{/etc/exim/virtusers}{$value}{:fail:}}

Cheers,

John.

--
John Robinson                                     Tel +44 7771 784058
  Though my soul may set in darkness / It will rise in perfect light;
   I have loved the stars too fondly / To be fearful of the night.