Author: felixk
Date: Thu Sep  8 11:53:33 2011
New Revision: 1166640

URL: http://svn.apache.org/viewvc?rev=1166640&view=rev
Log:
Fix deprecated method

Modified:
    
james/mailet/crypto/trunk/src/main/java/org/apache/james/mailet/crypto/mailet/AbstractSign.java

Modified: 
james/mailet/crypto/trunk/src/main/java/org/apache/james/mailet/crypto/mailet/AbstractSign.java
URL: 
http://svn.apache.org/viewvc/james/mailet/crypto/trunk/src/main/java/org/apache/james/mailet/crypto/mailet/AbstractSign.java?rev=1166640&r1=1166639&r2=1166640&view=diff
==============================================================================
--- 
james/mailet/crypto/trunk/src/main/java/org/apache/james/mailet/crypto/mailet/AbstractSign.java
 (original)
+++ 
james/mailet/crypto/trunk/src/main/java/org/apache/james/mailet/crypto/mailet/AbstractSign.java
 Thu Sep  8 11:53:33 2011
@@ -580,7 +580,7 @@ public abstract class AbstractSign exten
             }
         } else {
             // is the reverse-path user different from the SMTP authorized 
user?
-            if (!reversePath.getUser().equals(authUser)) {
+            if (!reversePath.getLocalPart().equals(authUser)) {
                 return false;
             }
             // is there no "From:" address same as the reverse-path?



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to