Quote:
Originally Posted by satimis
Still I can't resolve if I install BIND9 on a guest of Xen box, only a base OS, BIND9 and some other required packages. Do I need to forward any port to it?
|
If you installed FreeBSD with Standard installation procedure then everything required to run nameserver is already in system. No additional software needed.
If you only use it only locally* then I don't think any port forwarding is necessary.
* locally - in host system or in any of the guest systems.
Quote:
If the local IP of this guest is 192.168.0.201 then on other guests (mail server) I'll edit /etc/resolv.conf
Code:
nameserver 192.168.0.201
Nothing else. Can it work?
|
That should work.
Quote:
On the same mail server I don't have any problem.
/etc/postfix/mysql_transport.cf
Code:
user=mail
password=apassword
dbname=maildb
table=backups
select_field=transport
where_field=domain
hosts=127.0.0.1
additional_conditions = and enabled = 1
|
It seems you use old postfix mysql interface. Not that it's wrong or anything but I find the new interface (since postfix 2.2) for mysql is better (clearer & more flexible, can use joins etc..)
Check mysql_table man page.
New interface would be with the example above like this:
Code:
hosts = 127.0.0.1
user = mail
password = apassword
dbname = maildb
query = SELECT transport FROM backups WHERE domain='%s' AND enabled=1
Quote:
I think I'll make MailServerA, the current running mail server, for routing ONLY.
|
Yes - that's exacly what you should do and that's what I had in mind when I was talking about mail gateway.