Hi there,

after few month using successfully james 3M2 in dev mode, i m trying now to
use James 3beta 1.
New James launching is quite fine in Eclipse ans mysql database... But when
i m trying to send mail from localhost to localhost, it does nt work, i don
't see new message in mailbox....  here is what i got after trying multiple
configurations : i m sending from [email protected] to [email protected]

INFO  11:44:05,311 | james.smtpserver | ID=404722680 Connection established
from 127.0.0.1 (127.0.0.1)
INFO  11:44:05,404 | james.smtpserver | ID=404722680 Successfully spooled
mail Mail1308563045397-7836577b-dca2-4ce3-9ac3-60b4259b05bc from
[email protected] on 127.0.0.1 for [[email protected]]
INFO  11:44:05,505 | james.smtpserver | ID=404722680 Connection closed for
127.0.0.1 (127.0.0.1)
INFO  11:44:05,638 | james.dnsservice | Couldn't resolve MX records for
domain 127.0.0.1.
INFO  11:44:05,639 | james.mailetcontext | Temporary problem looking up mail
server for host: 127.0.0.1
INFO  11:44:05,639 | james.mailetcontext | Temporary exception delivering
mail (Mail1308563045397-7836577b-dca2-4ce3-9ac3-60b4259b05bc-to-127.0.0.1:
INFO  11:44:05,639 | james.mailetcontext | Storing message
Mail1308563045397-7836577b-dca2-4ce3-9ac3-60b4259b05bc-to-127.0.0.1 into
outgoing after 0 retries

don't understand what s this "Couldn't resolve MX records for domain
127.0.0.1." . Never saw that before with james M2....


and here is what i got when sending from mat@localhost to mat@localhost :


INFO  11:47:21,409 | james.smtpserver | ID=644415964 Connection established
from 127.0.0.1 (127.0.0.1)
INFO  11:47:21,487 | james.smtpserver | ID=644415964 Successfully spooled
mail Mail1308563241482-faf28f09-e439-4b00-9491-26cf6de8e134 from
mat@localhost on 127.0.0.1 for [mat@localhost]
INFO  11:47:21,501 | james.smtpserver | ID=644415964 Connection closed for
127.0.0.1 (127.0.0.1)
INFO  11:47:21,641 | james.dnsservice | Couldn't resolve MX records for
domain localhost.
ERROR 11:47:21,642 | james.dnsservice | Couldn't resolve IP address for host
localhost.
INFO  11:47:21,642 | james.mailetcontext | Temporary problem looking up mail
server for host: localhost
INFO  11:47:21,642 | james.mailetcontext | Temporary exception delivering
mail (Mail1308563241482-faf28f09-e439-4b00-9491-26cf6de8e134-to-localhost:
INFO  11:47:21,642 | james.mailetcontext | Storing message
Mail1308563241482-faf28f09-e439-4b00-9491-26cf6de8e134-to-localhost into
outgoing after 0 retries

==> sending @localhost i can see messages in "sent" folder !! but not in
"inbox" folder with thunderbird :(

here is my dnsservice.xml

<dnsservice>
    <autodiscover>false</autodiscover>
    <authoritative>true</authoritative>
    <maxcachesize>50000</maxcachesize>
</dnsservice>
-------------------------------------------------------------------------------------------------------------------------------------------------------------
domainlist.xml :

<domainlist class="org.apache.james.domainlist.jpa.JPADomainList">
  <autodetect>true</autodetect>
  <autodetectIP>true</autodetectIP>
  <defaultDomain>localhost</defaultDomain>
</domainlist>
-------------------------------------------------------------------------------------------------------------------------------------------------------------
imapserver.xml

<imapserver enabled="true">
  <bind>localhost:143</bind>
  <connectionBacklog>200</connectionBacklog>
  <tls socketTLS="false" startTLS="false">
  </tls>

  <!-- Disallow plain authenticate / login. So any client will need to
STARTTLS before try to login -->
  <!-- or the socket must be using TLS in general -->
  <plainAuthDisallowed>false</plainAuthDisallowed>

  <!-- COMPRESS extension -->
  <compress>false</compress>

  <!-- Maximal allowed line-length before a BAD response will get returned
to the client -->
  <!-- This should be set with caution as a to high value can make the
server a target for DOS! -->
  <maxLineLength>65536</maxLineLength>

  <!-- 10MB size limit before we will start to stream to a temporary file
-->
  <inMemorySizeLimit>10485760</inMemorySizeLimit>
  <handler>
      <connectionLimit> 0 </connectionLimit>
      <connectionLimitPerIP> 0 </connectionLimitPerIP>
  </handler>
</imapserver>
-------------------------------------------------------------------------------------------------------------------------------------------------------------
smtpserver.xml

<smtpserver enabled="true">
  <bind>localhost:25</bind>
  <connectionBacklog>200</connectionBacklog>
  <tls socketTLS="false" startTLS="false">
  </tls>
  <connectiontimeout>360</connectiontimeout>
  <connectionLimit> 0 </connectionLimit>
  <connectionLimitPerIP> 0 </connectionLimitPerIP>
  <authorizedAddresses>127.0.0.0/8</authorizedAddresses>
  <authRequired>false</authRequired>
  <verifyIdentity>false</verifyIdentity>
  <maxmessagesize>0</maxmessagesize>
  <addressBracketsEnforcement>true</addressBracketsEnforcement>
  <handlerchain enableJmx="true">
    <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/>
    <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>

  </handlerchain>
</smtpserver>


Doest anyone have any clue to help me?

Another question : how to make runnable standalone james with those
sources??

Thanks,

Mat.

Reply via email to