


  1> Install BeyondInboxCommander on Linux. 
 	Refer: http://www.beyondinbox.com/documentation/mail-backup--how-to-install-beyond-inbox-commander.html
 
 
 2> To configure Shell File (BeyondInboxCommander.sh or BeyondInboxCommander-jre.sh)-
 
 	1.Extract BeyondInboxCommander<VERSION>.tar.gz
 	2.After extracting open the BeyondInboxCommander<VERSION> folder. You will get BeyondInboxCommander.sh, BeyondInboxCommander-jre.sh and BeyondInboxCommander.jar here.
 
 		(Suppose: You have opened /home/xyz/Desktop/BeyondInboxCommander<VERSION>)
 	3.You need to modify either BeyondInboxCommander.sh or BeyondInboxCommander-jre.sh shell file. 
 
                    A. If java is already installed on Linux:- 
 			For checking if java is installed:
  			
 
                            Now Go to Applications >> Accessories >> Terminal >> 
 			
                           Write command java-version and hit enter you will find java version, if java is installed. 
 
 		          If java is already installed on Linux then you need to update BeyondInboxCommander.sh file. To run BeyondInboxCommander, Java 1.6 and its above versions require to be 				installed.
                             
 
                    B.  If you have no java installed on Linux.-
 	                   a) Download latest JRE at Desktop.  
 	                   
 			   b) Rename JRE folder with jre6.
 			 
 			   c) Copy the jre6 folder in BeyondInboxCommander<VERSION>.
 
 
 	4> Now Go to Applications >> Accessories >> Terminal >>
 	5> Get into BeyondInboxCommander Home path.
 	6> Run BeyondInboxCommander as
 		sh  BeyondInboxCommander.sh -action:backup  (If jre is already installed at your system)
 		    OR
 		sh  BeyondInboxCommander-jre.sh -action:backup 
 		.
  2> Get License. 

	A . How to get Trial License:  
		When you are running the BeyondInboxCommander first time,  you do not have the license to run it. To get the license, follow the steps.

		1.Open the terminal & get to the path where you have extracted BeyondInboxCommander folder.
		 
		   eg. Example-  xyz-desktop:~$ cd  /../Desktop/BeyondInboxCommander<VERSION> then enter
		  
		2.Run BeyondInboxCommander as-
		
					In case if you have updated BeyondInboxCommander-jre.sh file -
		
						/../Desktop/BeyondInboxCommander<VERSION>$ sh BeyondInboxCommander-jre.sh -action:backup
		
					In case if you have updated BeyondInboxCommander.sh file-
		
						/../ Desktop/BeyondInboxCommander<VERSION>$ sh BeyondInboxCommander.sh -action:backup
		
				3.It will show message:
					Sorry, we did not find license for BeyondInboxCommander at location /../Desktop/BeyondInboxCommander<VERSION>
					Do you want to use trial version [YES/NO] : YES (Type Yes to get Trail license.)
					Do you need to set proxy setting [YES/NO] : NO
				4.Now you will get the trail license at home directory of BeyondInboxCommander.
		
		
		        B. How to get Valid License: 
		
				1.Open the command prompt & go to the path where you have extracted BeyondInboxCommanderfolder. 
					Example-  xyz-desktop:~$ cd  /../Desktop/BeyondInboxCommander<VERSION> then enter
				2.Run BeyondInboxCommander as-
		
					In case if you have updated BeyondInboxCommander-jre.sh file -
		
						/../Desktop/BeyondInboxCommander<VERSION>$ sh BeyondInboxCommander-jre.sh -action:backup
		
					In case if you have updated BeyondInboxCommander.sh file-
		
						/../ Desktop/BeyondInboxCommander<VERSION>$ sh BeyondInboxCommander.sh -action:backup
				3.It will prompt that -
					Do you want to use trial version [YES/NO] : no (Type No to get Valid license.)
					Do you want to activate the product [YES/NO] : yes (Type Yes to get Valid license.)
					Please enter your email id : <email_id>
					Please enter activation key : <activation_key>
					Do you need to set proxy setting [YES/NO] : no
				4.You will get the valid license at home directory
		


  3> Edit BeyondInboxCommander configuration file.

	1. If BeyondInboxCommander configuration file does not exist it will show the message : 
		Configuration file '<BeyondInboxCommander Home>\config\BeyondInbox.xml' does not exist.
		Either use Beyond Inbox to configure BeyondInbox.xml file and then copy it at location <BeyondInboxCommander Home> or Edit BeyondInbox.xml manually.
		
		
        2. To edit BeyondInbox.xml manually
           
           1. open and edit the BeyondInbox.XML.
           2. You will find the <ImapConfig> tag in XML
	  like this 
	  
	  <ImapConfig Name="imapprofilename">
	  	<EmailId>example@example.com</EmailId>
	  	<Password>PlainText:Password</Password>
	  	<ImapServer>example.imapserver.com</ImapServer>
	  	<Port>993</Port>
	  	<SavedWithPassword>false</SavedWithPassword>
	  	<Index>OnlyHeaders</Index>
	  	<CommanderPwd>PlainText:Password</CommanderPwd>
          </ImapConfig>
          
          3. Replace "example@example.com" with the email id like john@gmail.com
          4. <Password> PlainText:Password </Password> and <CommanderPwd> PlainText:Password </CommanderPwd>- Provide the password of email id in place of Password  text, leave PlainText:  as it is.
          5. Replace "example.imapserver.com" with the corresponding IMAP server.
          6. Set the path where you want to take backup with the help of <DownloadPath> tag.
        
 
 
  4> For sendiing email report  for commander operation through BeyondInboxCommander, you need to create Email Configuration Profile. 
     To  save Email Configuration follow the given steps 
  	1.open and edit the BeyondInbox.XML.
	2.You will find the <SMTPServers> tag in XML
	  like this 
	    <SMTPServers>
                   <SMTPServer Name="emailprofilename" Status="ON">
                   <From>example1@example.com</From>
                   <To>example2@example.com</To>
                   <Cc>example3@example.com</Cc>
                   <Bcc>example4@example.com</Bcc>
                   <Port>25</Port>
                   <Secure>Yes</Secure>
                   <ServerName>example.server.com</ServerName>
                   <Password>PlainText:Password</Password>
       </SMTPServer>
	4.You will find <Password> tag with value "PlainText:Password"
	5.Now replace the Password with your desired Password.
	6.Now replace other given tag with desired value.
	7.Save your changes and close the  BeyondInbox.XML.
	
    
    
   5> Run BeyondInboxCommander at command prompt and give command like this 
       e.g.	
    
       sh BeyondInboxCommander-jre.sh -action:backup -imapprofilename:<IMAP Profile> -emailprofile:<Email Profile Name>
	
	OR
	
	sh BeyondInboxCommander.sh -action:backup -imapprofilename:<IMAP Profile> -emailprofile:<Email Profile Name>
	
	
  
  Refer : http://www.beyondinbox.com/documentation/mail-backup--how-to-backup-emails-using-commander.html
       
 


