Re: [Exim] relay 2 users lists for 2 servers

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tommy Lacroix
Date:  
À: Paulo Henrique Baptista de Oliveira, exim-users
Sujet: Re: [Exim] relay 2 users lists for 2 servers
> From: "Paulo Henrique Baptista de Oliveira"
<baptista@???>
>
> Is it possible to have a users_list_1(bob, paul, fred) that relay for
> server 1 and a user_list_2 (bill, peter) that relay for server 2 using
> exim?


Sure. Create 2 smartuser directors that match you local users:

server1_director:
driver=smartuser
local_parts=bob:paul:fred
domains=yourdomain.com
transport=server1_transport

server2_director:
driver=smartuser
local_parts=bill:peter
domains=yourdomain.com
transport=server2_transport

Create 2 dumb smtp transports that match your 2 servers:

server1_transport:
driver=smtp
hosts=server1.yourdomain.com
hosts_override=true

server2_transport:
driver=smtp
hosts=server2.yourdomain.com
hosts_override=true

__
Tommy Lacroix ( runtime@??? )
Unix/Linux System Administrator, CAM Internet
Web: http://www.cam.org
Tel: +1 514 529-3000
Fax: +1 514 529-3300