[rt-devel] BUGFIX: External user lookup

Christian Gilmore cgilmore at tivoli.com
Wed Oct 31 11:53:43 EST 2001


I didn't do enough testing on my bugfix, which just changed the behavior
from always denying requests to always allowing them. Whoops! Here's an
appropriate fix.

*** rt-mailgate.orig	Tue Oct 30 17:01:46 2001
--- rt-mailgate	Wed Oct 31 10:49:47 2001
***************
*** 186,193 ****



! if ($RT::LookupSenderInExternalDatabase &&
!     $RT::SenderMustExistInExternalDatabase )  {

      MailError(To => $RT::OwnerEmail,
  	      Subject => "RT Bounce: $Subject",
--- 186,194 ----



! if ($RT::LookupSenderInExternalDatabase &&
!     $RT::SenderMustExistInExternalDatabase &&
!     $CurrentUser->Id == $RT::Nobody->Id)  {

      MailError(To => $RT::OwnerEmail,
  	      Subject => "RT Bounce: $Subject",


Regards,
Christian

-----------------
Christian Gilmore
Team Lead
Web Infrastructure & Tools
IBM Software Group





More information about the Rt-devel mailing list