Hi All!
I have been using James since September to build web-based email access
with user management. Now we moved our stuff to the production server and i definitely 
have a
prob with delivery to mailboxes.

For some reason James thinks that user is not local and push all the mail to the
error folder.
I have next settings in the config.xml:
...
         <servername>web-sites-hosts.com</servername>
         <servername>webmail.web-sites-hosts.com</servername>
...
         <mailet match="All" class="ToProcessor">
            <processor> transport </processor>
         </mailet>
...
      <processor name="transport">

         <!-- Is the recipient is for a local account, deliver it locally -->
         <mailet match="RecipientIsLocal" class="LocalDelivery"/>

         <!-- If the host is handled by this server and it did not get  locally 
delivered,  this is an invalid recipient -->
         <mailet match="HostIsLocal" class="ToProcessor">
            <processor>error</processor>
         </mailet>
...

In the spoolmanager.log i had sequences like this:

09/10/02 10:09:04 INFO  spoolmanager: ==== Begin processing mail 
Mail1034150944185-4====
09/10/02 10:09:04 INFO  spoolmanager: Processing Mail1034150944185-4 through transport
09/10/02 10:09:04 DEBUG spoolmanager.transport: Servicing mail: Mail1034150944185-4
09/10/02 10:09:04 DEBUG spoolmanager.transport: Checking Mail1034150944185-4 with 
org.apache.james.transport.matchers.RecipientIsLocal@40984b
09/10/02 10:09:04 INFO  spoolmanager: ProcessedMail1034150944185-4 through transport
09/10/02 10:09:04 INFO  spoolmanager: Result was error
09/10/02 10:09:04 INFO  spoolmanager: Processing Mail1034150944185-4 through error
09/10/02 10:09:04 DEBUG spoolmanager.error: Servicing mail: Mail1034150944185-4
09/10/02 10:09:04 DEBUG spoolmanager.error: Checking Mail1034150944185-4 with 
org.apache.james.transport.matchers.All@b33a0e
09/10/02 10:09:04 DEBUG spoolmanager.error: Servicing Mail1034150944185-4 by 
ToRepository Mailet
09/10/02 10:09:04 DEBUG spoolmanager.error: Checking Mail1034150944185-4 with 
org.apache.james.transport.LinearProcessor$1@34ce4a
09/10/02 10:09:04 DEBUG spoolmanager.error: Servicing Mail1034150944185-4 by 
Terminating%Mailet%Name
09/10/02 10:09:04 INFO  spoolmanager: ==== Removed from spool mail 
Mail1034150944185-4====

I saw the class LocalDelivery sources and as for me user 
[EMAIL PROTECTED]
should be parsed as a local user and mail should appears in the mailbox.

I have an idea about how this happens. I've added around 50 users throw TCP-based 
james manager and
after that james closes connetion each time when i send the command listusers.
Probably sthg wron with the user store?


So i have 3 major questions:

   1) How to determinate that userstore works ok?
   2) How to check if james understood the list of servernames properly.
   3) I've downloaded james-2.1a1-cvs from cvs and i was able to build it
      with RMI manager support only after i patched the makefile. May i
      download binary update with RMI manager support?

I will be appreciate for any help you'll provide.
Thanks folks!
-- 
     (`-()_.-=-.
     /66  ,  ,  \
  =(o_/=//_(    /======`
     ~"`   ~"~~`

 Yegor A. Yenikeev
 Senior developer for Offshorecreations.com
 mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to