[Rt-devel] rt-mailgate fix

Jesse Vincent jesse at bestpractical.com
Mon Dec 11 13:21:05 EST 2006




On Mon, Dec 11, 2006 at 01:12:28PM -0500, Matthew Keller wrote:
> When using External Auth, I had a weird problem where rt-mailgate would
> bomb with a 401 to the NoAuth areas (which I had properly excluded from
> the Apache auth in the configs). I tracked this down to having a
> trailing slash in the URL passed to rt-mailgate... Fixed by putting the
> following above line 99 to chop it out if there. Yes, I know I could've
> simply not passed the trailing slash, but that would require rewriting a
> few dozen mail alias entries instead of a one line code fix. Feel free
> to use, or not, as desired. :)

What do your external auth rules look like?

-j
> 
> if($opts{'url'} =~ /\/$/) { chop $opts{'url'}; }
> 
> 
> -- 
> Matthew Keller
> Network and Security Analyst
> Computing & Technology Services
> State University of New York @ Potsdam
> Potsdam, NY, USA
> http://mattwork.potsdam.edu/
> 
> 
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
> 

-- 


More information about the Rt-devel mailing list