Showing posts with label Mail. Show all posts
Showing posts with label Mail. Show all posts

Thursday, August 8, 2019

Xeams : The Extended Mail and Messaging Server Installation in Ubuntu 16.04

Hi,

In this blog article, we are going to see how to install Xeams extended mail and messaging server in ubuntu 16.04

There would not be much deviation from the installation procedure between version of Opertating System, the same procedure can be adopted for other OSes with little bit or no tweaks...

So, lets start the show....

Prerequisites
Name Version Download Page Direct Link
Java 1.7 N/A N/A
Xeams 7.0 Xeams Downloads Page Click to Download Directly

From the above prerequisite section we are going to discuss only about the installation of Xeams but not Java.

To Install Java, there are plenty of resource available online, Please refer the one appropriate to you.

1. Installation of Xeams Mail Server
Form the downloads page or using the direct link, download the Xeams extended Mail and Messaging server and put it in a preferred location you like. What you download would be a .tar file, please extract the same

Open a terminal and navigate to the folder where you have extracted the package.

At the prompt, fire the following command to install the Mail Server
> ./Install.sh
The execution of the above command would ask certain questions, If you like you can answer those or leave it blank to have the server configured with default values....

Please sit back and relax till the execution completes, which would hardly take a minute.

This installation would also install a service, which takes care of starting the service at the machine startup.

You can find the service at the below mentioned location...

/etc/init.d/xeams

Well this concludes the installation of Xeams extended Mail and Messaging server.

2.  Server Configuration

In order to configure the server, open a browser and hit the following address in the address bar

http://localhost:5272

The server configuration requires certain details in order to function correctly, which would also ask you to set the administrator account to maintain the server.

Administrator Details
The first page asks you the details for a administrator, provide the same and click next to proceed.



Server Type
The next configuration item is the server type, select the one appropriate to you, In my case I have selected the standalone type and click next to proceed.



Domain Setup
The third items is the domain setup, you can key in the domain name if you have one and click next to proceed.



Verification
The last part is the verification page, Please check the details which you have provided are correct



Logout from the application using logout menu item in Home Menu and Log back in.

You would see the administrator control panel page like the one given in the image below...



There are plenty other options to configure, have a walk thru if you want to configure the required features for the installation

Well this concludes the article

Hope you liked it, Thanks.

Wednesday, August 7, 2019

How to set up DevNull SMTP Server for your development and testing environment

Hi,

In this post we are going to see how to install a DevNull SMTP server for our development/testing environment...

Many of us as developers would always encounter a situation during development/testing, the mailing feature of the application. We have different ways of setting up SMTP Server locally but those are very time consuming or the server package would require a lot of configuration to be done.

But with DevNull it will be like a cake walk to have SMTP server installed locally with minimal or no configurations.

For details you can refer the following site to have more details about DevNull

Official Site of DevNull

Let us go straight into the business of installing DevNull SMTP server in our development/testing environment

1. Installation
1. Please download DevNull SMTP server package using the link given below and hold it in your preferred location.

Direct Link : Download DevNull SMTP Server

2. Open an terminal and navigate to the folder where you have downloaded DevNull server package

3. At the prompt, fire the command as given below...
> java -jar DevNullSmtp.jar

2. Usages

Graphical User Interface Option
If you want the Graphical User Interface along with SMTP server, then fire the command below
> java -jar DevNullSmtp.jar

the result of the command execution would result something like the image given below...


the GUI has three important parts to be talked about....

1. The Listening PORT
2. Control to start the server
3. Place holder to save  the mail messages

The port and place holder items are configurable and we can change that anytime according to our needs.

The default port is "25", in order to have the server run make sure you do not have any service running at port 25, if you have then change the port value of DevNull SMTP Server to any other value other than "25" eg "2025"

Console Option

DevNull provides another option to have the server run as console application, to achieve that run the following command at the prompt..
> java -jar DevNullSmtp.jar -console

The above command comes with a variety of switches whose discription is given below...

'-d' switch : Holds domain names from where the email comes

'-p' switch : Holds the port value of the server

'-s' switch : Holds the location where mail messages are stored.

'-h' switch : List the options with its descriptions.

Command with '-d' Switch
> java -jar DevNullSmtp.jar -console -d first.com, second.com

Command with '-p' Switch
> java -jar DevNullSmtp.jar -console -p 2025

the '-h' option would list down all the options that server contains...
> java -jar DevNullSmtp.jar -h

Well this concludes the installation of DevNull SMTP Server

Hope you had good time reading it.

Thanks.

How to set up FakeSMTP Server for your development and testing environment

Hi,

In this post we are going to see how to install a fake SMTP server for our development/testing environment...

Many of us as developers would always encounter a situation during development/testing, the mailing feature of the application. We have different ways of setting up SMTP Server locally but those are very time consuming or the server package would require a lot of configuration to be done.

But with FakeSMTP it will be like a cake walk to have SMTP server installed locally with minimal or no configurations.

For details you can refer the following site to have more details about FakeSMTP

Official Site of Fake SMTP

Let us go straight into the business of installing FakeSMTP server in our development/testing environment

1. Installation
1. Please download FakeSMTP server package using the link given below and hold it in your preferred location.

Direct Link : Download FakeSMTP Server

2. Extract the package

3. Open an terminal and navigate to the folder where you have extracted FakeSMTP server package

4. At the prompt, fire the command as given below...
> java -jar fakeSMTP-2.0.jar
This article was written at the time when FakeSMTP was at version 2.0, please change the name of the jar file accordingly in case if you have different version of FakeSMTP

2. Usages

Graphical User Interface Option
If you want the Graphical User Interface along with SMTP server, then fire the command below
> java -jar fakeSMTP-2.0.jar

the result of the command execution would result something like the image given below...



the GUI has three important parts to be talked about....

1. The PORT
2. Control to start the server
3. Place holder to save  the mail messages

The port and place holder items are configurable and we can change that anytime according to our needs.

The default port is "25", in order to have the server run make sure you do not have any service running at port 25, if you have then change the port value of FakeSMTP to any other value other than "25" eg "1024"

Background Task Option

FakeSMTP provides another option to have the server run as back ground task, to achieve that run the following command at the prompt..
> java -jar fakeSMTP-2.0.jar -b -p 2525 -a 127.0.0.1
Let us discuss the command line arguments of the above command...

'-b' switch : Indicates that the server should run as background task

'-p' switch : Holds the port value of the server

'-a' switch : Holds the IP Address, in this case the IP address is the loopback address.

You can also specify the place holder to save the mail messages with the following command.
> java -jar fakeSMTP-2.0.jar -b -o <NAME-OF-THE-FOLDER> -p 2525 -a 127.0.0.1
the switch '-o' stands for Output Folder 

If you do not want to save the mail messages in a folder you could also do that via a switch as given below...
> java -jar fakeSMTP-2.0.jar -b -m -p 2525 -a 127.0.0.1

the --help option would list down all the options that server contains...
> java -jar fakeSMTP-2.0.jar --help

Well this concludes the installation of FakeSMTP Server

Hope you had good time reading it.

Thanks.

Installing Python and Creating Virtual Environment for Pip for package installations in Ubuntu

Hi, In this post we are going to look at how to install Python and PIP and installing packages in virtual environments.. Without wasting...