OpenCms Days 2013 - A mail hosting service using OpenCms

828 views
706 views

Published on

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.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
828
On SlideShare
0
From Embeds
0
Number of Embeds
164
Actions
Shares
0
Downloads
17
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

OpenCms Days 2013 - A mail hosting service using OpenCms

  1. 1. A mail hosting service using OpenCms Antonio Cordeddu
  2. 2. • 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
  3. 3. • 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
  4. 4. SERVERMX.COM OVERVIEW
  5. 5. 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
  6. 6. Using OpenCms to manage an e-commerce site with reserved area and real time provisioning to mail system servermx.com – the challenge
  7. 7. servermx.com - home page
  8. 8. servermx.com - home page product detail
  9. 9. • 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
  10. 10. servermx.com – strength points 1) Multi domain without additional costs 2) Reserved area at mailbox user level 3) Multi-language in reserved area 4) Real time provisioning
  11. 11. servermx.com - software architecture
  12. 12. servermx.com - software info 1) OpenCms version 8.5.2 2) Debian Linux 3) Apache 4) Tomcat version 7.x 5) MySql version 5 6) Exim (mail transfer agent) 7) Dovecot (IMAP POP server) 8) Squirrell (web client) 9) Round Cube (web client)
  13. 13. THE MAIL SERVER COMPONENT
  14. 14. servermx.com – mail servers
  15. 15. servermx.com – main scenario
  16. 16. servermx.com - incoming mail scenario
  17. 17. servermx.com – reading mail scenario
  18. 18. servermx.com – outgoing mail scenario
  19. 19. servermx.com – email database
  20. 20. THE PAYMENT GATEWAY COMPONENT
  21. 21. servermx.com – e-commerce ● Paypal ● Standard API ExpressCheckout ● Java package ● Not recurrent payment ● For first payment ● For renew payment
  22. 22. servermx.com – payment workflow
  23. 23. 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
  24. 24. THE ORDER COMPONENT
  25. 25. servermx.com – order management
  26. 26. THE OPENCMS COMPONENT
  27. 27. servermx.com – actors
  28. 28. servermx.com – use cases
  29. 29. servermx.com – organizational units
  30. 30. servermx.com – user attributes
  31. 31. servermx.com – subscribed user
  32. 32. servermx.com – email user
  33. 33. servermx.com – content management The contents of the public area are managed, unsurprisingly, with OpenCms
  34. 34. servermx.com – public content management
  35. 35. 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)
  36. 36. 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
  37. 37. 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)
  38. 38. 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)
  39. 39. 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.
  40. 40. servermx.com – final resume
  41. 41. servermx.com – final thoughts The challenge was won The website is online from August 2013 You can use OpenCms not only for content management due to ● OpenCms flexibility ● OpenCms reliability I like OpenCms!
  42. 42. 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
  43. 43. servermx.com QUESTIONS?
  44. 44. servermx.com Thanks for your attention

×