Re: [exim] conditional routing

Inizio della pagina
Delete this message
Reply to this message
Autore: Steve Zeng
Data:  
To: 'Heiko Schlittermann', exim-users
Oggetto: Re: [exim] conditional routing
> How do you differentiate these clients. Based on the IP address they connect from? Based on some login they use?
Based on client ip addresses.

Thanks,
Steve

-----Original Message-----
From: exim-users-bounces+szeng=paypros.com@??? [mailto:exim-users-bounces+szeng=paypros.com@exim.org] On Behalf Of Heiko Schlittermann
Sent: Friday, May 30, 2014 6:08 AM
To: exim-users@???
Subject: Re: [exim] conditional routing

Hi,

Steve Zeng <SZeng@???> (Do 29 Mai 2014 19:45:51 CEST):
> Greetings!
>
> We have exim 4.63 setup as a smart host for all internal networks. There are 2 types of email clients.


4.63 isn't one of the latest, may be you should update to some more recent version. (sounds like some older Debian..)


> Some clients are allowed to send emails to selected domains Other
> clients are allowed to send emails to world wide


How do you differentiate these clients. Based on the IP address they connect from? Based on some login they use?

> I read about relay_to_domains and relay_from_domains but could not figure out how to achieve the conditional routing. Will that work for what I want to do?


Not just out of the box. relay_to_domains is a user defined domain list, used in the example config. relay_from_domains does not exist in the example config. But relay_from_hosts, I believe, as a host list in the example config.

If you answer the above question, we might be of some help :)

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
--