Re: [Exim] Howto set up an internet email for a group of use…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: S. Ancelot
Date:  
À: robl
CC: S. Ancelot, exim-users
Sujet: Re: [Exim] Howto set up an internet email for a group of users ?
Hi,

so, when the message destination domain is not local I should look in
afile for changing sender adress , this should like the following line ,
isn't it ?
rewriting rule :

*@* "${if !eq {$domain}{$local_domain} \
{${lookup{$sender}lsearch{/etc/email-address}\
{$value}fail}\
fail}" fS

Robert Lister wrote:1

>On Fri, Aug 23, 2002 at 09:13:38AM +0200, S. Ancelot wrote:
>
>
>>Hi,
>>
>>I have got one internet email only for a group of users, I would like
>>exim to be able to select the
>>right outgoing email, depending on the target domain (localdomain or
>>internet domain)
>>
>>I would like my users to use :
>>userxxxxx@localhost when the target is a localhost user , and
>>internetemail@??? when they send an email to an internet email
>>account.
>>
>>
>
>You can do this with header rewriting. You haven't said what version you
>are using, but if you add a section (a router?) to handle your domains
>and then a section to handle external e-mail, you can get exim to re-write
>the headers as it goes to the internet.
>
>Rob
>
>
>--
>Robert Lister    -        robl@???    -    http://www.lentil.org
>                                                  tel: 07973-815198

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