opencms days 2013 - a mail hosting service using opencms

44
A mail hosting service using OpenCms Antonio Cordeddu

Upload: alkacon-software-gmbh

Post on 18-Nov-2014

749 views

Category:

Technology


0 download

DESCRIPTION

Servermx.com is a professional mail hosting service for businesses looking for a reliable email solution featuring Webmail, POP3, IMAP and SMTP with spam protection and multiple domains management. In this session Antonio will explain how Servermx.com was created using OpenCms 8.5.2 in combination with a mail system and a payment gateway. The user management of mail administrators and mailbox users is done with OpenCms users, using different Organizational units. The contents of the public area are also managed by OpenCms while data orders are recorded on external tables. Users such mail administrators and mailbox users have a web interface in a private area through which to perform provisioning in real time. The Alkacon OAMP Webform and Webuser Registration modules have been used, with some customizations, to implement the project requirements. Finally, both the public area and the reserved area are available in different languages.

TRANSCRIPT

Page 1: OpenCms Days 2013 - A mail hosting service using OpenCms

A mail hosting service using OpenCms

Antonio Cordeddu

Page 2: OpenCms Days 2013 - A mail hosting service using OpenCms

• Coranto presentation• Servermx.com project overview• Software architecture• The mail servers• Payment gateway• The orders management• The users management• The content management• Alkacon OAMP customization• Multilanguage

Overview

Page 3: OpenCms Days 2013 - A mail hosting service using OpenCms

• Active since 2002• Involved in web site analysis and development• Specialized in CMS tools• We started using OpenCms since 2005• Main OpenCms projects:

• Agriturismo Ichnos• Translation of OpenCms workplace in Italian• Web site of big industry food• Last but not least... servermx.com

Coranto presentation

Page 4: OpenCms Days 2013 - A mail hosting service using OpenCms

SERVERMX.COM OVERVIEW

Page 5: OpenCms Days 2013 - A mail hosting service using OpenCms

Servermx.com is a professional mail hosting service for businesses looking for a reliable email solution featuring Webmail, POP, IMAP and SMTP with spam protection and multiple domains management.

servermx.com - what it is

Page 6: OpenCms Days 2013 - A mail hosting service using OpenCms

Using OpenCms to manage an e-commerce site with reserved area and real time provisioning to mail

system

servermx.com – the challenge

Page 7: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com - home page

Page 8: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com - home page product detail

Page 9: OpenCms Days 2013 - A mail hosting service using OpenCms

• Multi domain• IMAP, POP• SMTP• Anti spam• Web integrated reserved area admin• Web integrated reserved area for each mailbox user• Multi language servermx panel• Catch all, alias, forward, autoresponder

servermx.com – main features

Page 10: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – strength points

1) Multi domain without additional costs2) Reserved area at mailbox user level3) Multi-language in reserved area4) Real time provisioning

Page 11: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com - software architecture

Page 12: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com - software info

1) OpenCms version 8.5.2 2) Debian Linux3) Apache4) Tomcat version 7.x5) MySql version 56) Exim (mail transfer agent)7) Dovecot (IMAP POP server)8) Squirrell (web client)9) Round Cube (web client)

Page 13: OpenCms Days 2013 - A mail hosting service using OpenCms

THE MAIL SERVER COMPONENT

Page 14: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – mail servers

Page 15: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – main scenario

Page 16: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com - incoming mail scenario

Page 17: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – reading mail scenario

Page 18: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – outgoing mail scenario

Page 19: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – email database

Page 20: OpenCms Days 2013 - A mail hosting service using OpenCms

THE PAYMENT GATEWAY COMPONENT

Page 21: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – e-commerce

● Paypal ● Standard API ExpressCheckout● Java package● Not recurrent payment● For first payment● For renew payment

Page 22: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – payment workflow

Page 23: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – payment gateway details

At the end of the payment process, the servermx system has performed the following activities:

● Creation of the user● Setting of the mail hosting product (status active)● Sending welcome email● Automatic login● User can start to use the product since the provisioning is performed in real time

Page 24: OpenCms Days 2013 - A mail hosting service using OpenCms

THE ORDER COMPONENT

Page 25: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – order management

Page 26: OpenCms Days 2013 - A mail hosting service using OpenCms

THE OPENCMS COMPONENT

Page 27: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – actors

Page 28: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – use cases

Page 29: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – organizational units

Page 30: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – user attributes

Page 31: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – subscribed user

Page 32: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – email user

Page 33: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – content management

The contents of the public area are managed, unsurprisingly, with OpenCms

Page 34: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – public content management

Page 35: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – batch tasks

● Daily batch checks the status of the mail hosting

product● It warnings when the user product is going to expire● It closes the expired product and their mailboxes

● Hourly batch that creates invoices in pdf format using Apache™ FOP (Formatting Objects Processor)

Page 36: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – Alkacon OAMP customization

We use:● Alkacon OAMP Webform● Alkacon OAMP Webuser registration

After studying source code of these OpenCms Alkacon modules we were able to implements the requirements of the project

Page 37: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – Alkacon OAMP customization action class

We use action class● New mailbox user● Edit mailbox user● Password forgot● Change password

To get this you have to implement the interface: I_CmsWebformActionHandler (method afterWebformAction)

Page 38: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – Alkacon OAMP customization custom field

We have custom fields to manage custom validation:

● Alias● Password● TextFieldUsername

To get this you have to do the following steps:● Set the file opencmsdir/WEB-INF/classes/custom_form_field.properties● Modify the xsd schema (inputfield.xsd) ● Update the template file (StringTemplate format)

Page 39: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – multi-language

Both the public and private area are multi-language. Is usual to find multi-language sites. But you can't easy find multi-language in the private area.

The users are OpenCms users so it's not been too difficult to manage the multi language in the private area.

Page 40: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – final resume

Page 41: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – final thoughts

The challenge was wonThe website is online from August 2013

You can use OpenCms not only for content management due to● OpenCms flexibility● OpenCms reliability

I like OpenCms!

Page 42: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com – the evolution of the project

What are we going to develop:● Other languages: Spanish, … ● Shared collaboration/Calendar● Become a domain name registrar (.com, .net, .it)● Extend payment with recurring payment

Page 43: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com

QUESTIONS?

Page 44: OpenCms Days 2013 - A mail hosting service using OpenCms

servermx.com

Thanks for your attention