You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Al Stu <Al...@SimonSlick.com> on 2008/02/23 05:44:16 UTC

Case Sensitivity Issue - Verify Identity

How do I make the verify identity to be case insensitive?

Even if though user name is case insensitive, if user puts in email address
with mixed or upper case, it will not match and rejects the email.

James 3.2.1 on Linux CentOS 5

SMTP Server Log:
23/02/08 03:11:50 ERROR smtpserver: User account_name authenticated, however
tried sending email as Account_Name@Domain.com
[to:Some_Account@Other_Domain.com] [from:Account_Name@Domain.com]

Config.xml:
<config>
   <James>
      .
      .
      <!-- Set whether user names are case sensitive or case insensitive -->
      <!-- Set whether to enable local aliases -->
      <!-- Set whether to enable forwarding -->
      <usernames ignoreCase="true" enableAliases="true"
enableForwarding="true"/>
      .
      .
   </James>
   .
   .
   <smtpserver enabled="true">
      .
      .
      <handler>
         .
         .
         <!--  Uncomment this if you want to verify sender addresses,
ensuring that -->
         <!--  the sender address matches the user who has
authenticated. -->
         <!--  This prevents a user of your mail server from acting as
someone else -->
         <verifyIdentity>true</verifyIdentity>
         .
         .
      </handler>
   </smtpserver>
   .
   .
<config>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Case Sensitivity Issue - Verify Identity

Posted by Stefano Bagnara <ap...@bago.org>.
I think this is a bug in the verifyIdentity that is not aware of the 
ignoreCase flag.

Can you file a JIRA issue for this?
http://issues.apache.org/jira/browse/JAMES

Thank you,
Stefano

Al Stu ha scritto:
> How do I make the verify identity to be case insensitive?
> 
> Even if though user name is case insensitive, if user puts in email address
> with mixed or upper case, it will not match and rejects the email.
> 
> James 3.2.1 on Linux CentOS 5
> 
> SMTP Server Log:
> 23/02/08 03:11:50 ERROR smtpserver: User account_name authenticated, however
> tried sending email as Account_Name@Domain.com
> [to:Some_Account@Other_Domain.com] [from:Account_Name@Domain.com]
> 
> Config.xml:
> <config>
>    <James>
>       .
>       .
>       <!-- Set whether user names are case sensitive or case insensitive -->
>       <!-- Set whether to enable local aliases -->
>       <!-- Set whether to enable forwarding -->
>       <usernames ignoreCase="true" enableAliases="true"
> enableForwarding="true"/>
>       .
>       .
>    </James>
>    .
>    .
>    <smtpserver enabled="true">
>       .
>       .
>       <handler>
>          .
>          .
>          <!--  Uncomment this if you want to verify sender addresses,
> ensuring that -->
>          <!--  the sender address matches the user who has
> authenticated. -->
>          <!--  This prevents a user of your mail server from acting as
> someone else -->
>          <verifyIdentity>true</verifyIdentity>
>          .
>          .
>       </handler>
>    </smtpserver>
>    .
>    .
> <config>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org