Hello, i would like to setup a Backup MX for my ispconfig enabled mailserver. Should I add the MX Server to my multiserver setup or should I keep it out of there? How Can I get the MX to recognize what domains are active on the main mailserver? still have more question...
Hello, what im asking my sefl with this setup is, how does the bkacup mx knows which domains/mailboxes do exist on this server?
my idea is to have the DB from the main mailserver cloned to the Backup-MX, so the Backup-MX only accepts mails for users that have a mailbox? Would this be possible and how do I have to alter the paramters in postfix I did change these 2 parameters, is it ok to that? Code: relay_domains = mysql:/etc/postfix/mysql-virtual_domains.cf, $mydestination relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf The system now rejects all mail that dont habe a domain on that machine. I guess im missing the transport rule, still havent figured out how to do taht.
You can do that with MySQL replication: http://www.howtoforge.com/how-to-set-up-database-replication-in-mysql-on-ubuntu-9.10 I think that could work, but I haven't tried it.
The ispconfig manuall states that when I clome a server all the data in den ispconfig Database is already replicated or did I understand something wrong? Im trying to get thes backup MX to work, without luck by now. I always get an relay denied for my users.
Yes, if you install ISPConfig on the slave and install ISPConfig as a slave. I was thinking you were setting up the backup MX manually. I think Till can shed more light on this, but he's not available right now.
HI, i tried to do it manually but than i installed ispconfig, to get the configuration of the two system even.
I have strange problem with backup mx I have ISPConfig 3 and followed "Setting Up Postfix As A Backup MX " tutorial but. Accoriding to tutorial I shouldn't have my domains in virtual_mailbox_domains but if I check database ob backup server I see all my domains in mail_domain table replicated by ispconfig. Second problem is that according to logs messages are delivered to dovecot and stored locally. Any idea?
The tutorial you used is not compatible with ISPConfig 3, as ISPConfig uses a different approach for email mirroring that. Please undo the configuration from that tutorial. Then configure the /var/vmail directory so that it is synced between the servers. This can be done with a cluster filesystem like glusterfs or with unsion, rsync or drbd. See ispconfig mirroring tutorial for an example configuration.