![]() Select Only allow from listed addresses and enter a list of hostnames, IP addresses and networks into the adjacent text box.Click on IP Access Control on the module's main page to bring up the access control form.Even though it is password-protected, you should limit access to only legitimate client systems if possible, so that an attacker from outside your network cannot even attempt to login. ![]() Reboot your system and you should be ready to go, test if things work and if they do use EFA-Config to change the IP from the new machine to the IP the previous machine had and you have migrated the data.By default Webmin will accept connections from any IP address. Mysql -user=root -password=$MYSQLROOTPWD sa_bayes < $BASE/sa_bayes.dumpĬp -f $BASE/transport /etc/postfix/transport Mysql -user=root -password=$MYSQLROOTPWD sqlgrey < $BASE/sqlgrey.dump Mysql -user=root -password=$MYSQLROOTPWD mailscanner < $BASE/mailscanner.dump Mysql -user=root -password=$MYSQLROOTPWD efa < $BASE/efa.dump Tar -cvzf $backupold/ /var/spool/MailScanner/quarantine/ Mysqldump -user=root -password=$MYSQLROOTPWD -add-drop-table -events sa_bayes > $backupold/sa_bayes.dumpĬp /etc/postfix/transport $backupold/transport Mysqldump -user=root -password=$MYSQLROOTPWD -add-drop-table -events sqlgrey > $backupold/sqlgrey.dump Mysqldump -user=root -password=$MYSQLROOTPWD -add-drop-table -events mailscanner > $backupold/mailscanner.dump Mysqldump -user=root -password=$MYSQLROOTPWD -add-drop-table -events efa > $backupold/efa.dump Turn of your old machine and don't turn it on again! (if you do you need to start over as items have changed).Īs root on the new host login as root and make sure the file you just uploaded is in /root/ Then copy this file over to the new host and make sure it is on the new host as /root/ ![]() This will backup all essential databases and mail queues and place it in /root/ Tar -cvzf /root/migrate-efa/ /var/spool/MailScanner/quarantine/ Mysqldump -user=root -password=$MYSQLROOTPWD -add-drop-table -events sa_bayes > /root/migrate-efa/sa_bayes.dumpĬp /etc/postfix/transport /root/migrate-efa/transport Mysqldump -user=root -password=$MYSQLROOTPWD -add-drop-table -events sqlgrey > /root/migrate-efa/sqlgrey.dump Mysqldump -user=root -password=$MYSQLROOTPWD -add-drop-table -events mailscanner > /root/migrate-efa/mailscanner.dump Mysqldump -user=root -password=$MYSQLROOTPWD -add-drop-table -events efa > /root/migrate-efa/efa.dump MYSQLROOTPWD="`grep MYSQLROOTPWD /etc/EFA-Config | sed 's/.*://'`" Weirdest part is, the mailscanner page is not functioning anymore after i changed the root password. If this wont help, i will reinstall the whole thing. I will try to gather some downtime, since i have installed a backup mx server last week which i (stress)tested yesterday. If that won't work the most easy way in my opinion is to just start over as I can't say if there are any other manual changes made to the system which may cause all kind of issues. So something is broken after the cloning, seems that your NIC ID has changed so the systems configuration is wrong.Ĭan you plan some downtime for this system? (as in do you have an backup MX setup?) first thing I would do is try to reconfigure the IP settings using EFA-Config from the vmware console (do not try it using SSH in your case). You have an public IP set on eth1 but all config items in EFA-Config point to an private IP on eth0 (172.16.x.x range) The first issue I see is that the IP settings have been manually changed (without using EFA-Config)
0 Comments
Leave a Reply. |