Sunday, December 21, 2014

5.4.2 Web server Application

            Web server application running on the server computer to deliver webmail page access to the client. Web server application for this system is Uniserver 7.1.4. Web server application file extracted to respective location which is C:\PEmailOffline\UniServer for offline environment server computer. Starting Uniserver will open a Server Administrator page in a default Web Browser. The Server Administrator page only accessible by the server computer admin. Admin of the server computer used this page to configure the username and password for the admin panel configuration, private server configuration and private secure server configuration (SSL) and MySQL server configuration. MySQL is a relational database management system (RDBMS) used by the web server application. Files C:\PEmailOffline\UniServer\www\.htaccess edited with text editor and next four lines commented by adding “#” to allow external access as per Table 5.4 below:
#Order Deny,Allow
#Deny from all
#Allow from 127.0.0.1
#Allow from ::1
Table 5.4: Enable Web server External Access Script
This will disable server security limitation access from localhost only and enable access using the server IP address. The PHP value for maximum message size located in “. htaccess” file in "...UniServer\www\pemail" and “php.ini” file in "...UniServer\usr\local\php" also configured to upload maximum file size is 10MB, post maximum size is 50MB and memory limit is 64MB. This value is to give a size limit of attachment file.
This offline email system uses MIME standards and do not specify any file size limits for maximum upload size to be allowed [25].  Limits for maximum upload size can be configured in web server setting file “php.ini”, where the maximum attachment size is 2147483647 MB which is a maximum value for a 32-bit signed integer supported by a SQL database. The maximum message size is unlimited by setting the value to zero. The maximum disk space that the account may use is limited to the server computer hard disk storage available space. If the hard disk is full, the limit is reached and the account will not be able to receive any more email. If a maximum message size is specified, the mail server will reject messages larger than that size. It is recommended to set a maximum message size limit to prevent the server from any types of attack. As an example, attackers could send a big size message and fills the server hard disk which will cause a problem to the server computer.
This offline email system maximum message size is set to 50MB. The mail server will reject messages larger than this size. Email content size is small and usually 1MB or less. This offline email system maximum message size is set to 10MB. Limiting maximum attachment size default value 10MB is acceptable to ensure the mail server network performance is not dropping when multiple users uploading a very big file at the same time to the mail server. Limiting the size of email attachments to 10MB is also a safe setting for the maximum size of an email since other email services commonly used 10MB as a maximum size of an email attachment. If the maximum size of an email attachment is 30MB or greater than 10MB and this offline email system is successfully send the email to the receiver, there is no guarantee that the receiver can receive the email since there is a different maximum size limitation of email attachment on every email service. Gmail limiting the size of email attachments to 25MB with no specified limit to the number of attachment as long the total size is 25MB [26]. Yahoo Mail allows user to upload up to 50 files to an email message as long as the total message size remains under 25MB [27].

Every email account has total allocated maximum size storage. If an email is sent to this account when the quota has been used, the mail server will deliver a notification to the sender containing the information that the quota for the recipient had been reached. After that, the email message will be dropped. Each email in this offline email system allocated size is set to 250MB.

No comments:

Post a Comment