Indeed I found that canonicalizeEmailAdress is not called on the
from-adress when new email is received.
The problem is that lib/RT/Interfaces/Email/Auth/MailFrom.pm calls
CurrentUser->LoadFromEmail which is not “overlayed” in the same way as
User->LoadFromEmail is in lib/RT/User_Overlay.pm
I could change the behaviour to the (by me) intended one by patching
lib/RT/Interfaces/Email/Auth/MailFrom.pm to use User->LoadFromEmail instead
But then I ran into another error, which is suspect:
RT3 accepts the email as a ticket but also bounces me an error message.
before I write a CurrentUser_Overlay.pm in calling CanoicalizeEmailAddress
in the same way as User::LoadFromEmail I wonder
A) is it an intended change from RT2 to RT3 to not canonicalize
Email-Adresses on receives?
B) if yes, why is it so
C) if no, what is the correct way to eliminate the bug?
Dirk.–On Donnerstag, 10. April 2003 11:14 Uhr +0200 Dirk Pape email@example.com wrote:
I am on the way to configure RT3 to behave like our “old” RT2 system.
In RT2 we had changed the CanonicalizeEmailAddress subroutine in
config.pm to change email-adresses from domain “inf.fu-berlin.de” to
In RT3 - to acchieve the same result - I defined in RT_Siteconfig.pm:
Set($CanonicalizeEmailAddressMatch , ‘inf.fu-berlin.de$’);
Set($CanonicalizeEmailAddressReplace , ‘mi.fu-berlin.de’);
with the effect that firstname.lastname@example.org cannot create tickets in a
queue where email@example.com has rights to create. (I get the “Ticket
creation failed” mail)
I verified that firstname.lastname@example.org can create and
email@example.com cannot create, so I think address canonicalization
does not take place.
In a second step I patched lib/RT/User_Overlay.pm directly by copying the
subroutine CanonicalizeEmailAddress from our RT2-configuration into that
I restarted apache afterwards.
But the behavior did not change: firstname.lastname@example.org can create and
email@example.com cannot create.
Did anything change from RT2 to RT3 in the context where
CanonicalizeEmailAddress is called?
rt-users mailing list
Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm