[rt-users] Yet another mailgate problem: Could not load a valid user

Jesse Vincent jesse at bestpractical.com
Wed May 16 12:33:10 EDT 2007


On May 16, 2007, at 4:41 AM, Kim G. Nielsen wrote:

> Hi All,
>
> I have found alot of entries on google and this mailling list  
> specifing
> problems with mailgate. Most of them where solved with setting the
> permissions on the queue and thats it.
>
> I have the same problem but this time I have added all permissions so
> everyone can do what they want (Just for debugging)
>
> Anyway, if I create a ticket with:
>
> # export RTSERVER=http://myhost/rt3/
> # rt create -t ticket
>
> I get an vi and is able to create tickets.
>
> But if I do a http://myhost/rt3/REST/1.0/NoAuth/mail-gateway all I get
> is "not ok - Could not load a valid user". I have traced the error
> message to mail-gateway line 73 and back to
> RT::Interface::Email::Gateway and for some reason the $CurrentUser is
> empty. Now, I connect as a anonymous web user and have set the  
> paremeter
> in RT_SiteConfig.pm to Set($WebExternalAuto , 1); (But no user is
> created) and I have even tried to setup $WebExternalAuth and
> $WebFallbackToInternalAuth

What rights have you granted 'Everybody' and 'Unprivileged'?

>
> My log file:
>
> [SNIP]
> [Wed May 16 08:48:52 2007] [warning]: Encode::Guess failed: ; fallback
> to iso-8859-1 (/usr/local//lib/RT/I18N.pm:414)
> [Wed May 16 08:48:52 2007] [warning]: Encode::Guess failed: ; fallback
> to iso-8859-1 (/usr/local//lib/RT/I18N.pm:414)
> [Wed May 16 08:48:52 2007] [error]: Could not record email: Could not
> load a valid user
> (/usr/local/share/html/REST/1.0/NoAuth/mail-gateway:73)
>
> Running with rt-3.6.3 and sendmail 8.13 on Fedora 6 (and its installed
> by and and make testdeps is not missing any dependencies)
>
> Hope someone can shed some light on this, thanks :)
>
> Best regards
> Kim
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070516/a4461af5/attachment.sig>


More information about the rt-users mailing list