Zimbra Mail Server

March 25, 2018 | Author: luchoalco | Category: Domain Name System, Email, Computer Networking, Cyberspace, Computer Architecture


Comments



Description

Documentation for Installation & Configuration of Mail Server (Zimbra) MAIL SERVER DOCUMENTATION VA Tech Wabag Ltd. Confidential -1- Futurenet Technologies India Pvt. Ltd. Documentation for Installation & Configuration of Mail Server (Zimbra) Server Configuration: Processor Memory IP Assigned : : : : Intel(R) Xeon(R) CPU 2.33GHz 8 GB 192.223.1.8 172.1.1.2 Main Packages installed/Configured in Server: E-Mail Server : Webmin Bind Httpd Spam filter Firewall : : : : : zcs-5.0.10_GA_2609.RHEL5_64-20080922123753 webmin-1.320-1 bind-9.3.4-6.0.2.P1.el5_2 httpd-2.2.3-11.el5. mailscanner-4.71.10-1 iptables-1.3.5-1.2.1 Requirements: The following are the requirements for installation of Mail Server: CentOS 5 DVD or CD ISO images which http://isoredirect.centos.org/centos/5/isos/i386/ High-speed Internet connection are available at Preliminary Note The hostname is chennai.bdwt.com with the IP address of 192.223.1.8. The Gateway is 192.223.1.1 and primary DNS is 127.0.0.1 Domain name is bdwt.com Installation of Centos 5 STEP: 1 Insert your CentOS DVD into your system and boot from the disk. Hit Enter to start the installation. Confidential -2- Futurenet Technologies India Pvt. Ltd. Documentation for Installation & Configuration of Mail Server (Zimbra) STEP: 2 You will be prompted to test the CD Media. Choose Skip Confidential -3- Futurenet Technologies India Pvt. Ltd. Documentation for Installation & Configuration of Mail Server (Zimbra) STEP: 3 Click Next to start the installation STEP: 4 Choose the language as English. Confidential -4- Futurenet Technologies India Pvt. . Ltd. Documentation for Installation & Configuration of Mail Server (Zimbra) STEP: 5 Select US English for appropriate Keyboard and Click Next. . Choose Yes. STEP: 6 A Pop up asks for initializing the partition (It will ERASE all data). Ltd. Confidential -5- Futurenet Technologies India Pvt. To Create New Partition (For /): Click New Button – Add partition pop up opens – Select Mounting point as /. Click OK to continue. 8GB ) To Create New Partition (For /boot): Click New Button – Add partition pop up opens – Select Mounting point as /boot. To Create New Partition (For swap): Click New Button – Add partition pop up opens – Select the File System Type as: swap. Click OK to continue.Documentation for Installation & Configuration of Mail Server (Zimbra) STEP: 7 / /boot swap 50000 100 14000 (depends on your physical RAM size Eg. Size (MB) 15000. . Ltd.Choose Yes. STEP: 8 You will be prompted for removal of ALL Data . Confidential -6- Futurenet Technologies India Pvt. Size (MB) 100. Size (MB) 14000. Click OK to continue. File System Type: ext 3. File System Type: ext 3. Documentation for Installation & Configuration of Mail Server (Zimbra) STEP: 9 Enter IP address information for your network under Network Devices. Use the edit button and enter information appropriate for your network. Don't forget to enter your gateway and name servers as well. STEP: 10 Select your region and Time Zone appropriately. . Confidential -7- Futurenet Technologies India Pvt. Ltd. Uncheck all boxes in the upper pane and check the box for the CentOS Extra Packages in the lower pane. Click the radio button to Customize Now and click next. Confidential -8- Futurenet Technologies India Pvt. STEP: 12 Choose the packages to install.Documentation for Installation & Configuration of Mail Server (Zimbra) STEP : 11 Enter a password for the root account. Ltd. . Server Configuration Tool Web Server and select optional packages tomcat5. . The next screen allows you to choose packages for your installation.Documentation for Installation & Configuration of Mail Server (Zimbra) STEP: 13 A pop up will occur verifying your IP address information. Install the following packages: Applications Editors Text-based Internet Development Development Libraries Development Tools Legacy Software Development Servers DNS Name Server FTP Server MySQL Database and select optional packages Check php-mysql and close this dialog box. Base System Administration Tools Base Legacy Software Support Confidential -9Futurenet Technologies India Pvt. Ltd. tomcat5-admin Tomcat5-webapps and close this dialog box. Confidential . Ltd. STEP: 15 It is now ready to begin the installation. Click Next to begin. .Documentation for Installation & Configuration of Mail Server (Zimbra) STEP: 14 Once you have selected the packages click next and it will search for dependencies.10 - Futurenet Technologies India Pvt. Confidential . . Be sure to remove your installation disk. STEP: 17 Click on Reboot once the installation is finished.11 - Futurenet Technologies India Pvt. Ltd.Documentation for Installation & Configuration of Mail Server (Zimbra) STEP: 16 The installation should only take a few minutes as we are installing the minimum software’s required. Using the keyboard choose Firewall and click tab to move to the Run Tool button and hit enter. .12 Futurenet Technologies India Pvt. Choose OK. STEP: 20 The last step is to shutdown some services that will interfere with ZCS. This feature allows you to make changes to the firewall.Documentation for Installation & Configuration of Mail Server (Zimbra) STEP: 18 Once the system reboots you are presented with the first boot screen. Confidential . Ltd. STEP: 19 Under Security Level select disabled and choose disabled for SELinux as well. Now you need to create your /var/named/chroot/var/named/bdwt. Ltd.Documentation for Installation & Configuration of Mail Server (Zimbra) chkconfig sendmail off chkconfig ip6tables off chkconfig iptables off service sendmail stop service iptables stop service ip6tables stop STEP: 21 We need to install one package before we can continue: yum install libtool-ltdl yum install bind bind-chroot bind-libs bind-utils NOTE: Be sure to use the ip address and hostname/FQDN that is appropriate for your installation. STEP: 22 Create the /var/named/chroot/etc/named. zone "bdwt. file "/var/named/bdwt." { type hint.com" { type master. .pid". zone ". pid-file "/var/run/named/named.com. }.conf file: vim /var/named/chroot/etc/named.cache". }. file "/etc/db.com.hosts file Confidential .conf options { directory "/etc". The IP address for forwarders should be the IP address of your DNS server. }.13 - Futurenet Technologies India Pvt.hosts". 223.com.bdwt.255. server1.223. ( 1223137471 10800 3600 604800 38400 ) bdwt.8 server1. IN A 66.conf to use your mail server's IP address as its primary DNS. IN MX 10 newserver.conf namserver 192.223.com.16. IN MX 10 chennai.Documentation for Installation & Configuration of Mail Server (Zimbra) vim /var/named/chroot/var/named/bdwt.0 netmask 255.223.168.15.0 netmask 255. Ltd. IN A 66.223.1.com.255.local route add -net 192.com.com. helpdesk.148.com.255.com.2.148.com.255.1.1 Add routing table in the server vim /etc/rc.14 - Futurenet Technologies India Pvt.168.1.255.1.0 gw 192. .120.0 gw 192.255.120.120. IN A 192.0.148. vim /etc/resolv.com.223 STEP: 24 Start named on your server /etc/init. newserver. IN SOA chennai.bdwt. bdwt.8 nameserver 127.com.bdwt.1.bdwt.bdwt.bdwt.com.255.22 chennai.1.com.bdwt.bdwt.223.168.com.1 route add -net 192.1 route add -net 192.0 gw 192.bdwt.1 route add -net 192.com. IN NS chennai. IN MX 10 server1.223.bdwt. chkconfig named on Confidential .0 netmask 255. STEP: 23 Change your resolv.255.0 gw 192.bdwt.0.com.0 netmask 255.22 chennai.d/named start Enable autostart for named.hosts $ttl 38400 bdwt.com.1.bdwt.22 newserver. IN A 66. 15 - Futurenet Technologies India Pvt.session.auth.sendtargets.0.sendtargets. Confidential .password = MyPassword discovery. Ltd.sendtargets.8 Notice that the IP address returned is the same as the local machine.session. * discovery.1. Install and manage iSCSI Volume Install Required Package: iscsi-initiator-utils RPM package.223.auth. If there is no username & password for iscsi node goto step4.1 : 127.Documentation for Installation & Configuration of Mail Server (Zimbra) To verify do the following: nslookup zimbra.1#53 chennai.auth.sfl.co.username = My_ISCSI_USR_NAME discovery.username = My_ISCSI_USR_NAME node.* is used to set a discovery session CHAP username and password for the initiator authentication by the target(s).in It should return something similar to this: Server : Address Name : Address 127. .conf with vi text editor: vi /etc/iscsi/iscsid.com : 192.bdwt.password = MyPassword Where.0.auth.0. STEP:1 STEP:2 STEP:3 root@# yum install iscsi-initiator-utils Configure iSCSI Open /etc/iscsi/iscsid.* is used to set a CHAP username and password for initiator authentication by the target(s).0. * node.conf Setup username and password: node.session. That means success. ext3 /dev/sdb1 Mount new partition: # mount /dev/sdb1 /opt STEP:7 Mount iSCSI drive automatically at boot time # chkconfig iscsi on Open /etc/fstab file and append the below line: /dev/sdb1 /opt ext3 defaults 0 0 Save and close the file.16.d/iscsi restart STEP:6 Format and Mount iSCSI Volume You can now partition and create a filesystem on the target using usual fdisk and mkfs. Ltd. . Confidential .16 - Futurenet Technologies India Pvt.1.1 /etc/init.d/iscsi start STEP:5 Discover targets iscsiadm -m discovery -t sendtargets -p 172.ext3 commands: # fdisk /dev/sdb1 # mkfs.Documentation for Installation & Configuration of Mail Server (Zimbra) STEP:4 To start the iscsi service: /etc/init. FOUND sudo...NOT FOUND zimbra-cluster.7p12-10 libidn...1 Confidential .. The output should be similar to: Checking for prerequisites..NOT FOUND zimbra-store..FOUND libidn-0.NOT FOUND zimbra-apache..0...RHEL5_64-20080922123753...NOT FOUND zimbra-logger..RHEL5_64-20080922123753 ..6.NOT FOUND zimbra-proxy..NOT FOUND zimbra-core..NOT FOUND Read through the license agreement and hit enter..NOT FOUND zimbra-snmp.rpm Installation of Zimbra Collaboration Suite 5.tgz Step 3 : cd zcs-5... Ltd.0..NOT FOUND zimbra-archiving.r * /root/software Install the webmin rpm -ivh webmin*.NOT FOUND zimbra-mta..6. zimbra-ldap..sh –platform-override Step 4 : -----------The output should look something like: Checking for existing installation../install..5-1....06 Open source edition: Step 1 : cd /root/software/zimbra Step 2 : tar xvzf zcs-5..10_GA_2609.10_GA_2609...FOUND sudo-1.Documentation for Installation & Configuration of Mail Server (Zimbra) Installing ZCS. NPTL. Copy the Setup files from CD: Step 1 : Step 2 : Step 3 : Step 4 : Step 5 : cd /root mkdir software mount /dev/hdb1 /mnt cd /mnt cp .. ..NOT FOUND zimbra-spell.17 Futurenet Technologies India Pvt. 2...FOUND gmp-4. Step: 5 Press Enter to continue Install zimbra-ldap [Y] Install zimbra-logger [Y] Install zimbra-mta [Y] Install zimbra-snmp [Y] Install zimbra-store [Y] Install zimbra-apache [Y] Install zimbra-spell [Y] Install zimbra-proxy [N] You will see a warning like this: ----.1..Documentation for Installation & Configuration of Mail Server (Zimbra) fetchmail..5...8.FOUND fetchmail-6.8.22-6.6-1. .You appear to be installing packages on a platform different than the platform for which they were built This platform is CentOS5 Confidential .1 gmp.8 Checking for installable packages Found zimbra-core Found zimbra-ldap Found zimbra-logger Found zimbra-mta Found zimbra-snmp Found zimbra-store Found zimbra-apache Found zimbra-spell Found zimbra-proxy Next you need to select the packages to install..3.96-138 compat-libstdc++-33..1 Prerequisite check complete..8.18 Futurenet Technologies India Pvt.FOUND compat-libstdc++-296-2..3-61 libtool-ltdl. The defaults are listed in the brackets so you can just press enter for every question. Checking for standard system perl..FOUND libtool-ltdl-1...FOUND start system perl-5..4-10 compat-libstdc++-296.FOUND compat-libstdc++-33-3. perl-5. Ltd. Ltd. To do this enters 3 at the prompt and hit enter. You will be prompted to change the password.Documentation for Installation & Configuration of Mail Server (Zimbra) Packages found: zimbra-core-5.19 - Futurenet Technologies India Pvt.RHEL5. Now you choose 4.0. Install anyway? [N] The system will be modified. After you change the password hit enter.rpm This may or may not work Step: 6 Press Y and press enter to continue 2 times.20080522104341. . Confidential . You need to set the Admin Password before you complete the install.6_GA_2313. Continue? [N] Step: 7 Notice the asterisks next to the Admin Password. Provide the email ham@chennai. Confidential .bdwt.com follow the instructions.com and hit enter. Select Option 7. Ltd.bdwt.com and hit enter.Documentation for Installation & Configuration of Mail Server (Zimbra) To redirect the spam mails to [email protected] Futurenet Technologies India Pvt. Provide the email [email protected]. To redirect all non spam mails to [email protected] follow the instructions: Select Option 6. Press '' r '' which will take you back to the previous menu and Enter '' a '' at the prompt to save the configuration.bdwt. . .com:7071. You can access the admin web interface through the URL https://chennai.21 - Futurenet Technologies India Pvt. Create a New Domain: Confidential . Ltd. The web interface is fairly easy to navigate.bdwt.Documentation for Installation & Configuration of Mail Server (Zimbra) The installation will complete and you will be all set to access the administrative web interface. 22 - Futurenet Technologies India Pvt. Confidential .com Type su zimbra Type the following command zmprov cd chennai.bdwt.bdwt. and type the account name as system and select the domain as chennai. Click on accounts.com Type the following commands.bdwt.bdwt.bdwt.com Forwarding the mail to the particular servers: Step 1 : Step 2 : Step 3 : Open putty and login to chennai. Type su zimbra Type the following command one by one. Ltd.com To Add the Master Account in postfix Step 1 : Step 2 : Open putty and login to chennai.Documentation for Installation & Configuration of Mail Server (Zimbra) Step 1 : Step 2 : Step 3 : Open putty and login to chennai.com. After you have added your domain you need to add an email account. . com”: “25” Step 5: Uncheck the Enable DNS lookup Confidential .bdwt.23 - Futurenet Technologies India Pvt. Step 3: Select MTA tab Step 4: Under Network . .bdwt.com Step 2: Click Global Settings.Documentation for Installation & Configuration of Mail Server (Zimbra) Global configuration: Step 1: Open the Admin Console and login as admin@chennai. Ltd.Relay MTA for external delivery: Type “server1. .Documentation for Installation & Configuration of Mail Server (Zimbra) Select the IMAP tab Check the Enable clear text login Select the POP tab Check the Enable clear text login Confidential . Ltd.24 - Futurenet Technologies India Pvt. Documentation for Installation & Configuration of Mail Server (Zimbra) Select the AS/AV tab Uncheck Block encrypted archives Uncheck Send notification to recipient How to Create Alias: Select the Alias and create a new alias Give the alias name and select the domain name and Target account name.25 - Futurenet Technologies India Pvt. Ltd. Confidential . Click OK. after entering the details. . 26 - Futurenet Technologies India Pvt. vim /opt/zimbra/postfix/conf/protected_recipients Press ''insert key' and type the following wabag01@bdwt. .com wabagtwo [email protected] wabagfive Confidential .Documentation for Installation & Configuration of Mail Server (Zimbra) How to Create Distribution List: Step 1: Select the distribution lists and create a new list Provide the list name and select domain name (eg: [email protected] wabagthree [email protected] Type the following commands. Ltd.com id is present in wabagone file he can able to send mail only to [email protected] wabagone wabag02@bdwt. If the [email protected] is your list of email addresses that may only receive email from 'permitted senders' for example.com and he is not allowed to send mails to any other distribution list.com) To find the members and add in the distribution list (eg:Find: a_jinjose ) Save the settings. Create a 'protected recipients' list (as user Zimbra) .com wabagfour wabag05@bdwt. User restriction for distribution list group Step 1 Step 2 : : Open putty and login to chennai. com OK [email protected] OK patrick.com OK [email protected] OK [email protected] OK [email protected] vim /opt/zimbra/postfix/conf/wabagtwo [email protected] for Installation & Configuration of Mail Server (Zimbra) Press '' Esc '' and ‘‘shift : '' '' wq '' To save and exit.com OK k_vijaykumar@bdwt. • Wabagone file:Add the users list to send a mail to [email protected] OK [email protected] OK [email protected] OK Confidential .com OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected]@bdwt.com OK [email protected] OK [email protected] OK [email protected] OK r_mittal@bdwt. vim /opt/zimbra/postfix/conf/wabagone [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK tv_gopal@bdwt. . Ltd.com Ok • Wabagtwo file:Add the user list to send a mail to [email protected] OK [email protected] OK [email protected] OK [email protected] Futurenet Technologies India Pvt. com OK [email protected] OK [email protected] Ok • Wabagthree file:Add the user list to send a mail to [email protected] Futurenet Technologies India Pvt.com OK patrick. [email protected] OK [email protected] vim /opt/zimbra/postfix/conf/wabagthree [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected]@bdwt.com OK [email protected] OK [email protected] OK Confidential .com OK [email protected] Ok [email protected] OK [email protected] OK fdc@bdwt. Ltd.com OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK patrick.com OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] for Installation & Configuration of Mail Server (Zimbra) r_venkatesan@bdwt. Documentation for Installation & Configuration of Mail Server (Zimbra) [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK nagarajan@bdwt. .com OK [email protected] OK [email protected]@bdwt.com OK [email protected] OK [email protected] Ok • Wabagfive file:- Confidential .com OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] - Futurenet Technologies India Pvt.com OK [email protected] OK patrick.com OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK patrick. Ltd.com OK [email protected] OK [email protected] Ok • Wabagfour file:Add the user list to send a mail to [email protected] vim /opt/zimbra/postfix/conf/wabagfour [email protected] OK [email protected]@bdwt.com OK ms_balajisubramaniam@bdwt. com OK [email protected] OK patrick.com Ok Create a simple bash script to create postfix DB files (as user zimbra): vim /opt/zimbra/postfix/conf/update_protected_recipients [paste in contents below editing as required] #!/bin/bash echo "rebuild permitted_senders.com OK [email protected] OK [email protected] OK [email protected] for Installation & Configuration of Mail Server (Zimbra) Add the user list to send a mail to [email protected]@bdwt...com OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK [email protected] vim /opt/zimbra/postfix/conf/wabagfive [email protected] OK c_karthikeyan@bdwt." postmap /opt/zimbra/postfix/conf/permitted_senders postmap /opt/zimbra/postfix/conf/wabagone postmap /opt/zimbra/postfix/conf/wabagtwo postmap /opt/zimbra/postfix/conf/wabagthree postmap /opt/zimbra/postfix/conf/wabagfour postmap /opt/zimbra/postfix/conf/wabagfive echo "rebuild protected_recipients.30 Futurenet Technologies India Pvt.com OK [email protected] OK [email protected] OK [email protected] OK [email protected] OK sn_saraf@bdwt." postmap /opt/zimbra/postfix/conf/protected_recipients Confidential .com OK m_meena@bdwt. .com OK c_kannan@bdwt.. Ltd.com OK r_mittal@bdwt. reject wabagfour = check_sender_access hash:/opt/zimbra/postfix/conf/wabagfour.cf file** Now add your new restriction to the top of postfix_recipient_restrictions. reject_unlisted_recipient.db in the directory • Add necessary settings to /opt/zimbra/postfix/conf/main.Documentation for Installation & Configuration of Mail Server (Zimbra) • Make new script executable. permit_mynetworks. permit_sasl_authenticated.cf won't survive upgrades. .cf [paste this into the first line of the file. reject_non_fqdn_recipient.cf vi /opt/zimbra/postfix/conf/main. permit **Note this change to the main. wabagfour. wabagfive smtpd_recipient_restrictions = check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients. Be sure to save a copy of your main. reject wabagtwo = check_sender_access hash:/opt/zimbra/postfix/conf/wabagtwo. reject_unauth_destination. wabagtwo.cf vi /opt/zimbra/conf/postfix_recipient_restrictions.note permitted_senders_list must match value in protected_recipients] wabagone = check_sender_access hash:/opt/zimbra/postfix/conf/wabagone.cf [add these items below “mynetworks” to the file . Ltd. reject wabagfive = check_sender_access hash:/opt/zimbra/postfix/conf/wabagfive.db and protected_recipients. reject wabagthree = check_sender_access hash:/opt/zimbra/postfix/conf/wabagthree. above any other settings] check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients Reload postfix to activate settings: postfix reload Confidential . wabagthree. reject smtpd_restriction_classes = wabagone. and then run it chmod 755 /opt/zimbra/postfix/conf/update_protected_recipients /opt/zimbra/postfix/conf/update_protected_recipients You should now see permitted_senders.31 - Futurenet Technologies India Pvt. Documentation for Installation & Configuration of Mail Server (Zimbra) Now that you have an email account setup you can access the user interface. After logging you will get this screen.bdwt. Ltd. send some test emails to another email account and verify that it is working properly.32 - Futurenet Technologies India Pvt. Your Mail Server has been configured and to check. Log in with your full email address and the password that you set for it. Confidential . .com/ . Point your browser to http://chennai.
Copyright © 2024 DOKUMEN.SITE Inc.