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 "Poynter, David" <PO...@adeq.state.ar.us> on 2006/02/21 23:25:49 UTC

Domain address required

I've been getting this error:

501 Domain address required: HELO

I'm trying the sample program from the IBM site
(www-128.ibm.com/developerworks/java/library/j-james1.html).
I can add users OK but when I run the program I get the error.  I'm
running Crux Linux which is kernel 2.6.11-5
and I don't have a local MTA installed.  I'm on a mostly AD local
network, I'm the only *nix guy around.

I modified the config.xml as follows:

changed: <postmaster>poynter@localhost</postmaster>
changed: <dnsserver>xxx.xxx.xxx.xxx</dnsserver>
added a third "/" to all the file:// occurrences to use absolute paths

I tried a bunch of other stuff but I've gone back and started over.
It's prolly something pretty simple
but I can't seem to get it working.

The sample program runs until it tries to send a message, it connects to
port 25 OK, then gives the error.

Any help is appreciated....

david 

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


Re: Suitable Mail Client for James

Posted by "nurularesya ;p" <nu...@yahoo.com>.
when i execute the following on a command line: telnet localhost 995 :-
  
  +OK localhost POP3 server (JAMES POP3 Server 2.3-dev) ready

  
  where out...so any solution?
  
  thanks,
  nurularesya
  
Bernd Fondermann <be...@googlemail.com> wrote:  what happens if you execute the following on a command line:

telnet localhost 995


On 3/1/06, nurularesya ;p  wrote:
> hmm thanks...but why outlook express said..server connection error..
>
>   ------in outlook express i configure----
>
>   user : nurularesya@gmail.com
>
>   pop server : localhost
> smtp server : localhost
>
>   pop port : 995
>   smtp port : 465
>
>   -----end-----
>
>   ----in config.xml i configure----
>
>   
>       
>   
>
>   

>       
995
 //used SSL/TLS
>   

>
>   
>       
465

>    //used SSL/TLS
>
>   ----end----
>
>   after configuration, i try to connect the mail client with james server but it's doesnt work..any suggestion?
>
>   or any mail client suitable for james besides outlook express?and what about breeze?its one of the mail client?
>
>   thanks,
>   nurularesya
>
>    Bernd Fondermann  wrote:  every client supporting POP3 + SMTP should work like a breeze.
>
> On 3/1/06, nurularesya ;p  wrote:
> > hello there...
> >
>  > can i know..when i use james as mail server..what a suitable mail  client should i used?i've try to used gmail with outlook express as  mail client but its doesnt work..how about james user's?can anyone tell  me what a suitable mail client for james besides outlook xpress?
> >
> >   thanks,
> >   nurularesya
> >
> >
> > ---------------------------------
> > Yahoo! Mail
> > Bring photos to life! New PhotoMail  makes sharing a breeze.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
>
>
> ---------------------------------
> Yahoo! Mail
> Bring photos to life! New PhotoMail  makes sharing a breeze.
>

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



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Suitable Mail Client for James

Posted by Bernd Fondermann <be...@googlemail.com>.
what happens if you execute the following on a command line:

telnet localhost 995


On 3/1/06, nurularesya ;p <nu...@yahoo.com> wrote:
> hmm thanks...but why outlook express said..server connection error..
>
>   ------in outlook express i configure----
>
>   user : nurularesya@gmail.com
>
>   pop server : localhost
> smtp server : localhost
>
>   pop port : 995
>   smtp port : 465
>
>   -----end-----
>
>   ----in config.xml i configure----
>
>   <servername>
>       <server>localhost</server>
>   </servername>
>
>   <popservers>
>       <port>995</port> //used SSL/TLS
>   </popservers>
>
>   <smtpservers>
>       <port>465</port>
>   </smtpservers> //used SSL/TLS
>
>   ----end----
>
>   after configuration, i try to connect the mail client with james server but it's doesnt work..any suggestion?
>
>   or any mail client suitable for james besides outlook express?and what about breeze?its one of the mail client?
>
>   thanks,
>   nurularesya
>
>    Bernd Fondermann <be...@googlemail.com> wrote:  every client supporting POP3 + SMTP should work like a breeze.
>
> On 3/1/06, nurularesya ;p  wrote:
> > hello there...
> >
> >  can i know..when i use james as mail server..what a suitable mail  client should i used?i've try to used gmail with outlook express as  mail client but its doesnt work..how about james user's?can anyone tell  me what a suitable mail client for james besides outlook xpress?
> >
> >   thanks,
> >   nurularesya
> >
> >
> > ---------------------------------
> > Yahoo! Mail
> > Bring photos to life! New PhotoMail  makes sharing a breeze.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
>
>
> ---------------------------------
> Yahoo! Mail
> Bring photos to life! New PhotoMail  makes sharing a breeze.
>

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


Re: Suitable Mail Client for James

Posted by Vincenzo Gianferrari Pini <vi...@praxis.it>.
Those ports are the ones used with ssl, and you need to prepare many 
more things to use ssl (certificates etc). Your problem has nothing to 
do with the client.

Use plain pop (port 110) and smtp (port 25), that must always be 
supported by a server btw.

"Breeze" is not software, just an expression to mean "quite easily, like 
a blow of wind" :-) .

Vincenzo

nurularesya ;p wrote:

>hmm thanks...but why outlook express said..server connection error..
>  
>  ------in outlook express i configure----
>  
>  user : nurularesya@gmail.com
>  
>  pop server : localhost
>smtp server : localhost
>  
>  pop port : 995
>  smtp port : 465
>  
>  -----end-----
>  
>  ----in config.xml i configure----
>  
>  <servername>
>      <server>localhost</server>
>  </servername>
>  
>  <popservers>
>      <port>995</port> //used SSL/TLS
>  </popservers>
>  
>  <smtpservers>
>      <port>465</port>
>  </smtpservers> //used SSL/TLS
>  
>  ----end----
>  
>  after configuration, i try to connect the mail client with james server but it's doesnt work..any suggestion?
>  
>  or any mail client suitable for james besides outlook express?and what about breeze?its one of the mail client?
>  
>  thanks,
>  nurularesya
>  
>   Bernd Fondermann <be...@googlemail.com> wrote:  every client supporting POP3 + SMTP should work like a breeze.
>
>On 3/1/06, nurularesya ;p  wrote:
>  
>
>>hello there...
>>
>> can i know..when i use james as mail server..what a suitable mail  client should i used?i've try to used gmail with outlook express as  mail client but its doesnt work..how about james user's?can anyone tell  me what a suitable mail client for james besides outlook xpress?
>>
>>  thanks,
>>  nurularesya
>>
>>
>>---------------------------------
>>Yahoo! Mail
>>Bring photos to life! New PhotoMail  makes sharing a breeze.
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>For additional commands, e-mail: server-user-help@james.apache.org
>
>
>
>		
>---------------------------------
>Yahoo! Mail
>Bring photos to life! New PhotoMail  makes sharing a breeze. 
>  
>

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


Re: Suitable Mail Client for James

Posted by "nurularesya ;p" <nu...@yahoo.com>.
hmm thanks...but why outlook express said..server connection error..
  
  ------in outlook express i configure----
  
  user : nurularesya@gmail.com
  
  pop server : localhost
smtp server : localhost
  
  pop port : 995
  smtp port : 465
  
  -----end-----
  
  ----in config.xml i configure----
  
  <servername>
      <server>localhost</server>
  </servername>
  
  <popservers>
      <port>995</port> //used SSL/TLS
  </popservers>
  
  <smtpservers>
      <port>465</port>
  </smtpservers> //used SSL/TLS
  
  ----end----
  
  after configuration, i try to connect the mail client with james server but it's doesnt work..any suggestion?
  
  or any mail client suitable for james besides outlook express?and what about breeze?its one of the mail client?
  
  thanks,
  nurularesya
  
   Bernd Fondermann <be...@googlemail.com> wrote:  every client supporting POP3 + SMTP should work like a breeze.

On 3/1/06, nurularesya ;p  wrote:
> hello there...
>
>  can i know..when i use james as mail server..what a suitable mail  client should i used?i've try to used gmail with outlook express as  mail client but its doesnt work..how about james user's?can anyone tell  me what a suitable mail client for james besides outlook xpress?
>
>   thanks,
>   nurularesya
>
>
> ---------------------------------
> Yahoo! Mail
> Bring photos to life! New PhotoMail  makes sharing a breeze.
>

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



		
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 

Re: Suitable Mail Client for James

Posted by Bernd Fondermann <be...@googlemail.com>.
every client supporting POP3 + SMTP should work like a breeze.

On 3/1/06, nurularesya ;p <nu...@yahoo.com> wrote:
> hello there...
>
>   can i know..when i use james as mail server..what a suitable mail  client should i used?i've try to used gmail with outlook express as  mail client but its doesnt work..how about james user's?can anyone tell  me what a suitable mail client for james besides outlook xpress?
>
>   thanks,
>   nurularesya
>
>
> ---------------------------------
> Yahoo! Mail
> Bring photos to life! New PhotoMail  makes sharing a breeze.
>

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


Suitable Mail Client for James

Posted by "nurularesya ;p" <nu...@yahoo.com>.
hello there...
  
  can i know..when i use james as mail server..what a suitable mail  client should i used?i've try to used gmail with outlook express as  mail client but its doesnt work..how about james user's?can anyone tell  me what a suitable mail client for james besides outlook xpress?
  
  thanks,
  nurularesya

		
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 

Re: Domain address required

Posted by Stefano Bagnara <ap...@bago.org>.
Poynter, David wrote:
> I've been getting this error:
> 
> 501 Domain address required: HELO

This error happens then the client send an "HELO" command with no other 
parameters.
HELO (by rfc) needs an hostname after the command: James just checks it 
contains an argument.

Javamail 1.3.2 uses this algorythm to get the domain:
---------------
try {
// get our hostname and cache it for future use
if (localHostName == null || localHostName.length() <= 0)
   localHostName = session.getProperty("mail." + name + ".localhost");
if (localHostName == null || localHostName.length() <= 0)
   localHostName = session.getProperty("mail." + name + ".localaddress");
if (localHostName == null || localHostName.length() <= 0)
    localHostName = InetAddress.getLocalHost().getHostName();
} catch (UnknownHostException uhex) {
}
return localHostName;
-----------

You may want to add a props.put("mail.smtp.localhost", host); to the 
MailClient constructor.

Stefano



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