Exchange

Multiple WorxMail Instances

Multiple WorxMail Instances

There are several circumstances where you want to offer Multiple WorxMail Instances with preconfigured Application Settings. For example a WorxMail Version for your Microsoft Exchange Users and another Version for your Lotus Notes Users. If you just import a second Version of WorxMail in your AppController and only changing the Application Name you will experience some problems. With this hack you will be able to offer your Users preconfigured Multiple WorxMail Instances. But it is still not possible to use both Versions of this App on the same Device at the same Time. In this Case you will still get the usual behavior. This will work ofcourse with other WorksApps too, i.e. WorxWeb.

We will start with downloading the latest Version of WorxMail from Citrix. You have to wrap this .ipa as you are used to by using the Citrix MDX Toolkit. After you have your .mdx file you need to extract the policy_metadata.xml file from the .mdx. You need to do this because after we modified the .ipa the Citrix MDX Toolkit will not recognize the .ipa as WorxMail anymore.

Now to the fun part 🙂

Open the WorxMail.ipa file with WinZip or similar Tools and extract the PayLoad Folder somewhere where you will find it. Open the Folder and Right Click WorxMail.app. Open the app by selecting Show Package Content.

Multiple WorxMail Instances

Here you need to find the Info.plist File and copy it to Location where you can edit it i.e. the Desktop. Open the File with your Favorite Editor and search for CFBundleIdentifier. Below this entry you will see <string>com.citrix.mail</string>. If you are editing WorxWeb this string will be named “com.citrix.browser

Multiple WorxMail InstancesMultiple WorxMail Instances

 

This Value needs to changed! If you want to deploy a second WorxMail Version for Example for Lotus Notes change the Value to com.citrix.maillotus. Save the Info.plist and copy the file back to the WorxMail.app File by using Drag&Drop. After that you can zip the Payload Folder again into WorxMail.ipa or just replace the Folder within the existing .ipa. Please be aware of the following fact; If you want to use the Update Function within the AppController when new Versions of WorxMail are available you need to edit the Info.plist again and replace the String with the same Value! If not it is not possible to update the App.

Now it is time to wrap your modified .ipa file as usual. Before you can Upload the .mdx file to your AppController you need to replace the policy_metadata.xml within the .mdx from the beginning. After that you can upload the .mdx to your AppController give the Application a Name and start testing.

About Jens

My name is Jens Trendelkamp. I currently work as an IT Consultant at sepago GmbH. My fields of specialty are Application Delivery, SBC\VDI Solutions and Enterprise Mobility based on Products from Microsoft and Citrix.

Securing the Exchange Control Panel

Securing the Exchange Control Panel using Netscaler Application Firewall

For this Blogpost I assume that you are already Load Balancing your Exchange Servers by using the NetScaler. If not you can find here a great Deployment Guide by Citrix. In my Lab Environment I also use Content Switching. So eventually you have to adjust the Virtual Server where you will bind your Application Firewall Policy to. Let´s start!

Navigate to Security -> Application Firewall -> Profiles

Exchange Control Panel

Here we will create a new Application Firewall Profile. Enter a Profile Name as you like and click “Create”.

Exchange Control Panel

Double Click that new created Profile and switch to the Security Checks Tab. Again Double Click Deny URL. Add a new Deny URL and enter the following Syntax: “^[^?]*/ecp” without quotes and mark the “Enabled” Check Box. In the General Tab enable at least the Block Check Box. Press OK.

Exchange Control PanelExchange Control PanelExchange Control Panel

 

Within the “Configure Web Application Firewall Profile” Window switch to the Settings Tab. You can specify here what will happen if /ecp will be accessed. In my setup i decided to redirect the Person to my Blog. Obviously you can create a HTML Website and upload it to the NetScaler.

Exchange Control Panel

After we successfully created a Profile we have to create a Policy and bind the Profile to Policy. To do this we switch to the Menu Security -> Application Firewall -> Policies -> Firewall. Here we click “Add”. Choose an appropriate name for the Policy. After that select the created Profile from the Dropdown Menu and as an expression simply enter “true”. Press OK.

Exchange Control Panel

Exchange Control Panel

To finish the setup we have to bind the Profile to an vServer, Content Switch vServer or Globally. In my Lab I decided to apply this Policy to the Content Switch vServer. We do this by starting the Application Firewall Policy Manager. You will find this Tool under Security -> Application Firewall -> Application Firewall Policy Manager. Switch to the Tab “CS Virtual Server”. Double Click your Content Switch vServer and insert your Policy. Click Apply Change and you are done. You can now start to test your newly created Application Firewall and try to access the Exchange Control Panel.

Exchange Control Panel

About Jens

My name is Jens Trendelkamp. I currently work as an IT Consultant at sepago GmbH. My fields of specialty are Application Delivery, SBC\VDI Solutions and Enterprise Mobility based on Products from Microsoft and Citrix.

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close