Jump to content

Category:Phdcci Migration

From TetraWiki

Qmail With Vpopmail To Zimbra 7.2.3 Migration in CentOS 6.3[edit]

For PHDCCI[edit]

Created by : Abhinav Sharma

TETRA INFORMATION SERVICES PVT. LTD.

SYSTEM CONFIGURATION



Vim /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.1.3 webmail.phdcci.in webmail Set Hostname To webmail.phdcci.in

  1. vi /etc/sysconfig/network

HOSTNAME=webmail.phdcci.in


Save & Close this file.

Make changes to hosts file.

Stop Apache and also make it off at boot time.

  1. /etc/init.d/httpd stop
    # chkconfig httpd off

Configure DNS.

     # Yum install bind*
     Configure  Bind in Jail Environment. 
     # vim /var/named/chroot/etc/named.conf

options { listen-on port 53 { 127.0.0.1; 192.168.0.3; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt";

          Allow-Query   {localhost; 192.168.0.0;};

recursion yes;

 };

zone "phdcci.in"{

   	type master;
   	file "forward.zone";
 };

zone "0.168.192.in-addr.arpa" IN {

       type master;
       file "localhostrev.zone";

};

Then Do the Entries in Forward Zone phdcci.in. IN MX 10 webmail.phdcci.in. @ IN NS ns1.phdcci.in. ns1.phdcci.in. IN A 192.168.0.3 webmail.phdcci.in. IN A 192.168.0.3 webmail. IN A 192.168.0.3 phdcci.in. IN A 207.106.22.8 cpanel IN A 68.233.251.20 www.phdcci.in. IN A 68.233.251.20 www2.phdcci.in. IN A 68.233.251.20


Reverse Zone

$TTL 86400 @ IN SOA webmail.phdcci.in. root.webmail.phdcci.in. ( 20130503 ; serial 3600 ; refresh 1800 ; retry 604800 ; expire 86400 ) ; minimum IN NS webmail.phdcci.in.

3 IN PTR webmail.phdcci.in.


Start named service.

  1. /etc/init.d/named Restart

Starting named: [ OK ]

  1. chkconfig named on
  2. vim /etc/resolv.conf

nameserver 127.0.0.1 nameserver 4.2.2.2

Install prerequisites of Zimbra yum install sysstat compat-libstdc++-33 nc -y


Zimbra Installation Mkdir /downloads Cd /downloads Extract Package Cd zcs ./install.sh --platform-override By This Zimbra Installed in Server.

Now Migration of Users

Step1: Extract User From vpopmail in one file And Cp into new Server tmp location Step2: Arrange in Order Like Vim User.txt createAccount test@phdcci.in root123 displayName 'Test Account' givenName Test sn Account zimbraPasswordMustChange True

Step3: su – zimbra Step4: zmprov < /tmp/user.txt All User Are created by this command

Migration of mails of some user Command imapsync --nosyncacls --subscribe --syncinternaldates

  --host1 192.168.0.1 --user1 yourAccount --password1 yourPassword 
  --host2 192.168.0.3 --user2 yourZimbraAccount --password2 yourZimbraPassword


View Mail Option In Admin Panal: Step1: Download zimlet from http://www.zimbra.com/forums/administrators/56332-view-mail-button.html Step2: Go to Admin panal then Zimlet then deploy the zimlet.

Subcategories

This category has only the following subcategory.

Pages in category "Phdcci Migration"

This category contains only the following page.