James Mail server

James (Java Apache Mail Enterprise Server) is a 100 % Java based Mail server running on Java 1.5 or later versions.

Author: Libu Das

More Details about Apache James can be found at  http://james.apache.org/server/

Apache James latest version can be downloaded from http://james.apache.org/download.cgi

Installation on Windows

STEP 1: Download the latest version of james and unzip it

Eg: C:\ apache-james-2.3.2.zip

STEP 2: Start James by launching  C:\ apache-james-2.3.2\bin\run.bat

STEP 3: Configure Remote administrator account and server names on C:\james-2.3.2\apps\james\SAR-INF\config.xml

3.1 Add the IP/named address for the server to the

<servernames> tag.

3.2 Change the username and password in the

<administrator_account> tag (root/changeme)

STEP 4: James as Windows service

4.1 From command line goto C:\james-2.3.2\bin and issue the command

Wrapper.exe -i ..\conf\wrapper.conf

4.2 Now you will be able to Control james mail server through service

4.3  To Remove the service

Wrapper.exe -r ..\conf\wrapper.conf

Installation on Linux (Centos 6.3)

STEP 1: Download the latest version of james and unzip it

Eg: unzip apache-james-2.3.2.zip

STEP 2: Goto /james-2.3.2/bin and run run.sh

2.1 chmod u+x  *.sh (flag scripts executable)

2.2  ./run.sh

Step 3: Shut down james and make necessary changes on  /james-2.3.2/apps/james/SAR-INF/config.xml

3.1 Add the IP/named address for the server to the

<servernames> tag.

3.2 Change the username and password in the

<administrator_account> tag (root/changeme)

STEP 4: James as Linux service

4.1 Add the following lines on bin/phoenix.sh

#chkconfig: 2345 80 05

#description: James Mail Server

4.2 Create a link name on /etc/init.d

Ln –s /james-2.3.2/bin/phoenix.sh james

4.3 Chkconfig  –add james

4.4 Chkconfig –level  3 james on (make james automatically start on runlevel  3)

 

Remote Administration

Remote Administration port of james mail server is 4555, Below is some basic administration examples

Checking Mail Function

James SMTP server can be accessed on port 25

Issues and Solutions

1)      James Refuses to start up

Possible solution

a)      Check  any other service like sendmail, postfix are using port 25, if so stop the service

b)      Check for JAVA_HOME  Variable, If not add it in Phoenix.sh or User profile

c)       requested action not taken relaying denied james

add the domain name to servername tag on james-2.3.2/apps/james/SAR-INF/config.xml

d)      On windows if service doesn’t start-up check for IIS service running

About these ads

Posted on November 19, 2012, in Cent OS and tagged , , , , . Bookmark the permalink. 4 Comments.

  1. Very interesting information!Perfect just what I was searching for!

  2. I couldn’t refrain from commenting. Well written!

  3. 869443 676663I undoubtedly did not realize that. Learnt something new today! Thanks for that. 259172

  1. Pingback: Homepage

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 306 other followers

%d bloggers like this: