[jira] Updated: (JAMES-461) Javamail Store based MailRepository support (was: Maildir support)

2006-06-11 Thread Joachim Draeger (JIRA)
 [ http://issues.apache.org/jira/browse/JAMES-461?page=all ]

Joachim Draeger updated JAMES-461:
--

Attachment: diff_to-javamaildir-0.7-pre1-2.diff

patch to javamaildir-0.7-pre1 for javamailstore-mailrepository-4

 Javamail Store based MailRepository support (was: Maildir support)
 --

  Key: JAMES-461
  URL: http://issues.apache.org/jira/browse/JAMES-461
  Project: James
 Type: New Feature

   Components: MailStore  MailRepository
 Reporter: Norman Maurer
 Assignee: Stefano Bagnara
  Fix For: 2.4.0
  Attachments: JavamailStoreMailRepository.java, 
 JavamailStoreMailRepository2.zip, MaildirMailRepository.java, 
 MaildirMailRepository.java, UIDPlusFolderMailRepository1.zip, 
 diff_to-javamaildir-0.7-pre1-2.diff, javamailstore-mailrepository-3.zip, 
 javamailstore-mailrepository-4.zip

 Add support for Javamail Stores as MailRepositories

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



Re: Where to create MailRepository var/mail/inboxes directory?

2006-06-11 Thread Norman Maurer
Am Sonntag, den 11.06.2006, 12:15 +0200 schrieb Joachim Draeger:
 Hi!
 
 Eviroment: Windows, James Trunk/2.3.0b1, JRE 1.5
 
 At the moment I use the current directory and add 
 apps/james/var/mail/inboxes/user in JavaMailStoreMailRepository.
 I always called bin/run from James root directory. Sometimes I noticed that a 
 derbydb was created in the uplevel directory.
 After further investigations I noticed this derbydb (UserRepository/Spool???) 
 is 
 created at ../apps/james/var/derbydb so I conclude run should be called from 
 the 
 bin folder and I should use ../apps/james/var/mail/inboxes/user.
 Isn't there a cleaner way? Or is there an intent why it works this way?
 Everything else seems to be in the right place independent from the current 
 directory when calling run.
 
 Joachim

I notice exact the same sometimes.. but it happen to me not often. Can
you fill a bugreport with all needed infos ? Can you reproduce it ?

bye
Norman



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


svn commit: r413449 - in /james/server/trunk/src: java/org/apache/james/transport/matchers/SenderIsRegex.java test/org/apache/james/transport/matchers/SenderIsNullTest.java test/org/apache/james/trans

2006-06-11 Thread norman
Author: norman
Date: Sun Jun 11 07:17:27 2006
New Revision: 413449

URL: http://svn.apache.org/viewvc?rev=413449view=rev
Log:
Throw an MessagingException if pattern is empty
Add junit test for SenderIsRegex and SenderIsNull matcher

Added:

james/server/trunk/src/test/org/apache/james/transport/matchers/SenderIsNullTest.java

james/server/trunk/src/test/org/apache/james/transport/matchers/SenderIsRegexTest.java
Modified:

james/server/trunk/src/java/org/apache/james/transport/matchers/SenderIsRegex.java

Modified: 
james/server/trunk/src/java/org/apache/james/transport/matchers/SenderIsRegex.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/transport/matchers/SenderIsRegex.java?rev=413449r1=413448r2=413449view=diff
==
--- 
james/server/trunk/src/java/org/apache/james/transport/matchers/SenderIsRegex.java
 (original)
+++ 
james/server/trunk/src/java/org/apache/james/transport/matchers/SenderIsRegex.java
 Sun Jun 11 07:17:27 2006
@@ -56,7 +56,7 @@
 
 public void init() throws MessagingException {
 String patternString = getCondition();
-if (patternString == null) {
+if ((patternString == null) || (patternString.equals())) {
 throw new MessagingException(Pattern is missing);
 }
 

Added: 
james/server/trunk/src/test/org/apache/james/transport/matchers/SenderIsNullTest.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/test/org/apache/james/transport/matchers/SenderIsNullTest.java?rev=413449view=auto
==
--- 
james/server/trunk/src/test/org/apache/james/transport/matchers/SenderIsNullTest.java
 (added)
+++ 
james/server/trunk/src/test/org/apache/james/transport/matchers/SenderIsNullTest.java
 Sun Jun 11 07:17:27 2006
@@ -0,0 +1,71 @@
+/***
+ * Copyright (c) 2006 The Apache Software Foundation.  *
+ * All rights reserved.*
+ * --- *
+ * Licensed under the Apache License, Version 2.0 (the License); you *
+ * may not use this file except in compliance with the License. You*
+ * may obtain a copy of the License at:*
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0  *
+ * *
+ * Unless required by applicable law or agreed to in writing, software *
+ * distributed under the License is distributed on an AS IS BASIS,   *
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or *
+ * implied.  See the License for the specific language governing   *
+ * permissions and limitations under the License.  *
+ ***/
+
+package org.apache.james.transport.matchers;
+
+import java.io.UnsupportedEncodingException;
+import java.util.Collection;
+
+import javax.mail.MessagingException;
+
+import org.apache.mailet.MailAddress;
+import org.apache.mailet.Matcher;
+
+public class SenderIsNullTest extends AbstractSenderIsTest {
+
+public SenderIsNullTest(String arg0) throws UnsupportedEncodingException {
+super(arg0);
+}
+
+// test if matched
+public void testSenderIsMatchedAllRecipients() throws MessagingException {
+setSender(null);
+
+setupMockedMail();
+setupMatcher();
+
+Collection matchedRecipients = matcher.match(mockedMail);
+
+assertNotNull(matchedRecipients);
+assertEquals(matchedRecipients.size(), mockedMail.getRecipients()
+.size());
+}
+
+// test if not matched
+public void testSenderIsNotMatchedAllRecipients() throws 
MessagingException {
+setSender(new MailAddress([EMAIL PROTECTED]));
+
+setupMockedMail();
+setupMatcher();
+
+Collection matchedRecipients = matcher.match(mockedMail);
+
+assertNull(matchedRecipients);
+}
+
+protected Matcher createMatcher() {
+return new SenderIsNull();
+}
+
+protected String getConfigOption() {
+return SenderIsNull;
+}
+
+protected String getConfigValue() {
+return ;
+}
+}

Added: 
james/server/trunk/src/test/org/apache/james/transport/matchers/SenderIsRegexTest.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/test/org/apache/james/transport/matchers/SenderIsRegexTest.java?rev=413449view=auto
==
--- 
james/server/trunk/src/test/org/apache/james/transport/matchers/SenderIsRegexTest.java
 (added)
+++ 

svn commit: r413450 - in /james/server/trunk/src: java/org/apache/james/transport/matchers/RecipientIsRegex.java test/org/apache/james/transport/matchers/RecipientIsRegexTest.java

2006-06-11 Thread norman
Author: norman
Date: Sun Jun 11 07:23:36 2006
New Revision: 413450

URL: http://svn.apache.org/viewvc?rev=413450view=rev
Log:
Throw exception on empty pattern.
Add junit test for this

Modified:

james/server/trunk/src/java/org/apache/james/transport/matchers/RecipientIsRegex.java

james/server/trunk/src/test/org/apache/james/transport/matchers/RecipientIsRegexTest.java

Modified: 
james/server/trunk/src/java/org/apache/james/transport/matchers/RecipientIsRegex.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/transport/matchers/RecipientIsRegex.java?rev=413450r1=413449r2=413450view=diff
==
--- 
james/server/trunk/src/java/org/apache/james/transport/matchers/RecipientIsRegex.java
 (original)
+++ 
james/server/trunk/src/java/org/apache/james/transport/matchers/RecipientIsRegex.java
 Sun Jun 11 07:23:36 2006
@@ -47,7 +47,7 @@
 
 public void init() throws javax.mail.MessagingException {
 String patternString = getCondition();
-if (patternString == null) {
+if ((patternString == null) || (patternString.equals()) ) {
 throw new MessagingException(Pattern is missing);
 }
 

Modified: 
james/server/trunk/src/test/org/apache/james/transport/matchers/RecipientIsRegexTest.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/test/org/apache/james/transport/matchers/RecipientIsRegexTest.java?rev=413450r1=413449r2=413450view=diff
==
--- 
james/server/trunk/src/test/org/apache/james/transport/matchers/RecipientIsRegexTest.java
 (original)
+++ 
james/server/trunk/src/test/org/apache/james/transport/matchers/RecipientIsRegexTest.java
 Sun Jun 11 07:23:36 2006
@@ -98,12 +98,29 @@
 setupAll();
 matchedRecipients = matcher.match(mockedMail);
 } catch (MessagingException m) {
-m.printStackTrace();
 regexException = m.getMessage();
 }
 
 assertNull(matchedRecipients);
 assertEquals(regexException, exception);
+
+}
+
+// test if an exception was thrown cause the regex was invalid
+public void testThrowExceptionWithEmptyPattern() throws MessagingException 
{
+boolean catchException = false;
+
+setRecipients(new MailAddress[] {
+new MailAddress([EMAIL PROTECTED]),
+new MailAddress([EMAIL PROTECTED]) });
+setRegex();
+
+try {
+setupAll();
+} catch (MessagingException m) {
+catchException = true;
+}
+assertTrue(catchException);
 
 }
 



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



[jira] Created: (JAMES-527) data-source for default derby maildb is configured with a relative path

2006-06-11 Thread Joachim Draeger (JIRA)
data-source for default derby maildb is configured with a relative path
---

 Key: JAMES-527
 URL: http://issues.apache.org/jira/browse/JAMES-527
 Project: James
Type: Bug

  Components: James Core  
Versions: 2.3.0, 2.4.0, 2.3.0b1
 Environment: tested on windows, jre 1.5
Reporter: Joachim Draeger
Priority: Minor
 Fix For: 2.3.0


Data source is configured with a relative path in config.xml:

 dburljdbc:derby:../apps/james/var/derbydb;create=true/dburl

The path is relative to the current directory when starting james. Calling run 
from the bin folder is allright. Calling it from James root directory 
bin\run.bat causes the db to be created in the uplevel directory.

Possible solutions:

 - add a  cd PHOENIX_HOME in start scripts
 - evaluate the PHOENIX_HOME enviroment variable in James






-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Created: (JAMES-528) Add whitelist support

2006-06-11 Thread Vincenzo Gianferrari Pini (JIRA)
Add whitelist support
-

 Key: JAMES-528
 URL: http://issues.apache.org/jira/browse/JAMES-528
 Project: James
Type: New Feature

  Components: Matchers/Mailets (bundled)  
Versions: 2.3.0b1
Reporter: Vincenzo Gianferrari Pini
 Assigned to: Vincenzo Gianferrari Pini 
Priority: Minor
 Fix For: 2.3.0b1


Add matcher/mailets providing whitelist support, to reduce false positives in 
anti-spam detection.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



svn commit: r413524 - in /james/server/trunk/src: conf/james-config.xml conf/sqlResources.xml java/org/apache/james/transport/mailets/WhiteListManager.java java/org/apache/james/transport/matchers/IsI

2006-06-11 Thread vincenzo
Author: vincenzo
Date: Sun Jun 11 13:18:59 2006
New Revision: 413524

URL: http://svn.apache.org/viewvc?rev=413524view=rev
Log:
Adding whitelist support matcher and mailet (see 
http://issues.apache.org/jira/browse/JAMES-528).

Added:

james/server/trunk/src/java/org/apache/james/transport/mailets/WhiteListManager.java

james/server/trunk/src/java/org/apache/james/transport/matchers/IsInWhiteList.java
Modified:
james/server/trunk/src/conf/james-config.xml
james/server/trunk/src/conf/sqlResources.xml

Modified: james/server/trunk/src/conf/james-config.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/conf/james-config.xml?rev=413524r1=413523r2=413524view=diff
==
--- james/server/trunk/src/conf/james-config.xml (original)
+++ james/server/trunk/src/conf/james-config.xml Sun Jun 11 13:18:59 2006
@@ -214,6 +214,37 @@
  /mailet
  --
 
+ !-- Whitelist Management --
+ !-- Manages for each local user a white list of remote addresses 
whose messages --
+ !-- should never be blocked as spam. --
+ !-- --
+ !-- If automaticInsert is true, it will check, for a local sender, 
if a remote recipient --
+ !-- is already in the list: if not, it will be automatically 
inserted. --
+ !-- This is under the interpretation that if a local sender X sends 
a message to a --
+ !-- remote recipient Y, then later on if a message is sent by Y to X 
it should be --
+ !-- considered always valid and never blocked; hence Y should be in 
the white list --
+ !-- of X. --
+ !-- --
+ !-- Another mode of operations is when a local sender sends a 
message to whitelistManagerAddress --
+ !-- with one of three specific values in the subject, to --
+ !-- (i) send back a message displaying a list of the addresses in 
his own list (displayFlag); --
+ !-- (ii) insert some new addresses in his own list (insertFlag); 
--
+ !-- (iii) remove some addresses from his own list (removeFlag). --
+ !-- In all of the three above cases the message will be ghosted and 
the postmaster will reply --
+ !-- to the sender. --
+ !-- --
+ !-- The sender name is always converted to its primary name 
(handling aliases). --
+ !--
+ mailet match=SMTPAuthSuccessful class=WhiteListManager 
onMailetException=ignore
+repositoryPathdb://maildb/repositoryPath
+automaticInserttrue/automaticInsert
+whitelistManagerAddress[EMAIL 
PROTECTED]/whitelistManagerAddress
+displayFlagdisplay/displayFlag
+insertFlaginsert/insertFlag
+removeFlagremove/removeFlag
+ /mailet
+ --
+
  !-- not spam bayesian analysis feeder. --
  !--
  mailet match=[EMAIL PROTECTED] class=BayesianAnalysisFeeder
@@ -328,6 +359,15 @@
 processor transport /processor
  /mailet
  --
+
+ !-- If the sender is in a recipient's whitelist, it is a valid 
sender, --
+ !-- and as such the message should not be considered spam for such 
recipient. --
+ !--
+ mailet match=IsInWhiteList=db://maildb class=ToProcessor 
onMatchException=noMatch
+processor transport /processor
+ /mailet
+ --
+
  !-- End of White List --
 
  !-- Check for delivery from a known spam server --

Modified: james/server/trunk/src/conf/sqlResources.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/conf/sqlResources.xml?rev=413524r1=413523r2=413524view=diff
==
--- james/server/trunk/src/conf/sqlResources.xml (original)
+++ james/server/trunk/src/conf/sqlResources.xml Sun Jun 11 13:18:59 2006
@@ -722,5 +722,116 @@
 
 /sqlDefs
 
+!-- SQL statements to support the WhiteListManager mailet and the 
IsInWhiteList matcher --
+!-- --
+sqlDefs name=WhiteList
+
+sql name=whiteListTableNamewhitelist/sql
+
+!-- Statements used to retrieve a single entry. --
+sql name=selectByPKSELECT localUser, localHost FROM whitelist where 
(localUser=? AND localHost=? AND remoteUser=? AND remoteHost=?)/sql
+
+!-- Statements used to all entries by sender address. --
+sql name=selectBySenderSELECT remoteUser, remoteHost FROM whitelist 
where (localUser=? AND localHost=?) ORDER BY remoteUser, remoteHost/sql
+
+!-- Statements used to insert an entry. --
+sql name=insertINSERT INTO whitelist (localUser, localHost, 
remoteUser, remoteHost) VALUES (?,?,?,?)/sql
+
+!-- Statements used to delete an entry. --
+sql name=deleteByPKDELETE FROM whitelist where (localUser=? AND 
localHost=? AND remoteUser=? AND remoteHost=?)/sql
+
+!-- Statements used to create the whitelist table. --
+sql name=createWhiteListTable db=hypersonic
+CREATE TABLE whitelist (
+  

svn commit: r413525 - in /james/server/branches/v2.3/src: conf/james-config.xml conf/sqlResources.xml java/org/apache/james/transport/mailets/WhiteListManager.java java/org/apache/james/transport/matc

2006-06-11 Thread vincenzo
Author: vincenzo
Date: Sun Jun 11 13:20:10 2006
New Revision: 413525

URL: http://svn.apache.org/viewvc?rev=413525view=rev
Log:
Adding whitelist support matcher and mailet (see 
http://issues.apache.org/jira/browse/JAMES-528).

Added:

james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/WhiteListManager.java

james/server/branches/v2.3/src/java/org/apache/james/transport/matchers/IsInWhiteList.java
Modified:
james/server/branches/v2.3/src/conf/james-config.xml
james/server/branches/v2.3/src/conf/sqlResources.xml

Modified: james/server/branches/v2.3/src/conf/james-config.xml
URL: 
http://svn.apache.org/viewvc/james/server/branches/v2.3/src/conf/james-config.xml?rev=413525r1=413524r2=413525view=diff
==
--- james/server/branches/v2.3/src/conf/james-config.xml (original)
+++ james/server/branches/v2.3/src/conf/james-config.xml Sun Jun 11 13:20:10 
2006
@@ -214,6 +214,37 @@
  /mailet
  --
 
+ !-- Whitelist Management --
+ !-- Manages for each local user a white list of remote addresses 
whose messages --
+ !-- should never be blocked as spam. --
+ !-- --
+ !-- If automaticInsert is true, it will check, for a local sender, 
if a remote recipient --
+ !-- is already in the list: if not, it will be automatically 
inserted. --
+ !-- This is under the interpretation that if a local sender X sends 
a message to a --
+ !-- remote recipient Y, then later on if a message is sent by Y to X 
it should be --
+ !-- considered always valid and never blocked; hence Y should be in 
the white list --
+ !-- of X. --
+ !-- --
+ !-- Another mode of operations is when a local sender sends a 
message to whitelistManagerAddress --
+ !-- with one of three specific values in the subject, to --
+ !-- (i) send back a message displaying a list of the addresses in 
his own list (displayFlag); --
+ !-- (ii) insert some new addresses in his own list (insertFlag); 
--
+ !-- (iii) remove some addresses from his own list (removeFlag). --
+ !-- In all of the three above cases the message will be ghosted and 
the postmaster will reply --
+ !-- to the sender. --
+ !-- --
+ !-- The sender name is always converted to its primary name 
(handling aliases). --
+ !--
+ mailet match=SMTPAuthSuccessful class=WhiteListManager 
onMailetException=ignore
+repositoryPathdb://maildb/repositoryPath
+automaticInserttrue/automaticInsert
+whitelistManagerAddress[EMAIL 
PROTECTED]/whitelistManagerAddress
+displayFlagdisplay/displayFlag
+insertFlaginsert/insertFlag
+removeFlagremove/removeFlag
+ /mailet
+ --
+
  !-- not spam bayesian analysis feeder. --
  !--
  mailet match=[EMAIL PROTECTED] class=BayesianAnalysisFeeder
@@ -328,6 +359,15 @@
 processor transport /processor
  /mailet
  --
+
+ !-- If the sender is in a recipient's whitelist, it is a valid 
sender, --
+ !-- and as such the message should not be considered spam for such 
recipient. --
+ !--
+ mailet match=IsInWhiteList=db://maildb class=ToProcessor 
onMatchException=noMatch
+processor transport /processor
+ /mailet
+ --
+
  !-- End of White List --
 
  !-- Check for delivery from a known spam server --

Modified: james/server/branches/v2.3/src/conf/sqlResources.xml
URL: 
http://svn.apache.org/viewvc/james/server/branches/v2.3/src/conf/sqlResources.xml?rev=413525r1=413524r2=413525view=diff
==
--- james/server/branches/v2.3/src/conf/sqlResources.xml (original)
+++ james/server/branches/v2.3/src/conf/sqlResources.xml Sun Jun 11 13:20:10 
2006
@@ -722,5 +722,116 @@
 
 /sqlDefs
 
+!-- SQL statements to support the WhiteListManager mailet and the 
IsInWhiteList matcher --
+!-- --
+sqlDefs name=WhiteList
+
+sql name=whiteListTableNamewhitelist/sql
+
+!-- Statements used to retrieve a single entry. --
+sql name=selectByPKSELECT localUser, localHost FROM whitelist where 
(localUser=? AND localHost=? AND remoteUser=? AND remoteHost=?)/sql
+
+!-- Statements used to all entries by sender address. --
+sql name=selectBySenderSELECT remoteUser, remoteHost FROM whitelist 
where (localUser=? AND localHost=?) ORDER BY remoteUser, remoteHost/sql
+
+!-- Statements used to insert an entry. --
+sql name=insertINSERT INTO whitelist (localUser, localHost, 
remoteUser, remoteHost) VALUES (?,?,?,?)/sql
+
+!-- Statements used to delete an entry. --
+sql name=deleteByPKDELETE FROM whitelist where (localUser=? AND 
localHost=? AND remoteUser=? AND remoteHost=?)/sql
+
+!-- Statements used to create the 

svn commit: r413526 - in /james/server/trunk/src/java/org/apache/james: transport/mailets/BayesianAnalysis.java transport/mailets/BayesianAnalysisFeeder.java util/BayesianAnalyzer.java util/JDBCBayesi

2006-06-11 Thread vincenzo
Author: vincenzo
Date: Sun Jun 11 13:28:17 2006
New Revision: 413526

URL: http://svn.apache.org/viewvc?rev=413526view=rev
Log:
Fixing @since clause from 3.0 to 2.3.0.

Modified:

james/server/trunk/src/java/org/apache/james/transport/mailets/BayesianAnalysis.java

james/server/trunk/src/java/org/apache/james/transport/mailets/BayesianAnalysisFeeder.java
james/server/trunk/src/java/org/apache/james/util/BayesianAnalyzer.java
james/server/trunk/src/java/org/apache/james/util/JDBCBayesianAnalyzer.java

Modified: 
james/server/trunk/src/java/org/apache/james/transport/mailets/BayesianAnalysis.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/transport/mailets/BayesianAnalysis.java?rev=413526r1=413525r2=413526view=diff
==
--- 
james/server/trunk/src/java/org/apache/james/transport/mailets/BayesianAnalysis.java
 (original)
+++ 
james/server/trunk/src/java/org/apache/james/transport/mailets/BayesianAnalysis.java
 Sun Jun 11 13:28:17 2006
@@ -104,7 +104,7 @@
  * @see org.apache.james.util.BayesianAnalyzer
  * @see org.apache.james.util.JDBCBayesianAnalyzer
  * @version CVS $Revision: $ $Date: $
- * @since 3.0
+ * @since 2.3.0
  */
 
 public class BayesianAnalysis

Modified: 
james/server/trunk/src/java/org/apache/james/transport/mailets/BayesianAnalysisFeeder.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/transport/mailets/BayesianAnalysisFeeder.java?rev=413526r1=413525r2=413526view=diff
==
--- 
james/server/trunk/src/java/org/apache/james/transport/mailets/BayesianAnalysisFeeder.java
 (original)
+++ 
james/server/trunk/src/java/org/apache/james/transport/mailets/BayesianAnalysisFeeder.java
 Sun Jun 11 13:28:17 2006
@@ -100,7 +100,7 @@
  * @see org.apache.james.util.BayesianAnalyzer
  * @see org.apache.james.util.JDBCBayesianAnalyzer
  * @version CVS $Revision: $ $Date: $
- * @since 3.0
+ * @since 2.3.0
  */
 
 public class BayesianAnalysisFeeder

Modified: 
james/server/trunk/src/java/org/apache/james/util/BayesianAnalyzer.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/util/BayesianAnalyzer.java?rev=413526r1=413525r2=413526view=diff
==
--- james/server/trunk/src/java/org/apache/james/util/BayesianAnalyzer.java 
(original)
+++ james/server/trunk/src/java/org/apache/james/util/BayesianAnalyzer.java Sun 
Jun 11 13:28:17 2006
@@ -74,7 +74,7 @@
  * before calling computeSpamProbability./P
  *
  * @version CVS $Revision: $ $Date: $
- * @since 3.0
+ * @since 2.3.0
  */
 
 public class BayesianAnalyzer {

Modified: 
james/server/trunk/src/java/org/apache/james/util/JDBCBayesianAnalyzer.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/util/JDBCBayesianAnalyzer.java?rev=413526r1=413525r2=413526view=diff
==
--- james/server/trunk/src/java/org/apache/james/util/JDBCBayesianAnalyzer.java 
(original)
+++ james/server/trunk/src/java/org/apache/james/util/JDBCBayesianAnalyzer.java 
Sun Jun 11 13:28:17 2006
@@ -37,7 +37,7 @@
  * different parts of the code./p
 
  * @version CVS $Revision: $ $Date: $
- * @since 3.0
+ * @since 2.3.0
  */
 
 abstract public class JDBCBayesianAnalyzer



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



svn commit: r413527 - in /james/server/branches/v2.3/src/java/org/apache/james: transport/mailets/BayesianAnalysis.java transport/mailets/BayesianAnalysisFeeder.java util/BayesianAnalyzer.java util/JD

2006-06-11 Thread vincenzo
Author: vincenzo
Date: Sun Jun 11 13:28:55 2006
New Revision: 413527

URL: http://svn.apache.org/viewvc?rev=413527view=rev
Log:
Fixing @since clause from 3.0 to 2.3.0.

Modified:

james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/BayesianAnalysis.java

james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/BayesianAnalysisFeeder.java

james/server/branches/v2.3/src/java/org/apache/james/util/BayesianAnalyzer.java

james/server/branches/v2.3/src/java/org/apache/james/util/JDBCBayesianAnalyzer.java

Modified: 
james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/BayesianAnalysis.java
URL: 
http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/BayesianAnalysis.java?rev=413527r1=413526r2=413527view=diff
==
--- 
james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/BayesianAnalysis.java
 (original)
+++ 
james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/BayesianAnalysis.java
 Sun Jun 11 13:28:55 2006
@@ -104,7 +104,7 @@
  * @see org.apache.james.util.BayesianAnalyzer
  * @see org.apache.james.util.JDBCBayesianAnalyzer
  * @version CVS $Revision: $ $Date: $
- * @since 3.0
+ * @since 2.3.0
  */
 
 public class BayesianAnalysis

Modified: 
james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/BayesianAnalysisFeeder.java
URL: 
http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/BayesianAnalysisFeeder.java?rev=413527r1=413526r2=413527view=diff
==
--- 
james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/BayesianAnalysisFeeder.java
 (original)
+++ 
james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/BayesianAnalysisFeeder.java
 Sun Jun 11 13:28:55 2006
@@ -100,7 +100,7 @@
  * @see org.apache.james.util.BayesianAnalyzer
  * @see org.apache.james.util.JDBCBayesianAnalyzer
  * @version CVS $Revision: $ $Date: $
- * @since 3.0
+ * @since 2.3.0
  */
 
 public class BayesianAnalysisFeeder

Modified: 
james/server/branches/v2.3/src/java/org/apache/james/util/BayesianAnalyzer.java
URL: 
http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/util/BayesianAnalyzer.java?rev=413527r1=413526r2=413527view=diff
==
--- 
james/server/branches/v2.3/src/java/org/apache/james/util/BayesianAnalyzer.java 
(original)
+++ 
james/server/branches/v2.3/src/java/org/apache/james/util/BayesianAnalyzer.java 
Sun Jun 11 13:28:55 2006
@@ -74,7 +74,7 @@
  * before calling computeSpamProbability./P
  *
  * @version CVS $Revision: $ $Date: $
- * @since 3.0
+ * @since 2.3.0
  */
 
 public class BayesianAnalyzer {

Modified: 
james/server/branches/v2.3/src/java/org/apache/james/util/JDBCBayesianAnalyzer.java
URL: 
http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/util/JDBCBayesianAnalyzer.java?rev=413527r1=413526r2=413527view=diff
==
--- 
james/server/branches/v2.3/src/java/org/apache/james/util/JDBCBayesianAnalyzer.java
 (original)
+++ 
james/server/branches/v2.3/src/java/org/apache/james/util/JDBCBayesianAnalyzer.java
 Sun Jun 11 13:28:55 2006
@@ -37,7 +37,7 @@
  * different parts of the code./p
 
  * @version CVS $Revision: $ $Date: $
- * @since 3.0
+ * @since 2.3.0
  */
 
 abstract public class JDBCBayesianAnalyzer



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



[jira] Resolved: (JAMES-528) Add whitelist support

2006-06-11 Thread Vincenzo Gianferrari Pini (JIRA)
 [ http://issues.apache.org/jira/browse/JAMES-528?page=all ]
 
Vincenzo Gianferrari Pini resolved JAMES-528:
-

Resolution: Fixed

Added the WhiteListManager mailet and the IsInWhiteList matcher.

 Add whitelist support
 -

  Key: JAMES-528
  URL: http://issues.apache.org/jira/browse/JAMES-528
  Project: James
 Type: New Feature

   Components: Matchers/Mailets (bundled)
 Versions: 2.3.0b1
 Reporter: Vincenzo Gianferrari Pini
 Assignee: Vincenzo Gianferrari Pini
 Priority: Minor
  Fix For: 2.3.0b1


 Add matcher/mailets providing whitelist support, to reduce false positives in 
 anti-spam detection.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (JAMES-528) Add whitelist support

2006-06-11 Thread Steve Brewin (JIRA)
[ 
http://issues.apache.org/jira/browse/JAMES-528?page=comments#action_12415783 ] 

Steve Brewin commented on JAMES-528:


Not sure what this means. Is it a need to be satisfied by code or a 
documentation? 

We can already bypass checks in the mailet chain for 'whitelist'ed senders 
using matchers such as SenderIsLocal and SenderIsRegex. Do we need to update 
the config and/or the docs. to make this clearer?

What more might a new matcher do?

 Add whitelist support
 -

  Key: JAMES-528
  URL: http://issues.apache.org/jira/browse/JAMES-528
  Project: James
 Type: New Feature

   Components: Matchers/Mailets (bundled)
 Versions: 2.3.0b1
 Reporter: Vincenzo Gianferrari Pini
 Assignee: Vincenzo Gianferrari Pini
 Priority: Minor
  Fix For: 2.3.0b1


 Add matcher/mailets providing whitelist support, to reduce false positives in 
 anti-spam detection.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Assigned: (JAMES-527) data-source for default derby maildb is configured with a relative path

2006-06-11 Thread Norman Maurer (JIRA)
 [ http://issues.apache.org/jira/browse/JAMES-527?page=all ]

Norman Maurer reassigned JAMES-527:
---

Assign To: Norman Maurer

 data-source for default derby maildb is configured with a relative path
 ---

  Key: JAMES-527
  URL: http://issues.apache.org/jira/browse/JAMES-527
  Project: James
 Type: Bug

   Components: James Core
 Versions: 2.3.0, 2.4.0, 2.3.0b1
  Environment: tested on windows, jre 1.5
 Reporter: Joachim Draeger
 Assignee: Norman Maurer
 Priority: Minor
  Fix For: 2.3.0


 Data source is configured with a relative path in config.xml:
  dburljdbc:derby:../apps/james/var/derbydb;create=true/dburl
 The path is relative to the current directory when starting james. Calling 
 run from the bin folder is allright. Calling it from James root directory 
 bin\run.bat causes the db to be created in the uplevel directory.
 Possible solutions:
  - add a  cd PHOENIX_HOME in start scripts
  - evaluate the PHOENIX_HOME enviroment variable in James

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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