Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

Re: ticket email reply question - FOLLOWUP (LDAP involved)

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


gurley at ion

Mar 22, 2006, 5:49 PM

Post #1 of 3 (805 views)
Permalink
Re: ticket email reply question - FOLLOWUP (LDAP involved)

OK, I'm following up on my own post because I just discovered a recent
thread that relates to it, and now I realize that my LDAP auth setup may
be involved.

My earlier post was:

> I have a new RT system, and I am new to RT. It's working great, but
> I'm still learning. ;-) I have a newbie question about email
> replies to tickets.
>
> I just set up sendmail aliases for correspondence and comments for
> all of my queues. In testing this, I discovered that in order to
> successfully reply to a ticket, I have to make sure that the From
> address in my message matches my identity in the RT instance.
> Otherwise, the message bounces, saying that a valid user could not be
> found.
>
> Is there a way to have RT accept the email anyway, since there is a
> valid queue name and ticket number? Most of us have multiple email
> address forms, and there is no way I am going to be able to get all
> of my users to use the correct From address.



So tonight I noticed that there was a thread a couple of days ago about
a similar issue; Jim Meyer responded that he would look into how it
might be resolved, since his LDAP overlay was being used.

I'm using that overlay too. (Thanks, Jim!)

Here is the problem that I am concerned about: Suppose user Joe Blow is
in LDAP and is a valid RT user with the email address
blow [at] host But that person also has a corporate email
alias joe_blow [at] domain If Joe receives an email from the RT system
and then chooses to Reply to it, the RT system will bounce the message
unless he is using the correct From address of blow [at] server
If he uses the shorter alias as his From address, it will bounce. In
this case, it is not desirable (is it?) to autocreate a different user,
since Joe Blow is already a valid user with one of these email
addresses. In other words, even if the autocreate was working, I
wouldn't want to duplicate this person in RT.

Comments?

Thanks,


-Bill-

---------------------------------
Bill Gurley, Technical Director
Department of Chemistry
Univ. of Tennessee, Knoxville
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales [at] bestpractical


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html


ruslan.zakirov at gmail

Mar 23, 2006, 6:42 PM

Post #2 of 3 (733 views)
Permalink
Re: Re: ticket email reply question - FOLLOWUP (LDAP involved) [In reply to]

On 3/23/06, Bill Gurley <gurley [at] ion> wrote:
> OK, I'm following up on my own post because I just discovered a recent
> thread that relates to it, and now I realize that my LDAP auth setup may
> be involved.
>
> My earlier post was:
>
> > I have a new RT system, and I am new to RT. It's working great, but
> > I'm still learning. ;-) I have a newbie question about email
> > replies to tickets.
> >
> > I just set up sendmail aliases for correspondence and comments for
> > all of my queues. In testing this, I discovered that in order to
> > successfully reply to a ticket, I have to make sure that the From
> > address in my message matches my identity in the RT instance.
> > Otherwise, the message bounces, saying that a valid user could not be
> > found.
> >
> > Is there a way to have RT accept the email anyway, since there is a
> > valid queue name and ticket number? Most of us have multiple email
> > address forms, and there is no way I am going to be able to get all
> > of my users to use the correct From address.
>
>
>
> So tonight I noticed that there was a thread a couple of days ago about
> a similar issue; Jim Meyer responded that he would look into how it
> might be resolved, since his LDAP overlay was being used.
>
> I'm using that overlay too. (Thanks, Jim!)
>
> Here is the problem that I am concerned about: Suppose user Joe Blow is
> in LDAP and is a valid RT user with the email address
> blow [at] host But that person also has a corporate email
> alias joe_blow [at] domain If Joe receives an email from the RT system
> and then chooses to Reply to it, the RT system will bounce the message
> unless he is using the correct From address of blow [at] server
> If he uses the shorter alias as his From address, it will bounce. In
> this case, it is not desirable (is it?) to autocreate a different user,
> since Joe Blow is already a valid user with one of these email
> addresses. In other words, even if the autocreate was working, I
> wouldn't want to duplicate this person in RT.
>
> Comments?
If you can define simple rule on how to convert email to generic form
then I think you could use:
1) CanonicalizeEmailAddressMatch and CanonicalizeEmailAddressReplace
config options
2) or override Canonicalize* methods in RT::User namespace

>
> Thanks,
>
>
> -Bill-
>
> ---------------------------------
> Bill Gurley, Technical Director
> Department of Chemistry
> Univ. of Tennessee, Knoxville
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales [at] bestpractical
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
>


--
Best regards, Ruslan.


rtb0y at yahoo

Mar 24, 2006, 9:41 PM

Post #3 of 3 (728 views)
Permalink
Re: Re: ticket email reply question - FOLLOWUP (LDAP involved) [In reply to]

Hi,

Ruslan Zakirov <ruslan.zakirov [at] gmail> wrote: On 3/23/06, Bill Gurley wrote:

> Here is the problem that I am concerned about: Suppose user Joe Blow is
> in LDAP and is a valid RT user with the email address
> blow [at] host But that person also has a corporate email
> alias joe_blow [at] domain If Joe receives an email from the RT system
> and then chooses to Reply to it, the RT system will bounce the message
> unless he is using the correct From address of blow [at] server
> If he uses the shorter alias as his From address, it will bounce. In
> this case, it is not desirable (is it?) to autocreate a different user,
> since Joe Blow is already a valid user with one of these email
> addresses. In other words, even if the autocreate was working, I
> wouldn't want to duplicate this person in RT.
>
> Comments?
Here's my situation. I don't know it this relates to you..
We have a qmail-ldap setup with users having email addresses in user [at] anotherdomain Now the users of RT has a corporate email addresses in the format user [at] corporate as well as that of user [at] anotherdomain

So in RT_SiteConfig.pm I just set the LDAPAttrMap into
'EmailAddress' => 'mailAlternateAddress',

In ldap, users have:
mail: user [at] anotherdomain
mailAlternateAddress: user [at] corporate


Now user's will not have problems sending or creating tickets using their @corporate.com addresses since this is the mail address recognized by RT.


Good luck!
-jay








---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.