Re: [exim] exim running on 2 different ports with 2 differen…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Heiko Schlittermann
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] exim running on 2 different ports with 2 different ips
MadTh <madan.feedback@???> (Di 25 Mai 2010 21:00:30 CEST):
> Hi,
>
>
> Is it possible to have exim running( single instance) on 2 different ports
> with 2 different ips with different rules (i.e we can accept only mail from
> say appriver on 1 ip and the other ip accepts from all) , if required we can
> force the remote host to connect to one particular port/ip.


Yes. There is an expansion variable telling you the incoming port
($received_port). And an other variable telling you the incoming
interface ($received_ip_address).

Based on this you can have different sets of ACL.

acl_check_rcpt: <here some expansion based on your $received_port and
                $received_ip_address>


    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -