Hi mouss,
Thanks for your advice. Dom0 (host), a workstation, is connected to ISP at fixed IP, e.g. 111.222.333.444. All domUs (guests), having their own hostname, on the Xen box are running postfix and dovecot on Debian Etch OS. They can work if I subcribe a range of fixed IPs forwarding their port 25 to the local IP of respective domUs. Each domain points to its fixed IP on the MX record of its Registrar's website My venture is if I have only one fixed IP 111.222.333.444 connected to Dom0 and all domains are pointing to it on MX of the Registrar's website. Can dom0 route the incoming mails to their own servers, domUs, based on names domain and hostname? --- mouss <[EMAIL PROTECTED]> wrote: > Stephen Liu wrote: > > Hi folks, > > > > > > Postfix > > Dovecot > > Xen > > Debian Etch - Host (desktop, running Gnome) > > Debian Etch - Guest > > > > > > I have >10 domUs (guests) running on the Xen box. All of them > running > > on Debian Etch base without X. I'm prepared making following test; > > > > > > Build all them as mail server with different hostname > > > > > > Would it be possible running all domains pointing at same > > external/fixed IP so that incoming mails can be delivered to their > own > > mail server according to hostname without maintaining a range of > > external/fixed IPs. > > not clear to me. do you mean this: route the recipient to the right > postfix? if so, you can use transport_maps: > > domain7.example relay:[10.9.8.7] > domain6.example relay:[10.9.8.6] > ... > > in the "primary" postfix (the one that gets the connections from > outside). If I understand your advice correct. Hostname won't come into the play, only domain. Can I run a domU (a guest) as "primary" postfix with port 25 forwarded to it? Or I have to install postfix on dom0 (host)? I suppose relay:[10.9.8.7] is the local IP of domU (guest). Add them to /etc/postfix/main.cf? I have following line; virtual_transport = dovecot on main.cf. Does it matter? TIA B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com