Re: [Exim] Smart POP

Pàgina inicial
Delete this message
Reply to this message
Autor: Nick
Data:  
A: John Robinson
CC: exim-users
Assumpte: Re: [Exim] Smart POP
----- Original Message -----
From: "John Robinson" <john.robinson@???>
To: "Nick" <exim@???>; <exim-users@???>
Sent: Tuesday, August 06, 2002 7:08 PM
Subject: 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.

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

details at http://www.exim.org/ ##
>


Got it working, well sort of anyway, trouble is I was getting all mail sent
to valid and non valid user accounts from all valid domains, I will keep
trying.
Nick.