[Rt-devel] Problem: "Could not load a valid user"

Joby Walker joby at u.washington.edu
Fri Jan 20 15:40:25 EST 2006

We just had that problem too.  The error originated because this line in
RT/Interface/Email.pm (line 567):

    push @RT::MailPlugins, "Auth::MailFrom" unless @RT::MailPlugins;

We did't define the array in the config file so @RT::MailPlugins should
always evaluate to false (and thus use Auth::MailFrom), but somehow one
(or maybe two) of our fastcgi processes started evaluating it as true
with a blank value for the first index.  This means that a valid
MailPlugin isn't loaded so RT cannot generate a valid user.

We solved this by adding a line to our config file:

@MailPlugins = qw(Auth::MailFrom);

Haven't seen the problem since.

Joby Walker
ITI SSG, C&C, University of Washington

Todd Chapman wrote:
> Our RT 3.4.4 system gets a lot of mail from an
> address that is associated with a priveleged user.
> Every once in a while I'lll get an error with the
> following message:
>   RT could not load a valid user, and RT's configuration does not allow
>   for the creation of a new user for this email (Security at mycomp.com).
>   You might need to grant 'Everyone' the right 'CreateTicket' for the
>   queue Request.
> This user most certainly has this right. This user creates
> tickets all day long.
> Has anyone else seen this intermittent problem?
> Suggestions on tracking it down? Maybe modify RT
> to send me a stack trace when this happens?
> Thanks.
> -Todd
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

More information about the Rt-devel mailing list