Thursday, May 20, 2010

Sign Up page for new mail users.

Our project has two modules and I am working on the Indintification and rputation of mail users module. For this module I started developing the sign up page for the new mail users where usrer's need to provide their identification details with NIC number, Phone number and Referee email address.
Here is a screen shot of what I have developed.












by Lakmali


Monday, May 3, 2010

A Fatal Error has occurred in Horde and Way to Overcome

For our project I was configuring my friends machine as Horde install file says. We did below setup


8. Finish configuration::


http://your-server/horde/


Go to Adminstration => Setup => Horde


Then we got this below “A fatal error has occurred so I will making this post for that, and how to overcome it. (I is very simple)




Incidentally, horde flips out any stage with incomplete


if you access it at http://localhost/horde/ and logs: "Session cookies will not work without a FQDN and with a non-empty cookie domain".


It causes FF to reload infinitely until it freezes and has to be 'kill -9'ed. Using http://localhost.localdomain/horde/ or http://127.0.0.1/horde/


And correcting my mistake


Then horde runs well http://localhost:8081/horde/

Install Horde in WAMP

I will give simple way to do it. Install Horde to the ‘WAMP’ or ‘XAMP’ in 3 steps



1. Extract tarball “horde-latest.tar” in WAMP “www” folder


2. Create database tables go to /scripts/sql and open ‘create.mysql.sql’ by import mode in wamp server.



3. Test Horde

http://your-server/horde/test.php

Wednesday, April 21, 2010

PostFix on Linux

Pre-Assumptions (Depends on the configurations done at the OS installation)

  • Domain name: localdomain.com
  • Host name: localhost.localdomain.com
  • Firewall is already configured to allow port 25:tcp
  • IPv4
  • local user account: lakmali
1. Install needed software

Install most of the needed software from Fedora Extras using yum:

Open Linux terminal and switch to super user by executing

# –su

# yum install postfix mysql-server spamassassin clamav amavisd-new cyrus-sasl clamav-update sqlgrey

2. Configure and Test PostFix

v Do some basic configuration to setup postfix before first starting it. Find the configuration variables and update them. Edit the /etc/postfix/main.cf configuration file and make the following changes:

#vi /etc/postfix/main.cf

v Do the following changes

mydomain = localdomain.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks_style = host

v Start the server for the first time:

#/sbin/service postfix start

Send a test mail to a local user using telnet: (commands are in bold and responses are in italic)

telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.

220 host.example.com ESMTP Postfix
>
EHLO testdomain.com
250-host.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
MAIL FROM: 
250 2.1.0 Ok

RCPT TO: 
250 2.1.5 Ok
DATA 
354 End data with .
Subject: Hello Lakmali
hey lakmali,
I just wanted to send some test mail to you :)
.
250 2.0.0 Ok: queued as B95C8110064 
QUIT
3. Check the users mail with the 'mail' command when logged in as the local-user (lakmali):
# mail

For more information visit : postfix-mail-server
Now I am researching on the usage of PostFix mail server to our project.


Posted by: Lakmali

Linux on Windows

I have installed Windows vista on my laptop PC, and I found the requirement of Linux OS for this project after going through the required software such as PostFix, Horde, etc. So I went for a solution where I can install Linux on my Windows OS. It was VMware workstation.

VMware workstation

VMware workstation enables the way to run multiple operating systems at the same time. We can create a new virtual machine and install the operating system we want. VMware provides wizards to easily install the required OS. I installed fedora 10, on my machine. I reserved 8GB space for fedora 10. After the installation, we can start the virtual machine, where it will boot the fedora 10 inside VMware workstation.



Virtual Machine running Linux on Windows Vista



Posted by: Lakmali

Monday, April 19, 2010

The Horde Application Framework

Horde Project is about creating high quality Open Source applications, based on PHP and the Horde Framework.

The Horde Application Framework is a general-purpose web application framework in PHP, providing classes for dealing with preferences, compression, browser detection, connection tracking, MIME handling, and more. Horde Application Framework using it, from the widely used webmail program IMP to the contact manager ‘Turba’, the calendar manager ‘Kronolith’, and many others. Horde makes heavy use of PEAR, the PHP Extension and Application Repository.


PEAR is a set of reusable PHP components providing things such as Logging, Database abstraction, and much more. The Horde applications are written in PHP, a scripting language explicitly designed to be embedded in web pages. PHP can be embedded directly into the web server, with plugins for not just Apache but also IIS, Sun Web Server, etc. Here is some links that related to this post


Posted by: Madhuka

Add-on modules for E-Sri Lanka Mail - Introduction

As our level 3 project we are working on “Add-on modules for E-Sri Lanka Mail”


Introduction

This project is mainly intended to contribute to the project e-Sri Lanka Mail service that has been undertaken by the LK Domain and which is planned to be developed as a full-featured, easy to use, tri-lingual mail service like Gmail or Yahoo mail. In addition to the ordinary features, this will be done with some more modules that will contribute for better functionality. Our contribution to this project will be by undertaking the two modules, Identification and Reputation and the Address book feature which are only a few of the modules that are to be implemented. The problem that we are going to address in this is as follows


Now a day most of the people tend to do illegal thins by creating email accounts using other peoples' names. Such people are doing illegal things, may be with the intention of harming the reputation of that person or for his/her own personal benefits. Many people have had to face many inconveniences because of such people. Importance of addressing this type of a problem is to make the receiver of the email to be sure about the sender's identity and to minimize the above mentioned threats and it's potentials to come.


As a solution to the above mentioned problem, we are going to implement the module, Identification and reputation through which, it is expected to identify the person before it is allowed him to create an account and for this some standard way such as authenticating the user by the NIC number and having some sort of an intervention of the mobile service providers as well are expected to be done. And the other module we are going to do is an additional feature that is an Address book for the convenience of the users. This will facilitate the user to keep an address book that is flexible for him to share among the users, upload and download from and to the mobile phone at the same time. For the above solutions, the Horde platform and some other technologies will be used, and they will be described as we are going on developing.



Here is Group (Wisdom) Members,


  • L.H.T. Sampath
  • D.M. Lakmali Baminiwatta
  • D.L.M Adhikari
  • J.M.S.A. Jayasuriya
  • R.K.Munidasa
  • G.P.D.M. Udantha (Me)



Supervised by: Prof Gihan Dias (Dept. of Computer Science and Eng,University of Moratuwa,Sri Lanka and Director of LK DOMAIN REGISTRY )


Supported by: Chamara Disanayake, Senior Systems Engineer, LK Domain Registry