View Single Post
  #8   (View Single Post)  
Old 24th November 2008
deemon's Avatar
deemon deemon is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Estonia
Posts: 50
Default

Quote:
Originally Posted by satimis View Post
Unfortunately I can't install FreeBSD on the guest of the Xen box. I'll install Debian Etch as OS.
Heh - sorry, I didn't pay attention - I assumed you had FreeBSD installed.
I can't help you with linux packages though, I don't have much experience on that field.

Quote:
Besides I'll remove /etc/resolv.conf. Can BIND9 do the job replacing resolv.conf ?
resolv.conf is still required - that's how you show your system which nameservers to use. Just having having bind installed and configured is not enought.

Quote:
Still I haven't got a clear picture on the settings of MySQL users table to make the incoming mails to be routed to their mail servers according to domain. Example would be appreciated. TIA
I guess think you need only one table:
Code:
CREATE TABLE domains (
    domain VARCHAR(255) NOT NULL AUTO_INCREMENT,
    transport VARCHAR(255) NOT NULL,
    PRIMARY KEY (domain)
);
Then you'll add mysql maps to relay_domains and transport_maps.

query for relay_domains map would be: SELECT 't' FROM domains WHERE domain='%s';
and for transport_maps: SELECT transport FROM domains WHERE domain='%s';
.. where transport is smtp:HOSTNAME.

For example:
domain: satimis.dnsalias.com, transport: smtp:MailServerB
domain: satimis.changeip.net, transport: smtp:MailServerC
__________________
Fhtagn nagh Yog-Sothoth
Reply With Quote