Dain Kaplan ha scritto: > The memory settings were set by someone else, I assumed he had a reason, > but he could have been overzealous in his pursuit. Though we do have > 230 domains, and process a lot of mail.
ok. > Anyways, I looked at the configuration files, and there are two salient > differences: > > (1) the default uses files for storage (/var/) where my config uses the > database for everything. I think most JAMES users uses db, so you are not alone and there are no known issues with use of db (while we know that file repositories have issues under big load). File repositories are the default simply because they are ready to run and easier to configure. > (2) Mailets. The default has many more mailets. Has the code for > either matcher/mailet RecipientIsLocal/LocalDelivery changed between > 2.2.0 and 2.3.1? If the mailet uses the same logic to look up users as > the pop3server, then it makes no sense why one would succeed and the > other fail. Yes, the code has changed but it should work logically the same way. >From your description I understood that the problem was in the RecipientIsLocal matcher because the HostIsLocal matches the addresses while the RecipientIsLocal does not match them. So the issue is either in the match of the local part: is the upper/lower case for the mailboxes the same? > Below is a pruned diff of config files, i think a quick glance shows the > differences pretty well. > > Maybe I should try reconstructing my config file by editing the > default? If you look at the differences below, at least I couldn't see > any appreciable differences. Maybe you can, i'm no James expert. > > DK > > < <mailet match="InSpammerBlacklist=dnsbl.njabl.org" > class="ToProcessor"> > > <mailet match="InSpammerBlacklist=dnsbl.njabl.org." class="ToProcessor"> Please add the ending dot to blacklist servers also in your configuration. It is not related to your problem but if you don't do this JAMES will loose time and possibly fail the result depending on your OS resolver path. > < <mailet match="All" class="JDBCVirtualUserTable"> > < <table>db://maildb/VirtualUserTable</table> You use a virtualusertable: can you post a sample of the content of the database? > < <repository name="LocalUsers" > class="org.apache.james.userrepository.JamesUsersJdbcRepository" > destinationURL="db://maildb/users"> > < <sqlFile>file://conf/sqlResources.xml</sqlFile> I really don't get why it doesn't work. What db (name/version) and what jdbc driver are you using? Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
