You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by fbg111 <fb...@gmail.com> on 2007/01/11 08:40:37 UTC

Installation help?

Hi all, James (and mailserver) noob, need a little help getting it running. 
So far I've followed, to the best of my knowledge, the steps in the James
docs installation and configuration guide, as well as everything in the IBM
Developer Works article on working with James
(http://www-128.ibm.com/developerworks/java/library/j-james1.html) up to but
excluding using Javamail and JAF to test the installation.  I'm using it
with Vignette Messenger (an email marketing tool), and test emails from
Messenger don't make it to the recipient, but I'm not sure how to
troubleshoot.  First, the list of what I've done to install:

1.  Installed JDK 1.4.2_09 (Win Server 2003 Std)
2.  Unzipped James 2.3.0, installed service, started it, verified I could
telnet and login w/ root/root, killed it, and opened config.xml to modify.
3.  Changed admin pwd
4.  Explicitly specified DNS server IPs, changed DNS autodiscover to false
5.  Confirmed that DNS MX entry for this server had propagated.
6.  Disabled NNTP, set threadCount to 0 (tried deleting the whole section as
the comments seemed to suggest for less resource use, but James would't
start after that)
7.  Restarted service, telnetted back in, created two new user accounts,
bounce and reply.

I pointed Messenger at James with the following config settings:
SMTP Hosts:  127.0.0.1
SMTP Interval:  3600 (s)
Bounce Hosts:  127.0.0.1
Bounce Address:  bounce@my.mail.domain
Bounce User: bounce
Bounce Pwd: *****
Bounce Interval: 60
Reply Handler: 127.0.0.1
Reply Server: my.mail.domain
Reply User: reply
Reply Pwd: *****
Reply Interval: 60

I'm not sure I'm specifying the email domain correctly or not.  One possible
clue is that the only error msg I can find in the James logs is from
apps\james\logs\james-datetime.log file:

10/01/07 20:35:06 INFO  James: JAMES init...
10/01/07 20:35:06 INFO  James: Local host is: 106537-MESSENGER
10/01/07 20:35:06 INFO  James: Handling mail for: 106537-messenger
10/01/07 20:35:06 WARN  James: The specified postmaster address (
postmaster@my.domain.com ) is not a local address.  This is not necessarily
a problem, but it does mean that emails addressed to the postmaster will be
routed to another server.  For some configurations this may cause problems.
10/01/07 20:35:06 INFO  James: Local users repository opened
10/01/07 20:35:06 INFO  James: Private Repository LocalInbox opened
10/01/07 20:35:06 INFO  James: JAMES ...init end

106537-MESSENGER is the Windows network name for this server.  my.domain.com
is the DNS MX entry that I intend to use for my outgoing mail domain.

Any suggestions for troubleshooting this?  Thanks!




-- 
View this message in context: http://www.nabble.com/Installation-help--tf2957335.html#a8272982
Sent from the James - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Installation help?

Posted by fbg111 <fb...@gmail.com>.
I'm using 2.3.0, it's just that most of the articles on the web are for
previous versions.


Stefano Bagnara-2 wrote:
> 
> James 2.1.3 is *really* old, and I don't remember anything about it.
> Can you upgrade to 2.3.0? This would help us and you.
> 
> Stefano
> 

-- 
View this message in context: http://www.nabble.com/Installation-help--tf2957335.html#a8306213
Sent from the James - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Installation help?

Posted by Stefano Bagnara <ap...@bago.org>.
fbg111 wrote:
> 
> Stefano Bagnara-2 wrote:
>> At the start of your config.xml uncomment the servernames and put this:
>> <servernames autodetect="false" autodetectIP="false">
>>    <servername>localhost</servername>
>>    <servername>my.domain.com</servername>
>> </servernames>
>>
> 
> Thanks, tried that but no luck.  Also, I just found this guide to setting up
> James, which says to leave both autodetects set to true:
> http://java.sys-con.com/read/38667.htm
> 
> <servernames autodetect="true" autodetectIP="true">
> <!-- CONFIRM? -->
> <servername>localhost</servername>
> <servername>somedomain.com</servername>
> </servernames>
> 
> That is for James 2.1.3 though.  What happens when you leave them set to
> true, yet still explicitly specify the servernames?

James 2.1.3 is *really* old, and I don't remember anything about it.
Can you upgrade to 2.3.0? This would help us and you.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Installation help?

Posted by fbg111 <fb...@gmail.com>.

Stefano Bagnara-2 wrote:
> 
> At the start of your config.xml uncomment the servernames and put this:
> <servernames autodetect="false" autodetectIP="false">
>    <servername>localhost</servername>
>    <servername>my.domain.com</servername>
> </servernames>
> 

Thanks, tried that but no luck.  Also, I just found this guide to setting up
James, which says to leave both autodetects set to true:
http://java.sys-con.com/read/38667.htm

<servernames autodetect="true" autodetectIP="true">
<!-- CONFIRM? -->
<servername>localhost</servername>
<servername>somedomain.com</servername>
</servernames>

That is for James 2.1.3 though.  What happens when you leave them set to
true, yet still explicitly specify the servernames?


-- 
View this message in context: http://www.nabble.com/Installation-help--tf2957335.html#a8290575
Sent from the James - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Installation help?

Posted by fbg111 <fb...@gmail.com>.

Stefano Bagnara-2 wrote:
> 
> At the start of your config.xml uncomment the servernames and put this:
> <servernames autodetect="false" autodetectIP="false">
>    <servername>localhost</servername>
>    <servername>my.domain.com</servername>
> </servernames>
> 

Thanks!  I did that, but no luck.  Just so I'm clear, James is a standalone
mail server, right?  All it needs to send mail is itself, a dns server, and
a client?

Also, is there any command that can output the current config settings, like
ifconfig/ipconfig for os's?  I would just like some way to verify that it's
communicating correctly with the DNS server.  (There was a little confusion
with the network admins earlier in setting up the MX record for this mail
server).
-- 
View this message in context: http://www.nabble.com/Installation-help--tf2957335.html#a8284572
Sent from the James - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Update: tested it with Mozilla Thunderbird, works fine. Problem with Messenger MUA.

Posted by fbg111 <fb...@gmail.com>.


Stefano Bagnara-2 wrote:
> 
> At the start of your config.xml uncomment the servernames and put this:
> <servernames autodetect="false" autodetectIP="false">
>    <servername>localhost</servername>
>    <servername>my.domain.com</servername>
> </servernames>
> 
> Stefano
> 

-- 
View this message in context: http://www.nabble.com/Installation-help--tf2957335.html#a8306233
Sent from the James - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Installation help?

Posted by Stefano Bagnara <ap...@bago.org>.
fbg111 wrote:
> 10/01/07 20:35:06 INFO  James: JAMES init...
> 10/01/07 20:35:06 INFO  James: Local host is: 106537-MESSENGER
> 10/01/07 20:35:06 INFO  James: Handling mail for: 106537-messenger
> 10/01/07 20:35:06 WARN  James: The specified postmaster address (
> postmaster@my.domain.com ) is not a local address.  This is not necessarily
> a problem, but it does mean that emails addressed to the postmaster will be
> routed to another server.  For some configurations this may cause problems.
> [...]
> 106537-MESSENGER is the Windows network name for this server.  my.domain.com
> is the DNS MX entry that I intend to use for my outgoing mail domain.
> 
> Any suggestions for troubleshooting this?  Thanks!

At the start of your config.xml uncomment the servernames and put this:
<servernames autodetect="false" autodetectIP="false">
   <servername>localhost</servername>
   <servername>my.domain.com</servername>
</servernames>

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org