[Exim] different configuration for different users

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Leonardo Boselli
Ημερομηνία:  
Προς: Exim-users
Αντικείμενο: [Exim] different configuration for different users
Ha have a server with 2 nics,
eth0 has x.x.x.14/24
ath0:3 has x.x.x.28/24
eth1 has 192.168.143.14/23
eth1:2 has 192.168.140.14/24
What i want:
that accesses from eth0 see exim3 with configuration A
that accesses from eth0:3 see exim4 with configuration B
that accesses from eth1 (only 192.168.143.0/24) see exim3 with
configuration A
that accesses from eth1 (lower 256) see exim4 with configuration
C
that accesses from eth1:2 see exim4 with configuration D

Is there a way (other than using iptables redirecting to different
ports) to accomplish this (if possible at inetd. level ... or I have to
use a different program), if necessary i can drop the exigence to
use different exim version (I could use the same for all, also note
that basically configuration A and C D vary only on relaying
"permission" section ! , B instead is quite different )
--
Leonardo Boselli
Nucleo Informatico e Telematico del Dipartimento Ingegneria Civile
Universita` di Firenze , V. S. Marta 3 - I-50139 Firenze
tel +39 0554796431 cell +39 3488605348 fax +39 055495333
http://www.dicea.unifi.it/~leo