You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2009/10/20 19:38:25 UTC
svn commit: r827736 -
/james/server/trunk/smtp-protocol-library/src/main/java/org/apache/james/smtpserver/protocol/core/AbstractAuthRequiredToRelayRcptHook.java
Author: norman
Date: Tue Oct 20 17:38:24 2009
New Revision: 827736
URL: http://svn.apache.org/viewvc?rev=827736&view=rev
Log:
Fix bug introduced while refactoring..
Modified:
james/server/trunk/smtp-protocol-library/src/main/java/org/apache/james/smtpserver/protocol/core/AbstractAuthRequiredToRelayRcptHook.java
Modified: james/server/trunk/smtp-protocol-library/src/main/java/org/apache/james/smtpserver/protocol/core/AbstractAuthRequiredToRelayRcptHook.java
URL: http://svn.apache.org/viewvc/james/server/trunk/smtp-protocol-library/src/main/java/org/apache/james/smtpserver/protocol/core/AbstractAuthRequiredToRelayRcptHook.java?rev=827736&r1=827735&r2=827736&view=diff
==============================================================================
--- james/server/trunk/smtp-protocol-library/src/main/java/org/apache/james/smtpserver/protocol/core/AbstractAuthRequiredToRelayRcptHook.java (original)
+++ james/server/trunk/smtp-protocol-library/src/main/java/org/apache/james/smtpserver/protocol/core/AbstractAuthRequiredToRelayRcptHook.java Tue Oct 20 17:38:24 2009
@@ -40,7 +40,7 @@
MailAddress rcpt) {
if (!session.isRelayingAllowed()) {
String toDomain = rcpt.getDomain();
- if (isLocalDomain(toDomain)) {
+ if (isLocalDomain(toDomain) == false) {
if (session.isAuthSupported()) {
return new HookResult(HookReturnCode.DENY,
SMTPRetCode.AUTH_REQUIRED, DSNStatus.getStatus(
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org