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 "Frank Stolle (JIRA)" <se...@james.apache.org> on 2009/04/14 10:51:14 UTC
[jira] Created: (JSPF-71) $ in mail address causes
java.lang.IllegalArgumentException: Illegal group reference
$ in mail address causes java.lang.IllegalArgumentException: Illegal group reference
-------------------------------------------------------------------------------------
Key: JSPF-71
URL: https://issues.apache.org/jira/browse/JSPF-71
Project: JAMES jSPF
Issue Type: Bug
Affects Versions: 0.9.6
Reporter: Frank Stolle
The following code raises an unexpected exception:
String heloname = "host-64-234-102-235.nctv.com"; // helo_name
String ip = "64.234.102.235"; // client_address
String from = "Patsy{$LNAME}@sprint.com"; // sender
DefaultSPF spf = new DefaultSPF();
SPFResult result = spf.checkSPF(ip, from, heloname);
java.lang.IllegalArgumentException: Illegal group reference
at java.util.regex.Matcher.appendReplacement(Matcher.java:706)
at org.apache.james.jspf.core.MacroExpand.expandMacroString(MacroExpand.java:280)
at org.apache.james.jspf.core.MacroExpand.expandDomain(MacroExpand.java:231)
at org.apache.james.jspf.core.MacroExpand.expand(MacroExpand.java:178)
at org.apache.james.jspf.core.MacroExpand.checkExpand(MacroExpand.java:162)
at org.apache.james.jspf.terms.ExistsMechanism.checkSPF(ExistsMechanism.java:74)
at org.apache.james.jspf.executor.SynchronousSPFExecutor.execute(SynchronousSPFExecutor.java:54)
at org.apache.james.jspf.impl.SPF.checkSPF(SPF.java:332)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Resolved: (JSPF-71) $ in mail address causes
java.lang.IllegalArgumentException: Illegal group reference
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JSPF-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved JSPF-71.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.9.7
> $ in mail address causes java.lang.IllegalArgumentException: Illegal group reference
> -------------------------------------------------------------------------------------
>
> Key: JSPF-71
> URL: https://issues.apache.org/jira/browse/JSPF-71
> Project: JAMES jSPF
> Issue Type: Bug
> Affects Versions: 0.9.6
> Reporter: Frank Stolle
> Assignee: Norman Maurer
> Fix For: 0.9.7
>
>
> The following code raises an unexpected exception:
> String heloname = "host-64-234-102-235.nctv.com"; // helo_name
> String ip = "64.234.102.235"; // client_address
> String from = "Patsy{$LNAME}@sprint.com"; // sender
> DefaultSPF spf = new DefaultSPF();
> SPFResult result = spf.checkSPF(ip, from, heloname);
> java.lang.IllegalArgumentException: Illegal group reference
> at java.util.regex.Matcher.appendReplacement(Matcher.java:706)
> at org.apache.james.jspf.core.MacroExpand.expandMacroString(MacroExpand.java:280)
> at org.apache.james.jspf.core.MacroExpand.expandDomain(MacroExpand.java:231)
> at org.apache.james.jspf.core.MacroExpand.expand(MacroExpand.java:178)
> at org.apache.james.jspf.core.MacroExpand.checkExpand(MacroExpand.java:162)
> at org.apache.james.jspf.terms.ExistsMechanism.checkSPF(ExistsMechanism.java:74)
> at org.apache.james.jspf.executor.SynchronousSPFExecutor.execute(SynchronousSPFExecutor.java:54)
> at org.apache.james.jspf.impl.SPF.checkSPF(SPF.java:332)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Assigned: (JSPF-71) $ in mail address causes
java.lang.IllegalArgumentException: Illegal group reference
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JSPF-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer reassigned JSPF-71:
---------------------------------
Assignee: Norman Maurer
> $ in mail address causes java.lang.IllegalArgumentException: Illegal group reference
> -------------------------------------------------------------------------------------
>
> Key: JSPF-71
> URL: https://issues.apache.org/jira/browse/JSPF-71
> Project: JAMES jSPF
> Issue Type: Bug
> Affects Versions: 0.9.6
> Reporter: Frank Stolle
> Assignee: Norman Maurer
>
> The following code raises an unexpected exception:
> String heloname = "host-64-234-102-235.nctv.com"; // helo_name
> String ip = "64.234.102.235"; // client_address
> String from = "Patsy{$LNAME}@sprint.com"; // sender
> DefaultSPF spf = new DefaultSPF();
> SPFResult result = spf.checkSPF(ip, from, heloname);
> java.lang.IllegalArgumentException: Illegal group reference
> at java.util.regex.Matcher.appendReplacement(Matcher.java:706)
> at org.apache.james.jspf.core.MacroExpand.expandMacroString(MacroExpand.java:280)
> at org.apache.james.jspf.core.MacroExpand.expandDomain(MacroExpand.java:231)
> at org.apache.james.jspf.core.MacroExpand.expand(MacroExpand.java:178)
> at org.apache.james.jspf.core.MacroExpand.checkExpand(MacroExpand.java:162)
> at org.apache.james.jspf.terms.ExistsMechanism.checkSPF(ExistsMechanism.java:74)
> at org.apache.james.jspf.executor.SynchronousSPFExecutor.execute(SynchronousSPFExecutor.java:54)
> at org.apache.james.jspf.impl.SPF.checkSPF(SPF.java:332)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Updated: (JSPF-71) $ in mail address causes
java.lang.IllegalArgumentException: Illegal group reference
Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JSPF-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefano Bagnara updated JSPF-71:
--------------------------------
Priority: Critical (was: Major)
> $ in mail address causes java.lang.IllegalArgumentException: Illegal group reference
> -------------------------------------------------------------------------------------
>
> Key: JSPF-71
> URL: https://issues.apache.org/jira/browse/JSPF-71
> Project: JAMES jSPF
> Issue Type: Bug
> Affects Versions: 0.9.6
> Reporter: Frank Stolle
> Assignee: Norman Maurer
> Priority: Critical
> Fix For: 0.9.7
>
>
> The following code raises an unexpected exception:
> String heloname = "host-64-234-102-235.nctv.com"; // helo_name
> String ip = "64.234.102.235"; // client_address
> String from = "Patsy{$LNAME}@sprint.com"; // sender
> DefaultSPF spf = new DefaultSPF();
> SPFResult result = spf.checkSPF(ip, from, heloname);
> java.lang.IllegalArgumentException: Illegal group reference
> at java.util.regex.Matcher.appendReplacement(Matcher.java:706)
> at org.apache.james.jspf.core.MacroExpand.expandMacroString(MacroExpand.java:280)
> at org.apache.james.jspf.core.MacroExpand.expandDomain(MacroExpand.java:231)
> at org.apache.james.jspf.core.MacroExpand.expand(MacroExpand.java:178)
> at org.apache.james.jspf.core.MacroExpand.checkExpand(MacroExpand.java:162)
> at org.apache.james.jspf.terms.ExistsMechanism.checkSPF(ExistsMechanism.java:74)
> at org.apache.james.jspf.executor.SynchronousSPFExecutor.execute(SynchronousSPFExecutor.java:54)
> at org.apache.james.jspf.impl.SPF.checkSPF(SPF.java:332)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org