# E-mail server setup

**URL:** <https://forum.kirupa.com/t/e-mail-server-setup/57016>\
**Category:** Uncategorized\
**Created:** [July 9, 2004, 4:16pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016 "2004-07-09T16:16:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [July 9, 2004, 4:16pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/1 "2004-07-09T16:16:45Z")

</div>

Hello, I’m trying to settup James on my server and seem to be having some troubles.

1. To create users, it says I have to telnet the host and port. How do I ‘telnet’ something?

2. How do I know when it’s running, unlike Apache it closes without waiting for you to read everything it did. It scrolled through tons of stuff and closed real fast, is that god?

3. Can somebody explain to me a, and mx records. My domain register let’s me fill these in, but I have no idea what to put there, should I put my ip address?

4. Since I don’t have a static-ip, I use [no-ip.com](http://no-ip.com). Can I just replace my ip address with my account there which seems to act the same way?

Thank you so much, if you can answer any, or all, or these questions I’ll be very grateful.

Cheers,  
Jeff

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 4:45pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/2 "2004-07-09T16:45:05Z")

</div>

1:telnet ip port 🙂

example  
telnet 213.93.220.12 25

2:try sending a email 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 4:53pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/3 "2004-07-09T16:53:08Z")

</div>

oh I figured out telnet thanks, but I don’t think it’s running, and I don’t know why, it closes automatically on run… and the telnet failed to, and what about 3 and 4?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 4:58pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/4 "2004-07-09T16:58:21Z")

</div>

3:Lol, i hate mx, would like to do things with ti but… just cant seem to get it hehe.  
4:quote:which seems to act the same way

If it doesnt return any errors, and it works why bother

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 4:59pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/5 "2004-07-09T16:59:46Z")

</div>

so I don’t have to have a and mx records? isn’t that the only way to have my domain forward all the email to my server? and tehn let me send mail as if it was from my domain?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:02pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/6 "2004-07-09T17:02:05Z")

</div>

Once started you’ll see a message saying Avalon is running. This means that Avalon has loaded JAMES and every other needed Block (see /logs/avalon.log) and is now waiting for a socket request. Since at the beginning James is empty, it will not have any local users registered. To register a local user open a telnet session with localhost on port 4555, log in as root (“root[enter] \<password-you-set-in-conf.xml\>[enter]”) and type “help” for a list of available commands in the “JAMES remote administrator tool”. It is really a basic set but should allow you to test installation.

Did you see that message ?

if not back to **[font=arial,helvetica,sanserif][color=Black]Step 2: Configuration. [/color][/font]**

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:06pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/7 "2004-07-09T17:06:52Z")

</div>

whenever I want to start it should I be running the run batch file? 'cause that’s the thing that keep automatically closing

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:08pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/8 "2004-07-09T17:08:23Z")

</div>

when I try to telnet my computer it gives this error:

Connecting To localhost…Could not open connection to the host, on port 23: Connect failed

which would make it seem that james isn’t running, can I talk to you on aim?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:11pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/9 "2004-07-09T17:11:28Z")

</div>

A JVM must be present and its location specified in the JAVA\_HOME environment variable. Set this on windows at the command prompt with something similar to “set JAVA\_HOME=\jdk1.3\bin”

And

To register a local user open a telnet session with localhost on port 4555, log in as root (“root[enter] \<password-you-set-in-conf.xml\>[enter]”)

urmmmm port 4555 says my index.html of james/docs/index.html

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:17pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/10 "2004-07-09T17:17:15Z")

</div>

I put in teh set java home code and it didn’t say anything, is this good?..

and I couldn’t figure out how to login, I feel so stupid… but login isn’t a command prompt line, and when I put in the stuff with quotes and put in my password it said the file didn’t exist

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:19pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/11 "2004-07-09T17:19:50Z")

</div>

Login @ command line.

look do this. according to my index.

telnet localhost 4555  
\> root [hit enter]  
\> password-you-set-in-conf.xml [hit enter]

Than

type “help” for a list of available commands in the “JAMES remote administrator tool”. It is really a basic set but should allow you to test installation.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:24pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/12 "2004-07-09T17:24:16Z")

</div>

how, when I type telnet localhost 4555 I can’t do a return 'cause it gives me an error and then won’t let me login

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:26pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/13 "2004-07-09T17:26:25Z")

</div>

#this might help however you shouldnt really need this  
type ipconfig /all  
copy ip  
telnet ip 45555

And whats the error ?

if you cannot telnet into it: **Back to Step 2: configuration (install.html)**

and did you read of the index.html

[list]  
[_]Overview  
[_]Install  
[\*]Configuration  
[/list]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:29pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/14 "2004-07-09T17:29:00Z")

</div>

Connecting To 192.168.1.100…Could not open connection to the host, on port 45555: Connect failed

I tried 4555 and 45555, neither worked, or did you want me to use my external ip? I used my private but I doubt it makes a difference

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:33pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/15 "2004-07-09T17:33:11Z")

</div>

I’ll go over those pages again… then come back 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:35pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/16 "2004-07-09T17:35:00Z")

</div>

do I need ant seperately, or is it already inside of james when I downloaded it?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:57pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/17 "2004-07-09T17:57:09Z")

</div>

If you have downloaded a binary distribution, you do not need to build James. Proceed directory to Step 1.  
To compile James from sources you need Ant. This is a Java-tailored, XML-configured, extensible build or make system. We are currently using Ant 1.4, which is included in the source distribution.

If you did download src than you should download bin instead  
[http://apache.bestwebcover.com/james/binaries/james-2.2.0.zip](http://apache.bestwebcover.com/james/binaries/james-2.2.0.zip)  
[http://apache.intissite.com/james/james-2.2.0.zip](http://apache.intissite.com/james/james-2.2.0.zip)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2004, 5:58pm UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/18 "2004-07-09T17:58:39Z")

</div>

I downloaded binary, ok, I’ll continue looking, thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2004, 4:02am UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/19 "2004-07-10T04:02:02Z")

</div>

ok, so I got pretty far along, but now I’m getting a new error:

C:\james-2.2.0\>bin\run.bat  
Using PHOENIX\_HOME: C:\james-2.2.0  
Using PHOENIX\_TMPDIR: C:\james-2.2.0 emp  
Using JAVA\_HOME: \jdk1.3\bin  
The system cannot find the path specified.

are these variables correct? I know that’s where the file is, a minute ago I got it to get the file correctly but then I closed it, is there a way to get command prompt history?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2004, 4:47am UTC](https://forum.kirupa.com/t/e-mail-server-setup/57016/20 "2004-07-10T04:47:32Z")

</div>

where is the java installed, did you even install it ?

[Next page](https://forum.kirupa.com/t/e-mail-server-setup/57016.md?page=2)
