Mithi Connect Server using the Command Line Interfaces (CLI)

Similar documents
Embedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

Index. B Big Brother, 218 BMC Patrol, 219

Basic Linux Command Line Interface Guide

Linux Systems Administration Getting Started with Linux

Linux Administration

Basic Linux Command Line Interface Guide

Contents at a Glance COPYRIGHTED MATERIAL. Introduction...1 Part I: Becoming Familiar with Enterprise Linux...7

Linux Command Line Primer. By: Scott Marshall

Table of Contents 1 V3 & V4 Appliance Quick Start V4 Appliance Reference...3

CDP Data Center Console User Guide CDP Data Center Console User Guide Version

Command-Line Interface Command Summary

Micro Focus Security ArcSight Connectors. SmartConnector for McAfee Gateway Syslog. Configuration Guide

MDaemon Vs. SmarterMail Enterprise Edition

WebAdmin IceWarp WebAdmin Manual

RedHat Certified Engineer

IceWarp to IceWarp Migration Guide

Stop all processes and then reboot - same as above startx. Log in as superuser from current login exit

MDaemon Vs. Kerio Connect

MDaemon Vs. Kerio Connect

MDaemon Vs. Microsoft Exchange Server 2016 Standard

Univention Corporate Server. Cyrus mail server

Introduction to Linux

Cisco WAAS Software Command Summary

MDaemon Vs. MailEnable Enterprise Premium

Overview of the Cisco NCS Command-Line Interface

Grapevine web hosting user manual. 12 August 2005

MDaemon Vs. Microsoft Exchange Server 2016 Standard

MDaemon Vs. SmarterMail Enterprise Edition

AXIGEN Features and Supported Platforms

UoW HPC Quick Start. Information Technology Services University of Wollongong. ( Last updated on October 10, 2011)

SAP Business One. User Guide. Issue 04 Date HUAWEI TECHNOLOGIES CO., LTD.

Command-Line Interface Command Summary

MDaemon Vs. Zimbra Network Edition Professional

GSS Administration and Troubleshooting

MDaemon Vs. MailEnable Enterprise Premium

Platform Administration

Configuring Cisco TelePresence Manager

Mastering Linux. Paul S. Wang. CRC Press. Taylor & Francis Group. Taylor & Francis Croup an informa business. A CHAPMAN St HALL BOOK

Extending the Domino System. Powered by Notes. The First Groupware and Server for the Net R E L E A S E

2 Hardening the appliance

Maintaining the System Software

MDaemon Vs. IceWarp Unified Communications Server

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one]

MDaemon Vs. SmarterMail Enterprise Edition

LAB #7 Linux Tutorial

Runecast Analyzer User Guide

List of Linux Commands in an IPm

Unix Introduction to UNIX

Linux crash lecture by Andrey Lukyanenko

Installing and Upgrading Cisco Network Registrar Virtual Appliance

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Configuring the Cisco NAM 2220 Appliance

RG-MACC_2.0 Installation Manual

Zemana Endpoint Security Administration Guide. Version

Kerio Connect. Step-by-Step. Kerio Technologies

Some useful UNIX Commands written down by Razor for newbies to get a start in UNIX

Notices Carbonite Move for Linux User's Guide Version 8.1.1, Wednesday, January 31, 2018 If you need technical assistance, you can contact

Version Double-Take Move for Linux User's Guide

Appliance Installation Guide

CounterACT Macintosh/Linux Property Scanner Plugin

MDaemon Vs. SmarterMail Enterprise Edition

Solution Integration Guide for Multimedia Communication Server 5100/WLAN/Blackberry Enterprise Server

Lab 8: Firewalls ASA Firewall Device

CUSTOMER CONTROL PANEL... 2 DASHBOARD... 3 HOSTING &

SA3 E7 Advanced Linux System Administration III Internet Network Services and Security

Spam Quarantine. Overview of the Spam Quarantine. This chapter contains the following sections:

XPress-I/O Device Server Command Reference

User Manual op5 System 3.1

Critical Analysis and last hour guide for RHCSA/RHCE Enterprise 7

Available Commands CHAPTER

Linux Interview Questions and Answers

Ciphermail Webmail Messenger Administration Guide

Shell Programming Overview

Perform Backup and Restore

Troubleshooting IMAP Clients and ViewMail for Outlook

Perform Backup and Restore

Linux Essentials Objectives Topics:

Licensing the Application CHAPTER

Intrusion Detection and Prevention IDP 4.1r4 Release Notes

Optional Labs. 0Handouts: 2002 ProsoftTraining All Rights Reserved. Version 3.07

vcenter Server Appliance Configuration Modified on 17 APR 2018 VMware vsphere 6.7 VMware ESXi 6.7 vcenter Server 6.7

Console Management Guide (Version 5.0.5)

IBM Remote Support Manger for Storage

CLI COMMAND SUMMARY BY MODE

Perl and R Scripting for Biologists

User and System Administration

Linux Fundamentals (L-120)

Chapter-3. Introduction to Unix: Fundamental Commands

Comodo Dome Antispam Software Version 6.0

IPMI Configuration Guide

Help for System Administrators

Comodo Dome Antispam Software Version 6.0

Bitnami MariaDB for Huawei Enterprise Cloud

American Dynamics RAID Storage System iscsi Software User s Manual

Comodo Antispam Gateway Software Version 2.12

Administering vrealize Log Insight. September 20, 2018 vrealize Log Insight 4.7

SOLUTION MANAGEMENT GROUP

Comodo Comodo Dome Antispam MSP Software Version 2.12

AccessEnforcer Version 4.0 Features List

KYOCERA Net Admin User Guide

Transcription:

Page 1 of 1 Mithi Connect Server using the Command Line Interfaces (CLI) Introduction 1 Introduction to modules and components 2 Folder structure of an MCS installation 2 Mail store structure 3 Basic Linux commands 3 Login 3 Basic Linux commands 4 MCS Command Line interfaces 9 Mail server 9 Mail Fetcher/Mail Retriever 15 Fetchmail 15 Web proxy server 17 FTP server 19 Instant Messaging and Chat server 20 Jabber 20 LDAP server 20 Web mail client 21 Tomcat 21 Apache 21 Customization 22 Address books 22 Calendar 22 Administration 22 Server security 27 Introduction Mithi Connect Server is comprised of different modules as explained in the MCS Tech Overview document. Each of these modules uses one or more components. Components can be open source components such as the qmail server or can be components developed by Mithi. Some components are common to all the modules. These are the LDAP server, database server, firewall etc. This document provides the overview of how an administrator can manage and maintain a MCS installation using the command line interfaces. The document is divided into the following sections: Introduction to modules and components Folder structure of an MCS installation Basic Linux commands MCS command line interfaces

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 2 of 2 Introduction to modules and components The table below lists the modules that make up the MCS solution and the components required. Module Mail server Mail Fetcher/Mail Retriever Web proxy server FTP server Instant Messaging and Chat server LDAP server Web mail client Address books Calendar Server security Enterprise replication Components Qmail-SMTP, Qmail-queue, Qmail-POP,Courier - IMAP server,qmail Scanner SpamAssassin, ClamAV Fetchmail Server Squid Server VsFtp Server Jabber Server Open Ldap Server Tomcat Server,Apache Server and Corporate Directory,Global Address Book,Personal Address Book WebCalender IPtables JBoss Folder structure of an MCS installation This section describes the folder structure of an MCS installation. What Modules Components Command Line Interfaces Configuration and event logs Logs for all mithi programs Component logs Mailstore Where Each module has configuration files pertaining to the server, domain and users located in the following folders: /mithi/mcs/modules/<module>/conf/server /mithi/mcs/modules/<module>/conf/domains/<domain>/ /mithi/mcs/modules/<module>/conf/domains/<domain>/users/a001/<user> ( <module> is the module name) /mithi/mcs/components Each component has configuration files pertaining to the server, located in the /mithi/mcs/components/<component>/conf/server folder /mithi/mcs/bin /mithi/mcs/modules/mithi-system/report/mcs_config_events.log /mithi/mcs/modules/mithi-system/report/mcs_activity_events.log /var/log/mithi/mcs/ squid : /var/log/squid jabberd: /var/log/jabberd httpd : /var/log/httpd clamav : /var/log/clamav ldap : /var/log/openldap.log pgsql : /var/log/pgsql.log ftp : /var/log/vsftp.log firewall : /var/log/iptables.log Mailing (POP/IMAP/SMTP) : /var/log/maillog, /var/log/messages mail statistics : /var/spool/qmailscan/mailstats.csv Virus quarantine log : /var/spool/qmailscan/quarantine.log Scanner log : /var/spool/qmailscan/qmail-queue.log, /var/spool/qmailscan/qmail-mithi-queue.log Tomcat : /var/log/tomcat/catalina.out /mailstore

Page 3 of 3 Installed patches Installed service packs Default folder to locate backup Mail store structure /home/mcs/patches /home/mcs/installables /mithi/mcs/backups Mithi Connect Server stores the user s mailboxes in an open standard format called the maildir format. The MTA qmail gives native support for the maildir format. Maildir is a format that does not require file locking to maintain message integrity because the messages are kept in separate files with unique names. A Maildir is a directory (often named Maildir) with three subdirectories named tmp, new, and cur. The Mail Transfer Agent that delivers an e-mail message (in case of MCS, qmail) writes the mail to a file in the tmp directory with a unique filename. A hard link to this file is then created in the "new" folder. Finally, the delivery program unlinks the file in tmp. This sequence guarantees that a maildir-reading program will not see a partially-written message, as mail clients never look in tmp. When the mail client process finds messages in the new directory it moves them to cur (using the same link then unlink strategy) and appends an informational suffix to the filename before reading them. The information suffix consists of a colon (to separate the unique part of the filename from the actual information), a '2', a comma and various flags. The '2' specifies, loosely speaking, the version of the information that follows the comma. '2' is the only currently officially specified version, '1' being an experimental version. The maildirs for domains and users are organized as follows: Each domain has a separate directory under /mailstore. For example, the folder for the mailstore for the domain mithi.com will be at /mailstore/mithi.com. Within a domain, the mail stores for individual users are arranged alphabetically. All the users, whose mail ids start with the letter a will have the mailstore in the folder /mailstore/mithi.com/a001 and so on. For example the mailstore for the support@mithi.com id will be at /mailstore/mithi.com/s001/support. The Maildir folders are created within the support folder and will have the tmp, cur and new folder as described above. Basic Linux commands Login 1)Putty - Copy Putty.exe from MCS CD. - Enter Mithi Server s IP address in hostname field. - Select SSH Protocol. - Select Port 22 - Click Open. - Give user name as root in Login as: prompt. - Give the root user password. 2)Directory login - Copy Winscp.exe from MCS CD. - Enter Mithi Server s IP address in hostname field. - Select Port 22. - Give username as root and root users password in the password field.

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 4 of 4 3) Root user 4) Incase Login user (not a super user/direct root login is disabled). - Login as the username with the respective password. - On linux prompt,type su and give the root user password. Basic Linux commands This section lists some of the basic Linux commands used to maintain and manage an MCS installation on a Linux platform. Command Syntax Description cat cat [File] Displays the contents of a file. For example To display the contents of the MCS version file /mithi/mcs/ver.txt file, use the following command: cat /mithi/mcs/ver.txt OR To display the contents of the network file : cat /etc/sysconfig/network cd cd [directory] cd command changes the current working directory to the directory specified as parameter. Example : cd /mithi/mcs/bin The above command changes your current working directory to /mithi/mcs/bin clear Clear clear command would clear the screen. cmp cmp [FromFile] [ToFile] $ cmp user1.csv user2.csv Compare two files, and if they differ, tells the first byte and line number where they differ. cp cp [Source file /Dir ] [Destination file /directory] Copy one or more files to another location. Making a copy of a file in order to take backup before making changes..for example : $ cp /etc/resolv.conf /etc/resolv.conf.org The above command will save the file /etc/resolv.conf as /etc/resolv.conf.org retaining the original file. date date [option] To print the current date of the day # date To change current date date -s "11/20/2003 12:48:00" In quotes give the date & time you have to change.

Page 5 of 5 df df [options] df -h To display the amount of used and available disk space on all mounted file systems. Also to check the response time of external storage devices mounted. For Example : # df -h du du [options] To display the amount of used disk space in the specified directory in. du sh /mithi/mcs/backups fdisk fdisk [options] List all the partitions on the system. Hard disks can be divided into one or more logical disks called partitions. fdisk -l less less [filename] Displays the specified file in one screen at a time format. Page wise navigation through the file is possible. less /var/log/mithi/mcs/adduser.sh.log grep grep [options] SEARCH PATTERN [FILE...] The grep command can be used as a filter to search for strings in files. The pattern may be either a fixed character string or a regular expression. For Example: grep support@mithi.com /var/log/maillog less Searches the file "/var/log/maillog" for the search pattern support@mithi.com and displays one page at a time due to less option. head head [options] [files] Displays the first n lines of a specified file. head -5 /var/log/tomcat/catalina.out history history The 'history' utility allows you to use words from previous command lines in the command line you are typing hostname hostname [name] hostname - Would display the name of the hostname of the system. ifconfig ifconfig Command line tool to check all network cards/interfaces ls ls [options] List all the files with in the current directory and all associated subdirectories. ls /mithi/mcs/backups/*deepti* This will list any mailstore backup files for the user deepti in /mithi/mcs/backups directory.

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 6 of 6 man man [topic] Display information from the online reference manuals about the linux system commands. man locates and prints the named title from the designated reference section man grep mkdir mkdir dirname Create a directory. This will list information on how to use grep utility. mkdir /root/mithiwork - This would create a new directory called mithiwork in /root directory. mount mount -a [-ffnrsvw] [-t vfstype] mount [-fnrsvw] [-o options [,...]] device dir mount [-fnrsvw] [-t vfstype] [-o options] device dir mount [-hv] As root, you can mount the CDROM with a command like this: mount -t auto /dev/cdrom /mnt/cdrom The mounting adds all the directories and files from your CD to your Linux directory tree so you can easily access them without the drive letter. mv mv [ SOURCE] [DEST] Move or rename files or directories. mv /root/patch.sh /root/mithiwork/ This will move the file patch.sh to /root/mithiwork directory. more more [files] Displays text one screen at a time. grep support@mithi.com /var/log/maillog more netstat netstat [options] netstat -a Shows information about all the TCP/IP sockets currently in operation. Netstat command simply displays all sockets and server connections. nmap nmap [hostname/ip address ] Nmap is designed to allow system administrators and curious individuals to scan large networks to determine which hosts are up and what services they are offering. nmap supports a large number of scanning techniques like UDP nmap localhost This option scans all reserved TCP ports on the localhost.. host host [options] hostname This will query the DNS servers configured in /etc/resolv.conf file in the server for the specified host. host a mithi.com

Page 7 of 7 This will return the DNS entries of mithi.com domain by querying the DNS servers. passwd passwd It is customary that the user changes his/her password immediately after the first login. Passwd is used to update a user s authentication token(s ). $ passwd (current) password: pass_old New password: pass_new Retype New password: pass_new pwd pwd pwd Display the current working directory ping ping destination_host Sends test packets to a specified server to check if it is responding properly. This is an extremely useful command that is necessary to test network connectivity and response of servers. Is first line of testing if a network failure occurs. ping 192.168.0.20 Ping the secific IP address. ping www.yahoo.com Pings the specified domain. poweroff poweroff Set the computer to a mode that enables a user to turn off the computer. ps ps [options] As a system administrator, it helps list all existing processes on the server. This is helpful in case you run into problems and need to for instance kill a particular process that is stuck in memory. ps -elf more ps elf grep databackup This will assist you in determining that databackup script is running or not. rm rm [options] files Removes/deletes directories and files. rm /mithi/mcs/backups/mcs-backup-ds-2.2.5.22-fedorarelease-3-8-i386-thu_jan_25_17.24.02_ist_2007.bak This will remove the backup file from /mithi/mcs/backups directory. reboot reboot This will properly shut down the server and restart it in normal mode.

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 8 of 8 mode. rpm rpm [options] [package] RPM packages are built, installed, and queried with the rpm. Shows a list of only those installed packages that contain the specified string rpm -qa grep release This will list the OS version. rpm -qa grep mithi-patch This will list the mithi-patches installed on the server. route route Lists the routing tables for your server route scp scp [source file path] [destination path] This helps to copy files from one host to another linux host. scp userlist.txt root@203.197.88.81:/root/mithiwork/ ssh ssh [options] hostname [command] The above example would copy the file userlist.txt to the remote server under the user root. scp requests a password or passphrase if required. ssh 192.168.0.3 ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to replace rlogin and rsh, and provide secure encrypted communications between two untrusted hosts over an insecure network. su su [username] su - would login as the superuser as if the superuser actually logged in (process all login scripts etc...) This is in cases where direct root login to the server is disabled. tar tar [options] [tarfile] [otherfiles] Copy files to or restore files from an archive medium. If any files are directories, tar acts on the entire subtree. tar -cvzf log.tar.gz /root/mithiwork This will create an archive by the name of log.tar.gz of all files in /root/mithiwork directory. tail tail [OPTION]... [FILE]... Print the last 10 lines of each FILE to standard output. tail f /var/log/maillog telnet telnet [host] [port] The telnet command is used to communicate with another host using the TELNET protocol. telnet mithi.com 25 telnet host.com - Would open a telnet session to the mithi.com server on port 25. This is to check response to servers.

Page 9 of 9 top top [options] This is a very useful system administrator tool that basically gives you a summary view of the system including number of users, memory usage, CPU usage, and active processes. To display processes sorted by CPU useage, updating every 5 seconds: $ top Displays many system statistics and details regarding active processes traceroute traceroute host Gives the exact route between your machine and a server. $ traceroute 203.197.88.81 vi vi filename A screen-oriented text editor based on ex. vi is bi-modal, with a command mode and an insert mode. vi /mithi/mcs/modules/mithi-system/conf/server/mithisystem.httpd.conf.sh To enter command mode press Esc and : To enter into insert mode press esc and i. To exit without saving press esc and :q! To exit after saving changes press esc and :wq who who who MCS Command Line interfaces Determine the users logged on the machine. MCS servers can be administered using the command line interfaces provided. The command line interfaces (CLI) allow the administrators to configure, maintain and trouble shoot a MCS installation command through a script base interface. These scripts are wrappers over the complex logic of the MCS components and modules and also the open source components. All the scripts are located in the folder \mithi\mcs\bin. Each script takes one or more parameters. To give a comprehensive help on the usage of the scripts, you can refer to the online help or execute the script without any parameters. This section lists all the scripts that can be executed from the Linux prompt. The scripts have been categorized according the module on which they operate. Also within each module, the scripts are categorized according to the component, whether the settings are for individual users, working at a domain or server level. Mail server Qmail-smtp qmail-smtp.restart.sh qmail-smtp.start.sh To restart qmail smtp. To start qmail smtp.

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 10 of 10 qmail-smtp.status.sh qmail-smtp.stop.sh To find the status of qmail smtp. To stop qmail smtp. Configuration: Server level addsmtprule.sh deletesmtprule.sh delsmtproute.sh getsmtproute.sh setsmtproute.sh getsmtpconcurrency.sh setsmtpconcurrency.sh getsmtpcontrols.sh setsmtpcontrols.sh getsmtpport.sh setsmtpport.sh To add an SMTP Rule To delete an SMTP Rule To delete an SMTP Route To get an SMTP Route To set an SMTP Route To get the concurrency for SMTP To set the concurrency for SMTP To get the SMTP controls for various IP s To set the SMTP controls for various IP s To get the SMTP port. To set the SMTP Agent: agent_check_smtp.sh To check smtp. Qmail-Queue qmail-queue.start.sh qmail-queue.status.sh qmail-queue.stop.sh qmail-queue.alarm.sh To start qmail queue service. To get the current status of qmail queue. To stop qmail queue service. Alarm the queue to flush it Configuration: Server Level: getqueuelifetime.sh setqueuelifetime.sh To view the currently set queue life time. To set the queue life time.

Page 11 of 11 Agent: agent_queuemax.sh Added during the setup to monitor mail queue size - POP server qmail-pop.start.sh qmail-pop.status.sh qmail-pop.stop.sh To start pop service. To get status of pop service. To stop pop service. Configuration: Server level getpopconcurrency.sh setpopconcurrency.sh setpopport.sh getpopport.sh To get the POP concurrency. To set the POP concurrency. To set the POP port To get the POP port Agent: agent_check_pop.sh To monitor the POP service. Courier Authlib courier-authlib.restart.sh courier-authlib.start.sh courier-authlib.stop.sh courier-authlib.status.sh To restart courier imap service. To start courier authentication service. To stop courier authentication service. To see the current status of the service Agent: agent_check_courier_authlib.sh To check courier authentication services Courier IMAP courier.start.sh courier.stop.sh To start the service To stop the service

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 12 of 12 courier.status.sh courier.restart.sh To see the current status of the service To restart the service Configuration: setimapport.sh getimapport.sh setimapconcurrency.sh getimapconcurrency.sh To set the port number for IMAP To get the port number for IMAP To set the IMAP concurrency. To get the POP concurrency. Agent: agent_check_imap.sh Monitor the IMAP service on the local or a remote server and raise an alert if service is not responding Qmail scanner Anti Spam: spamassassin.restart.sh spamassassin.status.sh spamassassin.stop.sh spamassassin.start.sh Configuration: To restart service spam assassin. To get the current status of spamassassin. To stop service. To start service Server level getspambounceconfig.sh Setspambounceconfig.sh Getspamfitering.sh unblockrecipientdomain.sh unblockrecipientemail.sh unblocksenderdomain.sh unblocksenderemail.sh blockrecipientdomain.sh To view the currently set spam bounce configuration To change the spam bounce configuration To set parameters of filtering for spamassassin. To Unblock a Recipient domain To Unblock a Recipient email To Unblock a Sender domain To Unblock a Sender email To Block a Recipient domain

Page 13 of 13 blocksenderdomain.sh blockrecipientemail.sh blocksenderemail.sh setantispam.sh getantispam.sh addblacklistsender.sh addwhitelistsender.sh deleteblacklistsender.sh deletewhitelistsender.sh listblacklistedsenders.sh listblockedrecipientdomain.sh listblockedrecipientemail.sh listblockedsenderdomain.sh listblockedsenderemail.sh listwhitelistedsenders.sh setspamfiltering.sh getspamfiltering.sh Agent: To Block a Sender domain To Block a Recipient email To Block a Sender email To Set antispam The output of the command should display Spam Scanning ON. If it is not so, start spamassassin. To add a sender as blacklisted. To add a sender as whitelisted. To delete a sender as blacklisted To delete a sender as whitelisted To list out all the black listed senders. To list out all the blocked recipient domains. To list out all the blocked recipient emailid s. To list out all the black listed sender domains. To list out all the blocked sender emailid s. To list senders as whitelisted To set the filtering configuration of mails marked as spam. To get the filtering configuration of mails marked as spam agent_check_spamassassin.sh This agent monitors the spamassassin service and raises an alert if the service is down. agent_update_spamrules.sh AntiVirus: setantivirus.sh getfreshclamav.sh getantivirus.sh To set antivirus. To view the current auto update configuration To view the anti virus status Configuration: getscanner.sh display the current configuration

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 14 of 14 setscanner.sh Mithi Connect Server bundles a pre-queue scanner engine which scans all mail before they enter the queue Mail Policies: addmailpolicyrule.sh getmailpolicyconfig.sh getmailpolicyrule.sh deletemailpolicyrule.sh deletedomainmailpolicyrules.sh listmailpolicyrules.sh disablegroupmailpolicyrules.sh modifymailpolicyrule.sh disableusermailpolicyrules.sh setmailpolicyconfig.sh To add the rules of mail policy To get the mail policy configuration file To get the rules set for mail policy. To delete rules set for mail policy Delete all domain rules. To list out all the mail policy rules. To disable mail policy groups of a particular group. To modify the mail policy rules. To disable mail policy rules for a user. To set the mail policy configuration. MailBox Quota: listquotapolicy.sh getdefaultquotasize.sh getdomainquotapolicy.sh getuserquotapolicy.sh setquota.sh setdefaultquotasize.sh setdomainquotapolicy.sh resetquotapolicy.sh getquota.sh getquotawarnlimit.sh updateusedquota.sh To view the options available in the quota policy Specify the maximum amount of disk space that each user's mail storage can occupy To view the current quota policy for the individual user To find out the quota rules of a particular user. To set the quota used and allocated for a particular user/users of particular domain. To set a default quota size. Change the domain default To reset the quota policy. To get the quota used and allocated for a particular user/users of particular domain. To get the warning limit for quota policy implementation. To update the used quota of a particular user/users of particular domain.

Page 15 of 15 setuserquotapolicy.sh To set the quota rules of a particular user. Agent: agent_update_used_quota.sh agent_quota_overuse_warning.sh This agent runs periodically, scans the mailbox of each user, computes the used disk space and stores it for use by the applications. This agent runs periodically, scans the mailbox usage by each user and depending on the configuration of the quota alerting system, will raise alerts to the users prompting them to clean their mailboxes. Filter User level: addfilter.sh setfilterstate.sh updatefilter.sh regenmainfilter.sh deletefilters.sh movefilter.sh listuserfilters.sh Add filter information in the database. Enable/Disable filters for users. To update filter. Regeneration of a filter. To delete existing filters. To change the priority of the filter. To list users current filters. Domain Level: filterstate.sh buildfilterfile.sh Enable/Disable filter for domain/server. Create the filter file. Mail Fetcher/Mail Retriever Fetchmail fetchmail.start.sh fetchmail.status.sh fetchmail.stop.sh startfetchcycle.sh To start fetchmail service To find the status of fetchmail. To stop fetchmail service. To restart service.

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 16 of 16 disableautofetchmail.sh enableautofetchmail.sh Disables fetchmail daemon Enables fetchmail daemon Server Level: setconcurrency.sh getconcurrency.sh getdefaultexpungelimit.sh setdefaultexpungelimit.sh getdefaultsizelimit.sh setdefaultsizelimit.sh getloglevel. setloglevel.sh getextraoptions.sh setextraoptions.sh Sets fetchmail concurrency Prints the fetchmail concurrency. To get the default expunge limit. To set the expunge limit. To get the default size limit. To set the size limit. To get the log level. To set the log level. Prints the extra options specified by user Sets the extra options that has to be appended to the fetchmail command while executing. User Level: addpoptableentry.sh delpoptableentry.sh getpoptableentries.sh modifypoptableentry.sh getuserfetchpriority.sh setuserfetchpriority.sh getdefaultfetchlimit.sh To add a pop table entry. To delete a pop table entry. To get the current pop table entries. To modify an already existing pop table entry To View the fetch priority for a user. To Set the fetch priority for a user. To find the default fetchmail limit. setdefaultfetchlimit.sh getfetchmailschedule.sh schedulefetchmail.sh fetchmailforuser.sh To set a default limit for fetchmail. To View the currently set time interval Sets time interval for fetchmail to run in daemon mode To fetchmail for a particular user.

Page 17 of 17 getroaminginfo.sh setroaminginfo.sh To get the current status of fetchmail service. To set roaming status. Agents: agent_check_fetchmail.sh To check fetchmail services Catchall account: Server Level getcatchallrx.sh setcatchallrx.sh removecatchallrx.sh listcatchallrx.sh To get the catchall settings of ISP server. To set the catchall settings of ISP server To remove the catchall settings of ISP server To list all the catchall settings of ISP server Web proxy server Squid squid.autostart.sh squid.restart.sh squid.status.sh squid.stop.sh squid.start.sh Agent: agent_check_proxy_cache_logs_limit.sh agent_check_squid.sh agent_generatepxur.sh To automatically start proxy. To restart proxy. To find status of proxy. To stop proxy. To start proxy Keep a tab on the Proxy cache folder & the log files The squid service is monitored and if the service is not responding the agent will raise an alert. Generate the proxy reports after the automatic daily log rotation and create a link to this report, which is accessible from the Server Manager. Domain Level: getdefaultsquidaccessrules.sh setdefaultsquidaccessrules.sh To find out the default rules set for a proxy. To set the default rules to access squid. Server Level:

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 18 of 18 getsquidloglevel.sh getsquidport.sh setsquidloglevel.sh setsquidport.sh IsHTTPAccessAllowedforall.sh granthttpaccessforall.sh denyhttpaccessforall.sh granthttpaccess.sh denyhttpaccess.sh granthttpaccessforallbyrule.sh grantmsnaccessforallbyrule.sh grantyahooaccessforallbyrule.sh clearcache.sh granthttpaccessforip.sh denyhttpaccessforip.sh IsMSNMsgAccessAllowed.sh IsYahooMsgAccessAllowedforall.sh IsYahooMsgAccessAllowedforIP.sh User Level: To find log level of the proxy. To get port of proxy. To change the log level. To set the squid. To check the HTTP access policy for all To allow the HTTP access for all To deny the HTTP access for all To allow the HTTP access for user / IP / Domain To deny the HTTP access for user / IP / Domain To allow the HTTP access to all as per the rules configured at user / IP / Domain level To allow the MSN Messenger access to all as per the rules configured at user / IP / Domain level To allow the Yahoo messenger access to all as per the rules configured at user / IP / Domain level Clear the content cached by the proxy server To allow the HTTP access for the given IP To deny the HTTP access for the given IP To check the MSN messenger access allowed for the user To check the Yahoo messenger access allowed for the given IP To check the Yahoo messenger access allowed for the given IP grantmsnmsgaccess.sh denymsnmsgaccess.sh grantyahoomsgaccess.sh denyyahoomsgaccess.sh To allow the MSN messenger access To deny the MSN messanger access To allow the Yahoo messenger access To deny the Yahoo messanger access

Page 19 of 19 denyaccesstosites.sh removedeniedsites.sh granthttpaccessforuser.sh denyhttpaccessforuser.sh bindusertoip.sh Getbindipaddress.sh removebindipaddress.sh IsMSNMsgAccessAllowedforall.sh IsMSNMsgAccessAllowedforIP.sh To deny the access to the list of sites To remove the list of denied sites and allow them for the HTTP access To allow the HTTP access for the user To deny the HTTP access for the user To bind the user with specified IP address To check the bind IP address of the user To remove the bind IP address of the user To check the MSN messenger access allowed for the given IP To check the MSN messenger access allowed for the given IP FTP server Vsftp vsftp.start.sh vsftp.status.sh vsftp.restart.sh vsftp.stop.sh ftp_disableautostart.sh ftp_enableautostart.sh Start vsftp service Determine the status of vsftp service Restart vsftp service Stop vsftp service Disable auto start of FTP service on boot Enable auto start of FTP service on boot Agent: agent_ftp_off_warn.sh Is scheduled to run every hour to check the status of the FTP service. If the ftp service is OFF, it will raise an alert. Server Level: ftp_closeport.sh ftp_openport.sh Block remote FTP access Allow remote FTP access User Level: ftp_resetuserpass.sh To add a user which can use the FTP service.

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 20 of 20 ftp_adduser.sh ftp_deluser.sh ftp_listusers.sh To add an FTP user. To delete an FTP user. list FTP users. Instant Messaging and Chat server Jabber Jabberd.restart.sh Jabberd.start.sh Jabberd.status.sh Jabberd.stop.sh im_disableautostart.sh im_enableautostart.sh Configuration: Server Level : im_openport.sh im_closeport.sh Domain level: To restart the jabberd service. To start the jabberd service. To find the status of jabberd service. To stop the jabberd service. To disable instant messaging auto start use this. To enable auto start for instant messaging use this script. To open the im port. To close an im port enableimfordomain.sh disableimfordomain.sh listimenableddomains.sh This script will enable instant messaging for this domain This script is used to disable instant messaging for a domain This will list all the domain which have instant messaging enabled. Agents: agent_im_off_warn.sh Warn if the im is off LDAP server ldap.start.sh ldap.status.sh To start LDAP service. To find current status of LDAP service.

Page 21 of 21 ldap.stop.sh ldap.restart.sh To stop LDAP service. To restart LDAP service. Domain Level: updateldap.sh Use for add, modify,delete from LDAP using the different 'change type:' options in LDIF file. Agent: agent_check_ldap.sh Monitor the LDAP service on the local or a remote server and raise an alert if service is not responding. Web mail client Tomcat tomcat.start.sh To start tomcat server. tomcat.restart.sh To restart tomcat server. tomcat.status.sh To find status of tomcat server. agent_check_tomcat.sh To check the tomcat service of the specified server. Apache apache.start.sh apache.restart.sh apache.stop.sh sethttpport.sh gethttpport.sh getadminport.sh To start apache server. To restart tomcat server. To stop tomcat server. Modify httpd port number- Retrieved httpd port number. Retrieve the port on which Administrative console will work. setadminport.sh Set the port on which Administrative console will work. Agents: agent_check_http.sh To check the http service of the specified server.

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 22 of 22 Customization Server Level: getsessiontimeout.sh To get the login session timeout value in the webclient. setsessiontimeout.sh To set the login session timeout value in the webclient Domain level: getcolortheme.sh setmaxattachmentsize.sh setmailclientfeatures.sh To get the present color theme. To set the maximum size of attachments. To set mail client features. User level: getmailclientmailfooter.sh getmailclientpreferences.sh setmailclientpreferences.sh setusersignature.sh To get the present footer in use. To get client preferences. To set the client preferences. To set a user signature. Address books addcontact2ab.sh addcontact2gab.sh addmultiplecontacts2ab.sh addmultiplecontacts2gab.sh Add contact to personal address book. Add contact to global address book. Add multiple contacts to address book. Add multiple contacts to global address book. Calendar Administration Server Manager Monitoring:

Page 23 of 23 checkservices.sh startconsole.sh getmcsversion.sh To check services To start monitoring console. To get the MCS version. Agent: addagent.sh listagents.sh modifyagent.sh delagent.sh To add the agent To list all existing agents. To modify time interval of receiving alert. To delete agent. Backup: databackupex.sh databackup.sh datarestore.sh deletebackup.sh getbackupconfig.sh listbackups.sh listbackuptasks.sh mailstorebkup.sh To execute data backup Backup the database on the Master Server and copy to new Slave To execute a Backup Job To delete a backup. This will display the current configuration To list the Backup Jobs This will display the list of backup task To take backup of mailstore. Access control: getserveraccesscontrol.sh setserveraccesscontrol.sh To get access control of a server. To set the access control of a user. Domain Level Domain: adddomain.sh deldomain.sh istdomain.sh getdefaultdoamin.sh Create a new domain Delete an existing domain. List all the existing domains. To get the default domain.

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 24 of 24 setadminid.sh getadminid.sh States the status reporting EmailID. To get id of administrator. Group: addgroup.sh listgroupbounceadmins.sh listgroupsforbounceadmin.sh To add group Retrieve the bounce administrator(s) designated for a group id This script will list groups whose bounce admin is this user setgroupbounceadmin.sh deletegroupbounceadmin.sh addusersingroup.sh Isgroup.sh listgroupnames.sh listusergroups.sh This script will delete groups whose bounce admin is this user add Users in a Group To find if group exists. To list all the existing group names. To list users of a group. Access control: getdomainaccesscontrol.sh setdomainaccesscontrol.sh To get access control for a particular domain To set access control for a domain. Catchall account: getcatchall.sh setcatchall.sh removecatchall.sh To get local catchall settings for the domain. To set local catchall settings for the domain. To remove the local catchall settings for the domain. User level Mail delivery : getmaildeliverycommands.sh setmaildeliverycommands.sh appendmaildeliverycmd.sh removemaildeliverycmd.sh To view the current mail delivery commands set for the user To set the mail delivery commands for a user To add the mail delivery command for a user To remove the command from the mail delivery command list

Page 25 of 25 movemaildeliverycmdtop.sh movemaildeliverycmdbottom.sh movemaildeliverycmdup.sh movemaildeliverycmddown.sh resetpass.sh To move the command to the top of the mail delivery command list To move the command to the bottom of the mail delivery command list To move the command one step up in the mail delivery command list To move the command one step down in the mail delivery command list To reset password. Account Status: enableaccount.sh disableaccount.sh setaccountstatus.sh To enable an account. To disable an account. To set the status of an account. User account: deluser.sh adduser.sh addusermultiple.sh renameuser.sh Delete an user from your domain You can add user in your domain Add multiple user in a batch To rename users Delegate: delegatemailboxtouser.sh getdelegatesforuser.sh setdelegateusers.sh listdelegateusers.sh removedelegateforuser.sh undelegateuser.sh setadminaccess.sh This script is used to delegate mailbox of another user to a user. Retrieve the email accounts that have been delegated to a user. To delegate a user to another user s account. To list delegated users. Disallow delegation or access to your email account by another user (delegate). To remove all delegation setting for a user. Enable/Disable access of delegate users to administrative tasks

Technical Proposal to deploy Mithi Connect Server as an email solution Copyright 2000-2004 Mithi Software Technologies Page 26 of 26 Roles: addroles.sh listroles.sh modifyroles.sh deleteroles.sh Define roles or task that need to be assigned to junior administrators. To list the designated roles. To modify a role. To delete an assigned role. Alias: listalias.sh listallaliases.sh removealiases.sh setalias.sh To list all the aliases set for a user To list all aliases set for all users in the domain To delete an alais To add a new Alias for user. Access control: getuseraccesscontrol.sh setuseraccesscontrol.sh This script sets user access control. This script sets user access control. Enterprise Level setasmaster.sh setasslave.sh addslave.sh listjmsmessages.sh fetchcommands.sh setfetchstatus.sh setmasterfirewallconfiguration.sh setslavefirewallconfiguration.sh getfetchstatus.sh Set this server as the Master Server Set this server as slave server. Add slave information to Master information To list instant messages This script is a wrapper for FetchCommand. This script is to set fetch status to t/f. This script sets this server as domain master for existing given domain name This script sets this server as domain master for existing given domain name To find the status of fetch mail. Network settings:

Page 27 of 27 renameip.sh setmcsipaddress.sh To rename an ip for enterprise level config. Reset the IP address of this Server Server security Firewall iptables.policy.sh iptables.restart.sh This script will be called by servlets to check the rules of the firewall This script is called to restart the firewall iptables.func.sh iptables.status.sh iptables.stop.sh This script is called by other scripts to check the status of firewall This script is called to stop the firewall The information in this document is subject to change without notice. Mithi makes no warranty of any kind regarding this material and assumes no responsibility for any errors that may appear in this document. Mithi Software Technologies, Mithi Connect Server, Mithi Web Mail, Mithi Personal Address Book, Mithi Global Address Book, Mithi Corporate Directory, ithinkshop, IndiaInteractive, IndiaPage, mailjol, mailjol Unplugged, Mithi Enterprise Messaging are trademarks of Mithi Software Technologies. Other product names mentioned in this document are for identification purposes only and may be trademarks or registered trademarks of their respective companies.