[rt-users] Suggestion for $RTAddressRegexp
Ruslan Zakirov
ruslan.zakirov at gmail.com
Tue Sep 20 15:55:25 EDT 2005
On 9/20/05, O'Brien, Kevin <Kevin.OBrien at sonyconnect.com> wrote:
>
>
>
> True. But I will quote RFC 2821:
>
>
>
> The local-part of a mailbox MUST BE treated as case sensitive. Therefore,
> SMTP implementations MUST take care to preserve the case of mailbox
> local-parts. Mailbox domains are not case sensitive. In particular, for some
> hosts the user "smith" is different from the user "Smith". However,
> exploiting the case sensitivity of mailbox local-parts impedes
> interoperability and is discouraged.
>
>
>
> So, I would imagine that a far superior number of the users have mailers
> that followed the heeding of the RFC and have not used case sensitivity.
> Also, this is not modifying the address just telling the regex to ignore
> case when trying to determine if the address is an RT address. At the very
> least, you would need to split the local-part and the domain since, per the
> RFC, domains are case insensitive.
You can use (?i:blabla) to make part of the RE case insensetive. I
think Jesse will apply docs patch for this.
>
>
>
>
> -=Kevin=-
>
> ________________________________
>
>
> From: Patrick Morris [mailto:pmorris at hermesinfotech.com]
> Sent: Tuesday, September 20, 2005 10:04 AM
> To: O'Brien, Kevin; rt-users at lists.bestpractical.com
> Subject: RE: [rt-users] Suggestion for $RTAddressRegexp
>
>
>
> E-mail addresses aren't necessarily case-insensitive. It depends on the
> mailer implementation. I could list several mailers that are
> case-sensitive.
>
>
> ________________________________
>
>
> From: rt-users-bounces at lists.bestpractical.com
> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf
> Of O'Brien, Kevin
> Sent: Monday, September 19, 2005 10:11 PM
> To: rt-users at lists.bestpractical.com
> Subject: [rt-users] Suggestion for $RTAddressRegexp
>
>
> Since e-mail addresses are case-insensitive, I suggest adding //i to the
> RTAddressRegexp regular expressions in the following files:
>
> ./lib/RT/EmailParser.pm: line 438
>
> ./lib/RT/Interface/Email.pm: line 190
>
> -=Kevin=-
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
> Buy your copy of our new book, RT Essentials, today!
>
> Download a free sample chapter from
> http://rtbook.bestpractical.com
>
>
--
Best regards, Ruslan.
More information about the rt-users
mailing list