RT could not load a valid user

Hi RT Users,

Today i upgraded RT 3.4.4 to RT 3.4.5 and i get the following error on
some Queues:

RT could not load a valid user, and RT’s configuration does not allow
for the creation of a new user for this email (USERNAME@COMPANY.com).

You might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue applications-mdm_pdm.

My Log says:

May 25 22:14:07 bruchtal-www1 RT: RT could not load a valid user, and
RT’s configuration does not allow for the creation of a new user for
this email (tob@brummix.de). You might need to grant ‘Everyone’ the
right ‘CreateTicket’ for the queue KNliv-Jabil.
(/opt/rt3/lib/RT/Interface/Email.pm:851)
May 25 22:14:07 bruchtal-www1 RT: RT could not load a valid user, and
RT’s configuration does not allow for the creation of a new user for
your email. (/opt/rt3/lib/RT/Interface/Email.pm:864)

I have granted globally CreateTicket to Everyone and this error only
occurs on two different queues. I cross checked this queues and granted
them also on queue base CreateTicket but still i get the error.

Any Idea???

Thanks

Torsten

Hi Everyone

Sometimes I do get this error message. But I set the global right
‘ReplyToTicket’ to ‘Everyone’ !

Any Ideas?

------Error 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 (example@example.com).

You might need to grant ‘Everyone’ the right ‘ReplyToTicket’ for the
queue Example.

------Error Message----------

Thanks and regards

Ruben

Monzoon Networks AG
Ruben Lehmann
Network Engineer

Riedthofstrasse 124, CH-8105 Regensdorf
tel: +41 43 500 04 76 mobile: +41 78 656 47 72
<http://www.plaxo.com/click_to_call?src=jj_signature&To=%2B41+78+656+47+
72&Email=rlehmann@monzoon.net>

Nomadic Workers - hotspot.monzoon.net

Wireless Internet - home.monzoon.net

Surf the safer way - www.swissvpn.net

Hello Everybody,

We have a strange problem on our RT, some of our user (on the same domain)
can’t create a ticket. Rt won’t create the user on the DB and log an error
message. Obviously everyone has the right for create and reply to ticket.

I have seen a mail on the list from Anne in May 2004 for the same error who
has fix in 3.0.1 (:o/)

If someone has ever seen this error, i will be happy to have your point of
view on this problem.

Error Log :
[Fri Sep 24 13:30:06 2010] [error]: RT could not load a valid user, and RT’s
configuration does not allow for the creation of a new user for your email.
(/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Fri Sep 24 13:30:05 2010] [error]: RT could not load a valid user, and RT’s
configuration does not allow
for the creation of a new user for this email (mkayne@***.fr). You might
need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue Support_B2C. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

Operating System : Linux rt1.universe.local 2.6.31-22-generic-pae
#65-Ubuntu SMP Thu Sep 16 16:02:41 UTC 2010 i686 GNU/Linux
Apache : Server version: Apache/2.2.12 (Ubuntu) - Server built: Aug 16
2010 17:37:49
Perl : This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Fetchmail : version 6.3.9-rc2+GSS+NTLM+SDPS+SSL+NLS+KRB5 on IMAP with
exchange
*Plugins RT : * ‘RT::Authen::ExternalAuth’, ‘RTx::EmailCompletion’, ‘RT::FM’

Thanks in advance,
Fabrice

Fabrice,

Could be a couple of things. If you’re using ExternalAuth/LDAP/Whatever and
the From Email address doesn’t pass muster with that process, that would
cause the problem. The User referred to in the From Email address is
obviously NOT on the User Table AND the error message says your
configuration set up doesn’t allow adding someone. So, I think that either
you get that email/user defined in whatever method you use for ExternalAuth
OR you change your setting to allow automatic adding of a user OR add them
manually. Unless, of course, you find some other reason for the error.
That’s all I can think of.

Kenn
LBNLOn Fri, Sep 24, 2010 at 7:24 AM, Fabrice fabrice82@gmail.com wrote:

Hello Everybody,

We have a strange problem on our RT, some of our user (on the same domain)
can’t create a ticket. Rt won’t create the user on the DB and log an error
message. Obviously everyone has the right for create and reply to ticket.

I have seen a mail on the list from Anne in May 2004 for the same error who
has fix in 3.0.1 (:o/)

If someone has ever seen this error, i will be happy to have your point of
view on this problem.

Error Log :
[Fri Sep 24 13:30:06 2010] [error]: RT could not load a valid user, and
RT’s configuration does not allow for the creation of a new user for your
email. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Fri Sep 24 13:30:05 2010] [error]: RT could not load a valid user, and
RT’s configuration does not allow
for the creation of a new user for this email (mkayne@***.fr). You might
need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue Support_B2C. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

Operating System : Linux rt1.universe.local 2.6.31-22-generic-pae
#65-Ubuntu SMP Thu Sep 16 16:02:41 UTC 2010 i686 GNU/Linux
Apache : Server version: Apache/2.2.12 (Ubuntu) - Server built: Aug 16
2010 17:37:49
Perl : This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Fetchmail : version 6.3.9-rc2+GSS+NTLM+SDPS+SSL+NLS+KRB5 on IMAP with
exchange
*Plugins RT : * ‘RT::Authen::ExternalAuth’, ‘RTx::EmailCompletion’,
‘RT::FM’

Thanks in advance,
Fabrice

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

Hello Kenneth,

Thanks for your answer.
I have ever try to create manually user but i can’t. I think i can
create it directly in the DB but i m afraid to change this brutaly.
For allow automatic adding of a user i have see this in KB :

Adding in my RT_SiteConfig :

Set($AutoCreate, {Privileged => 0});

But i m not sure with the Privileged => 0, because i want the
autocreate user in Unpriveleged group.

Thanks again :slight_smile:

Fabrice2010/9/24 Kenneth Crocker kfcrocker@lbl.gov

Fabrice,

Could be a couple of things. If you’re using ExternalAuth/LDAP/Whatever and the From Email address doesn’t pass muster with that process, that would cause the problem. The User referred to in the From Email address is obviously NOT on the User Table AND the error message says your configuration set up doesn’t allow adding someone. So, I think that either you get that email/user defined in whatever method you use for ExternalAuth OR you change your setting to allow automatic adding of a user OR add them manually. Unless, of course, you find some other reason for the error. That’s all I can think of.

Kenn
LBNL

On Fri, Sep 24, 2010 at 7:24 AM, Fabrice fabrice82@gmail.com wrote:

Hello Everybody,

We have a strange problem on our RT, some of our user (on the same domain) can’t create a ticket. Rt won’t create the user on the DB and log an error message. Obviously everyone has the right for create and reply to ticket.

I have seen a mail on the list from Anne in May 2004 for the same error who has fix in 3.0.1 (:o/)

If someone has ever seen this error, i will be happy to have your point of view on this problem.

Error Log :
[Fri Sep 24 13:30:06 2010] [error]: RT could not load a valid user, and RT’s configuration does not allow for the creation of a new user for your email. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Fri Sep 24 13:30:05 2010] [error]: RT could not load a valid user, and RT’s configuration does not allow
for the creation of a new user for this email (mkayne@***.fr). You might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue Support_B2C. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

Operating System : Linux rt1.universe.local 2.6.31-22-generic-pae #65-Ubuntu SMP Thu Sep 16 16:02:41 UTC 2010 i686 GNU/Linux
Apache : Server version: Apache/2.2.12 (Ubuntu) - Server built: Aug 16 2010 17:37:49
Perl : This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Fetchmail : version 6.3.9-rc2+GSS+NTLM+SDPS+SSL+NLS+KRB5 on IMAP with exchange
Plugins RT : ‘RT::Authen::ExternalAuth’, ‘RTx::EmailCompletion’, ‘RT::FM’

Thanks in advance,
Fabrice

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

Fabrice,

Try this and bounce it and let’s see what happens:

Set($AutoCreate, {UnPrivileged => 1});

fingers crossed.

Kenn
LBNLOn Fri, Sep 24, 2010 at 9:47 AM, Fabrice fabrice82@gmail.com wrote:

Hello Kenneth,

Thanks for your answer.
I have ever try to create manually user but i can’t. I think i can
create it directly in the DB but i m afraid to change this brutaly.
For allow automatic adding of a user i have see this in KB :

Adding in my RT_SiteConfig :

Set($AutoCreate, {Privileged => 0});

But i m not sure with the Privileged => 0, because i want the
autocreate user in Unpriveleged group.

Thanks again :slight_smile:

Fabrice

2010/9/24 Kenneth Crocker kfcrocker@lbl.gov

Fabrice,

Could be a couple of things. If you’re using ExternalAuth/LDAP/Whatever
and the From Email address doesn’t pass muster with that process, that would
cause the problem. The User referred to in the From Email address is
obviously NOT on the User Table AND the error message says your
configuration set up doesn’t allow adding someone. So, I think that either
you get that email/user defined in whatever method you use for ExternalAuth
OR you change your setting to allow automatic adding of a user OR add them
manually. Unless, of course, you find some other reason for the error.
That’s all I can think of.

Kenn
LBNL

On Fri, Sep 24, 2010 at 7:24 AM, Fabrice fabrice82@gmail.com wrote:

Hello Everybody,

We have a strange problem on our RT, some of our user (on the same
domain) can’t create a ticket. Rt won’t create the user on the DB and log an
error message. Obviously everyone has the right for create and reply to
ticket.

I have seen a mail on the list from Anne in May 2004 for the same error
who has fix in 3.0.1 (:o/)

If someone has ever seen this error, i will be happy to have your point
of view on this problem.

Error Log :
[Fri Sep 24 13:30:06 2010] [error]: RT could not load a valid user, and
RT’s configuration does not allow for the creation of a new user for your
email. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Fri Sep 24 13:30:05 2010] [error]: RT could not load a valid user, and
RT’s configuration does not allow
for the creation of a new user for this email (mkayne@***.fr). You
might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue Support_B2C. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

Operating System : Linux rt1.universe.local 2.6.31-22-generic-pae
#65-Ubuntu SMP Thu Sep 16 16:02:41 UTC 2010 i686 GNU/Linux
Apache : Server version: Apache/2.2.12 (Ubuntu) - Server built: Aug 16
2010 17:37:49
Perl : This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Fetchmail : version 6.3.9-rc2+GSS+NTLM+SDPS+SSL+NLS+KRB5 on IMAP with
exchange
Plugins RT : ‘RT::Authen::ExternalAuth’, ‘RTx::EmailCompletion’,
‘RT::FM’

Thanks in advance,
Fabrice

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

Fabrice,

Or maybe this instead:

Set($AutoCreate, ‘UnPrivileged’);

Kenn
LBNLOn Fri, Sep 24, 2010 at 10:16 AM, Kenneth Crocker kfcrocker@lbl.gov wrote:

Fabrice,

Try this and bounce it and let’s see what happens:

Set($AutoCreate, {UnPrivileged => 1});

fingers crossed.

Kenn
LBNL

On Fri, Sep 24, 2010 at 9:47 AM, Fabrice fabrice82@gmail.com wrote:

Hello Kenneth,

Thanks for your answer.
I have ever try to create manually user but i can’t. I think i can
create it directly in the DB but i m afraid to change this brutaly.
For allow automatic adding of a user i have see this in KB :

Adding in my RT_SiteConfig :

Set($AutoCreate, {Privileged => 0});

But i m not sure with the Privileged => 0, because i want the
autocreate user in Unpriveleged group.

Thanks again :slight_smile:

Fabrice

2010/9/24 Kenneth Crocker kfcrocker@lbl.gov

Fabrice,

Could be a couple of things. If you’re using ExternalAuth/LDAP/Whatever
and the From Email address doesn’t pass muster with that process, that would
cause the problem. The User referred to in the From Email address is
obviously NOT on the User Table AND the error message says your
configuration set up doesn’t allow adding someone. So, I think that either
you get that email/user defined in whatever method you use for ExternalAuth
OR you change your setting to allow automatic adding of a user OR add them
manually. Unless, of course, you find some other reason for the error.
That’s all I can think of.

Kenn
LBNL

On Fri, Sep 24, 2010 at 7:24 AM, Fabrice fabrice82@gmail.com wrote:

Hello Everybody,

We have a strange problem on our RT, some of our user (on the same
domain) can’t create a ticket. Rt won’t create the user on the DB and log an
error message. Obviously everyone has the right for create and reply to
ticket.

I have seen a mail on the list from Anne in May 2004 for the same error
who has fix in 3.0.1 (:o/)

If someone has ever seen this error, i will be happy to have your point
of view on this problem.

Error Log :
[Fri Sep 24 13:30:06 2010] [error]: RT could not load a valid user, and
RT’s configuration does not allow for the creation of a new user for your
email. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Fri Sep 24 13:30:05 2010] [error]: RT could not load a valid user, and
RT’s configuration does not allow
for the creation of a new user for this email (mkayne@***.fr). You
might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue Support_B2C. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

Operating System : Linux rt1.universe.local 2.6.31-22-generic-pae
#65-Ubuntu SMP Thu Sep 16 16:02:41 UTC 2010 i686 GNU/Linux
Apache : Server version: Apache/2.2.12 (Ubuntu) - Server built: Aug
16 2010 17:37:49
Perl : This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Fetchmail : version 6.3.9-rc2+GSS+NTLM+SDPS+SSL+NLS+KRB5 on IMAP with
exchange
Plugins RT : ‘RT::Authen::ExternalAuth’, ‘RTx::EmailCompletion’,
‘RT::FM’

Thanks in advance,
Fabrice

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

Fabrice,

Maybe I should read the RT_Config file first before I send out crap. You
were right with the first config setting:

Set($AutoCreate, {Privileged => 0});

This will turn on AutoCreate and set them to Unprivileged (Privileged = 0
which is OFF).

Kenn
LBNLOn Fri, Sep 24, 2010 at 10:24 AM, Kenneth Crocker kfcrocker@lbl.gov wrote:

Fabrice,

Or maybe this instead:

Set($AutoCreate, ‘UnPrivileged’);

Kenn
LBNL

On Fri, Sep 24, 2010 at 10:16 AM, Kenneth Crocker kfcrocker@lbl.govwrote:

Fabrice,

Try this and bounce it and let’s see what happens:

Set($AutoCreate, {UnPrivileged => 1});

fingers crossed.

Kenn
LBNL

On Fri, Sep 24, 2010 at 9:47 AM, Fabrice fabrice82@gmail.com wrote:

Hello Kenneth,

Thanks for your answer.
I have ever try to create manually user but i can’t. I think i can
create it directly in the DB but i m afraid to change this brutaly.
For allow automatic adding of a user i have see this in KB :

Adding in my RT_SiteConfig :

Set($AutoCreate, {Privileged => 0});

But i m not sure with the Privileged => 0, because i want the
autocreate user in Unpriveleged group.

Thanks again :slight_smile:

Fabrice

2010/9/24 Kenneth Crocker kfcrocker@lbl.gov

Fabrice,

Could be a couple of things. If you’re using ExternalAuth/LDAP/Whatever
and the From Email address doesn’t pass muster with that process, that would
cause the problem. The User referred to in the From Email address is
obviously NOT on the User Table AND the error message says your
configuration set up doesn’t allow adding someone. So, I think that either
you get that email/user defined in whatever method you use for ExternalAuth
OR you change your setting to allow automatic adding of a user OR add them
manually. Unless, of course, you find some other reason for the error.
That’s all I can think of.

Kenn
LBNL

On Fri, Sep 24, 2010 at 7:24 AM, Fabrice fabrice82@gmail.com wrote:

Hello Everybody,

We have a strange problem on our RT, some of our user (on the same
domain) can’t create a ticket. Rt won’t create the user on the DB and log an
error message. Obviously everyone has the right for create and reply to
ticket.

I have seen a mail on the list from Anne in May 2004 for the same
error who has fix in 3.0.1 (:o/)

If someone has ever seen this error, i will be happy to have your
point of view on this problem.

Error Log :
[Fri Sep 24 13:30:06 2010] [error]: RT could not load a valid user,
and RT’s configuration does not allow for the creation of a new user for
your email. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Fri Sep 24 13:30:05 2010] [error]: RT could not load a valid user,
and RT’s configuration does not allow
for the creation of a new user for this email (mkayne@***.fr). You
might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue Support_B2C. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

Operating System : Linux rt1.universe.local 2.6.31-22-generic-pae
#65-Ubuntu SMP Thu Sep 16 16:02:41 UTC 2010 i686 GNU/Linux
Apache : Server version: Apache/2.2.12 (Ubuntu) - Server built: Aug
16 2010 17:37:49
Perl : This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Fetchmail : version 6.3.9-rc2+GSS+NTLM+SDPS+SSL+NLS+KRB5 on IMAP with
exchange
Plugins RT : ‘RT::Authen::ExternalAuth’, ‘RTx::EmailCompletion’,
‘RT::FM’

Thanks in advance,
Fabrice

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

Hello Kenneth, and thanx for all your answers :).

This morning i have try to set “Set($AutoCreate, {Privileged => 0});” but it
seems not working :

  • That is what i have in my rt log :
    [Mon Sep 27 12:10:33 2010] [crit]: User creation failed in mailgateway:
    Could not set user info (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

    [Mon Sep 27 12:10:33 2010] [warning]: Couldn’t load user
    ’jparker@
    *.fr’.giving
    up (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:947)

    [Mon Sep 27 12:10:33 2010] [crit]: User 'jparker@*.fr’ could not be
    loaded in the mail gateway (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

    [Mon Sep 27 12:10:33 2010] [error]: RT could not load a valid user, and
    RT’s configuration does not allow

    for the creation of a new user for this email (jparker@*.fr).
    You might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
    queue Support_B2C. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
    [Mon Sep 27 12:10:33 2010] [error]: RT could not load a valid user, and
    RT’s configuration does not allow

    for the creation of a new user for your email.
    (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

    [Mon Sep 27 12:10:33 2010] [error]: Could not record email: Could not load
    a valid user (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75)

    [Mon Sep 27 12:14:35 2010] [warning]: Couldn’t load object RT::Transaction
    #0 (/opt/rt3/bin/…/lib/RT/Interface/Web.pm:1595)

    [Mon Sep 27 12:16:17 2010] [warning]: Couldn’t load object RT::Transaction
    #0 (/opt/rt3/bin/…/lib/RT/Interface/Web.pm:1595)

  • i have receive this mail (on rt Owner Emailadress) :
    RT could not load a valid user, and RT’s configuration does not allow for
    the creation of a new user for this email (jparker@
    *.fr).

You might need to grant ‘Everyone’ the right ‘CreateTicket’ for the queue
Support_B2C.

In the log we can read : *Could not set user info * do you thnk that can be
the source of the problem ?

Thanks in advance,
Fabrice

Fabrice,

Not the cause, but giving a hint as to the cause. We need to see* WHY* a
particular user’s info can’t be set.

Are you using ExternalAuth and what form? LDAP?
If LDAP, what do you have for this setting:

Set($AutoCreateNonExternalUsers, 0);

Kenn

LBNLOn Mon, Sep 27, 2010 at 6:19 AM, Fabrice fabrice82@gmail.com wrote:

Hello Kenneth, and thanx for all your answers :).

This morning i have try to set “Set($AutoCreate, {Privileged => 0});” but
it seems not working :

  • That is what i have in my rt log :
    [Mon Sep 27 12:10:33 2010] [crit]: User creation failed in mailgateway:
    Could not set user info (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

    [Mon Sep 27 12:10:33 2010] [warning]: Couldn’t load user 'jparker@.fr’.giving
    up (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:947)

    [Mon Sep 27 12:10:33 2010] [crit]: User 'jparker@
    *.fr’ could not be
    loaded in the mail gateway (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

[Mon Sep 27 12:10:33 2010] [error]: RT could not load a valid user, and
RT’s configuration does not allow

for the creation of a new user for this email (jparker@*.fr).
*
*
You might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue Support_B2C. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Mon Sep 27 12:10:33 2010] [error]: RT could not load a valid user, and
RT’s configuration does not allow

for the creation of a new user for your email.
(/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

[Mon Sep 27 12:10:33 2010] [error]: Could not record email: Could not
load a valid user (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75)

[Mon Sep 27 12:14:35 2010] [warning]: Couldn’t load object
RT::Transaction #0 (/opt/rt3/bin/…/lib/RT/Interface/Web.pm:1595)

[Mon Sep 27 12:16:17 2010] [warning]: Couldn’t load object
RT::Transaction #0 (/opt/rt3/bin/…/lib/RT/Interface/Web.pm:1595)

  • i have receive this mail (on rt Owner Emailadress) :
    RT could not load a valid user, and RT’s configuration does not allow for
    the creation of a new user for this email (jparker@
    *.fr).

You might need to grant ‘Everyone’ the right ‘CreateTicket’ for the queue
Support_B2C.

In the log we can read : *Could not set user info * do you thnk that can
be the source of the problem ?

Thanks in advance,
Fabrice

Hey Kenneth,

It was the problem i have set : Set($AutoCreateNonExternalUsers, 1); from
Set($AutoCreateNonExternalUsers, 0); and it fixed my problem.
Thanks very much for your help ! :slight_smile:

Have a good day / night !
Fabrice2010/9/24 Kenneth Crocker kfcrocker@lbl.gov

Fabrice,

Maybe I should read the RT_Config file first before I send out crap. You
were right with the first config setting:

Set($AutoCreate, {Privileged => 0});

This will turn on AutoCreate and set them to Unprivileged (Privileged = 0
which is OFF).

Kenn
LBNL

On Fri, Sep 24, 2010 at 10:24 AM, Kenneth Crocker kfcrocker@lbl.govwrote:

Fabrice,

Or maybe this instead:

Set($AutoCreate, ‘UnPrivileged’);

Kenn
LBNL

On Fri, Sep 24, 2010 at 10:16 AM, Kenneth Crocker kfcrocker@lbl.govwrote:

Fabrice,

Try this and bounce it and let’s see what happens:

Set($AutoCreate, {UnPrivileged => 1});

fingers crossed.

Kenn
LBNL

On Fri, Sep 24, 2010 at 9:47 AM, Fabrice fabrice82@gmail.com wrote:

Hello Kenneth,

Thanks for your answer.
I have ever try to create manually user but i can’t. I think i can
create it directly in the DB but i m afraid to change this brutaly.
For allow automatic adding of a user i have see this in KB :

Adding in my RT_SiteConfig :

Set($AutoCreate, {Privileged => 0});

But i m not sure with the Privileged => 0, because i want the
autocreate user in Unpriveleged group.

Thanks again :slight_smile:

Fabrice

2010/9/24 Kenneth Crocker kfcrocker@lbl.gov

Fabrice,

Could be a couple of things. If you’re using
ExternalAuth/LDAP/Whatever and the From Email address doesn’t pass muster
with that process, that would cause the problem. The User referred to in the
From Email address is obviously NOT on the User Table AND the error message
says your configuration set up doesn’t allow adding someone. So, I think
that either you get that email/user defined in whatever method you use for
ExternalAuth OR you change your setting to allow automatic adding of a user
OR add them manually. Unless, of course, you find some other reason for the
error. That’s all I can think of.

Kenn
LBNL

On Fri, Sep 24, 2010 at 7:24 AM, Fabrice fabrice82@gmail.com wrote:

Hello Everybody,

We have a strange problem on our RT, some of our user (on the same
domain) can’t create a ticket. Rt won’t create the user on the DB and log an
error message. Obviously everyone has the right for create and reply to
ticket.

I have seen a mail on the list from Anne in May 2004 for the same
error who has fix in 3.0.1 (:o/)

If someone has ever seen this error, i will be happy to have your
point of view on this problem.

Error Log :
[Fri Sep 24 13:30:06 2010] [error]: RT could not load a valid user,
and RT’s configuration does not allow for the creation of a new user for
your email. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Fri Sep 24 13:30:05 2010] [error]: RT could not load a valid user,
and RT’s configuration does not allow
for the creation of a new user for this email (mkayne@***.fr). You
might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue Support_B2C. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

Operating System : Linux rt1.universe.local 2.6.31-22-generic-pae
#65-Ubuntu SMP Thu Sep 16 16:02:41 UTC 2010 i686 GNU/Linux
Apache : Server version: Apache/2.2.12 (Ubuntu) - Server built: Aug
16 2010 17:37:49
Perl : This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Fetchmail : version 6.3.9-rc2+GSS+NTLM+SDPS+SSL+NLS+KRB5 on IMAP
with exchange
Plugins RT : ‘RT::Authen::ExternalAuth’, ‘RTx::EmailCompletion’,
‘RT::FM’

Thanks in advance,
Fabrice

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

Greetings everyone,

I’ve done a few searches on this and found various individuals that have
come across similar problems, but none of these individuals had a
resolution that fit my situation.

RT 3.8.10
ExternalAuth0.08 (latest is 0.09 but I don’t believe the changes between
these versions are causing the issue)

I have a person in our LDAP that is attempting to send an email in as their
first interaction with RT(that I can tell). The email is rejected and they
get the “could not load user” email response. I’ve had RT running in debug
mode for a while so I have all the logging in our rt.log file.

The basics of our LDAP setup
(shortened to the important info from our RT_SiteConfig)
‘filter’ => ‘(&(objectCategory=User) (ObjectClass=Person))’,
‘d_filter’ =>
‘(userAccountControl:1.2.840.113556.1.4.803:=2)’,
‘group’ =>
‘cn=Staff,ou=Groups,’
. ‘dc=mydomain’
,
‘group_attr’ => ‘member’,
‘attr_match_list’ => [
‘Name’,
‘EmailAddress’,
],
‘attr_map’ => {
‘Name’ => ‘sAMAccountName’,
‘EmailAddress’ => [‘mail’, ‘pager’],
‘RealName’ => ‘cn’,
‘ExternalAuthId’ => ‘sAMAccountName’

Set($AutoCreateNonExternalUsers,1);

So essentially, anyone that is an enabled user, in the Staff group is
allowed to actually login to RT(this person is sending an email, not
logging, but I thought it was relevant). attr_map has “mail” and “pager” in
there because our users could be sending emails from either username@nosm.caor
alias@nosm.ca (mjohnson|mike.johnson @nosm.ca) and Ruslan helped us so that
ExternalAuth would map an email from either address to 1 user in RT
provided the AD account had mail = username@nosm.ca and pager =
alias@nosm.ca

With that said… I’m getting the following error messages in RT’s log

[Thu Dec 8 20:42:19 2011] [crit]: User creation failed in mailgateway:
Name in use (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

[Thu Dec 8 20:42:20 2011] [warning]: Couldn’t load user
‘somebody@nosm.ca’.giving
up (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:962)
[Thu Dec 8 20:42:20 2011] [crit]: User ‘somebody@nosm.ca’ could not be
loaded in the mail gateway (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Thu Dec 8 20:42:21 2011] [error]: RT could not load a valid user, and
RT’s configuration does not allow
for the creation of a new user for this email (somebody@nosm.ca).
You might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue Helpdesk. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Thu Dec 8 20:42:21 2011] [error]: RT could not load a valid user, and
RT’s configuration does not allow
for the creation of a new user for your email.
(/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

I used the RT configuration interface to search for anything with partial
match of the username/alias (4 characters that I know exist in either email
address) and RT’s interface didn’t bring back anything matching for Real
Name, Email Address, or Username.

I decided to do a query at the database level on the Users table on those 3
fields(even though that’s what the RT interface does…), attempting in
some way to find what RT was finding as the “Name in use” error indicates,
but nothing was returned.

I have already granted our “Everyone” the “CreateTicket” right.

Can anyone tell me what I’m missing?

Ruslan, if you read this, can you let me know if you did any customization
to ExternalAuth to allow for the above mentioned matching, or if
ExternalAuth did that already?

Thanks!
Mike.
Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School of Medicine
955 Oliver Road
Thunder Bay, ON P7B 5E1
Phone: (807) 766-7331
Email: mike.johnson@nosm.ca

Greetings everyone,

I’ve done a few searches on this and found various individuals that have
come across similar problems, but none of these individuals had a
resolution that fit my situation.

RT 3.8.10
ExternalAuth0.08 (latest is 0.09 but I don’t believe the changes between
these versions are causing the issue)

I have a person in our LDAP that is attempting to send an email in as their
first interaction with RT(that I can tell). The email is rejected and they
get the “could not load user” email response. I’ve had RT running in debug
mode for a while so I have all the logging in our rt.log file.

The basics of our LDAP setup
(shortened to the important info from our RT_SiteConfig)
‘filter’ => ‘(&(objectCategory=User) (ObjectClass=Person))’,
‘d_filter’ =>
‘(userAccountControl:1.2.840.113556.1.4.803:=2)’,
‘group’ =>
‘cn=Staff,ou=Groups,’
. ‘dc=mydomain’
,
‘group_attr’ => ‘member’,
‘attr_match_list’ => [
‘Name’,
‘EmailAddress’,
],
‘attr_map’ => {
‘Name’ => ‘sAMAccountName’,
‘EmailAddress’ => [‘mail’, ‘pager’],
‘RealName’ => ‘cn’,
‘ExternalAuthId’ => ‘sAMAccountName’

Set($AutoCreateNonExternalUsers,1);

So essentially, anyone that is an enabled user, in the Staff group is
allowed to actually login to RT(this person is sending an email, not
logging, but I thought it was relevant). attr_map has “mail” and “pager” in
there because our users could be sending emails from either username@nosm.caor
alias@nosm.ca (mjohnson|mike.johnson @nosm.ca) and Ruslan helped us so that
ExternalAuth would map an email from either address to 1 user in RT
provided the AD account had mail = username@nosm.ca and pager =
alias@nosm.ca

With that said… I’m getting the following error messages in RT’s log

[Thu Dec 8 20:42:19 2011] [crit]: User creation failed in mailgateway:
Name in use (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

[Thu Dec 8 20:42:20 2011] [warning]: Couldn’t load user
‘somebody@nosm.ca’.giving
up (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:962)
[Thu Dec 8 20:42:20 2011] [crit]: User ‘somebody@nosm.ca’ could not be
loaded in the mail gateway (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Thu Dec 8 20:42:21 2011] [error]: RT could not load a valid user, and
RT’s configuration does not allow
for the creation of a new user for this email (somebody@nosm.ca).
You might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue Helpdesk. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Thu Dec 8 20:42:21 2011] [error]: RT could not load a valid user, and
RT’s configuration does not allow
for the creation of a new user for your email.
(/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

I used the RT configuration interface to search for anything with partial
match of the username/alias (4 characters that I know exist in either email
address) and RT’s interface didn’t bring back anything matching for Real
Name, Email Address, or Username.

I decided to do a query at the database level on the Users table on those 3
fields(even though that’s what the RT interface does…), attempting in
some way to find what RT was finding as the “Name in use” error indicates,
but nothing was returned.

I have already granted our “Everyone” the “CreateTicket” right.

Can anyone tell me what I’m missing?

Ruslan, if you read this, can you let me know if you did any customization
to ExternalAuth to allow for the above mentioned matching, or if
ExternalAuth did that already?

Thanks!
Mike.

Hi Mike,

We had a similar problem to this that was caused by our CanonicalizeEmailAddress
function and its interraction with updated LDAP directory information and I
suspect that your problem has similar roots. In our case, we change the Email
address for incoming tickets for any of a user’s mailaltname address to their
preferred Email address. The RT information is however only updated at night
so if a user changed their preferred Email address and created a ticket before
the nightly LDAP sync, it would canonicalize their Email address to their old
preferred address and then would try to create a new user. Of course a user
already existed with their old choice of preferred Email address as their
Email address which led to the same error you received and the failure to
create the new user and ticket.

We fixed it by checking the RT DB for the information so see if it had older
yet valid information, and if so, we returned to data from the RT DB instead
so the ticket would be created and the nightly LDAP update to move their Email
address to the new address. I think that your problem is the same type of
scenario, but using their pager address or Email address. I hope this helps.

Regards,
Ken

Hi Mike,

We had a similar problem to this that was caused by our CanonicalizeEmailAddress
function and its interraction with updated LDAP directory information and I
suspect that your problem has similar roots. In our case, we change the Email
address for incoming tickets for any of a user’s mailaltname address to their
preferred Email address. The RT information is however only updated at night
so if a user changed their preferred Email address and created a ticket before
the nightly LDAP sync, it would canonicalize their Email address to their old
preferred address and then would try to create a new user. Of course a user
already existed with their old choice of preferred Email address as their
Email address which led to the same error you received and the failure to
create the new user and ticket.

We fixed it by checking the RT DB for the information so see if it had older
yet valid information, and if so, we returned to data from the RT DB instead
so the ticket would be created and the nightly LDAP update to move their Email
address to the new address. I think that your problem is the same type of
scenario, but using their pager address or Email address. I hope this helps.

Regards,
Ken

Hi Mike,

We had a similar problem to this that was caused by our CanonicalizeEmailAddress
function and its interraction with updated LDAP directory information and I
suspect that your problem has similar roots. In our case, we change the Email
address for incoming tickets for any of a user’s mailaltname address to their
preferred Email address. The RT information is however only updated at night
so if a user changed their preferred Email address and created a ticket before
the nightly LDAP sync, it would canonicalize their Email address to their old
preferred address and then would try to create a new user. Of course a user
already existed with their old choice of preferred Email address as their
Email address which led to the same error you received and the failure to
create the new user and ticket.

We fixed it by checking the RT DB for the information so see if it had older
yet valid information, and if so, we returned to data from the RT DB instead
so the ticket would be created and the nightly LDAP update to move their Email
address to the new address. I think that your problem is the same type of
scenario, but using their pager address or Email address. I hope this helps.

Regards,
Ken

Hi Mike,

We had a similar problem to this that was caused by our CanonicalizeEmailAddress
function and its interraction with updated LDAP directory information and I
suspect that your problem has similar roots. In our case, we change the Email
address for incoming tickets for any of a user’s mailaltname address to their
preferred Email address. The RT information is however only updated at night
so if a user changed their preferred Email address and created a ticket before
the nightly LDAP sync, it would canonicalize their Email address to their old
preferred address and then would try to create a new user. Of course a user
already existed with their old choice of preferred Email address as their
Email address which led to the same error you received and the failure to
create the new user and ticket.

We fixed it by checking the RT DB for the information so see if it had older
yet valid information, and if so, we returned to data from the RT DB instead
so the ticket would be created and the nightly LDAP update to move their Email
address to the new address. I think that your problem is the same type of
scenario, but using their pager address or Email address. I hope this helps.

Regards,
Ken

I looked deeper into the issue and the LDAP account doesn’t have anything
in the pager attribute.

I’m wondering if ExternalAuth is getting confused on that…

I’ll try to populate the pager attribute and get the user to attempt send a
new email…

I’ll report back.

Thanks!
Mike.On Fri, Dec 9, 2011 at 4:32 PM, ktm@rice.edu ktm@rice.edu wrote:

On Fri, Dec 09, 2011 at 04:18:29PM -0500, Mike Johnson wrote:

Greetings everyone,

I’ve done a few searches on this and found various individuals that have
come across similar problems, but none of these individuals had a
resolution that fit my situation.

RT 3.8.10
ExternalAuth0.08 (latest is 0.09 but I don’t believe the changes between
these versions are causing the issue)

I have a person in our LDAP that is attempting to send an email in as
their
first interaction with RT(that I can tell). The email is rejected and
they
get the “could not load user” email response. I’ve had RT running in
debug
mode for a while so I have all the logging in our rt.log file.

The basics of our LDAP setup
(shortened to the important info from our RT_SiteConfig)
‘filter’ => ‘(&(objectCategory=User)
(ObjectClass=Person))’,
‘d_filter’ =>
‘(userAccountControl:1.2.840.113556.1.4.803:=2)’,
‘group’ =>
‘cn=Staff,ou=Groups,’
. ‘dc=mydomain’
,
‘group_attr’ => ‘member’,
‘attr_match_list’ => [
‘Name’,
‘EmailAddress’,
],
‘attr_map’ => {
‘Name’ => ‘sAMAccountName’,
‘EmailAddress’ => [‘mail’, ‘pager’],
‘RealName’ => ‘cn’,
‘ExternalAuthId’ => ‘sAMAccountName’

Set($AutoCreateNonExternalUsers,1);

So essentially, anyone that is an enabled user, in the Staff group is
allowed to actually login to RT(this person is sending an email, not
logging, but I thought it was relevant). attr_map has “mail” and “pager”
in
there because our users could be sending emails from either
username@nosm.caor
alias@nosm.ca (mjohnson|mike.johnson @nosm.ca) and Ruslan helped us so
that
ExternalAuth would map an email from either address to 1 user in RT
provided the AD account had mail = username@nosm.ca and pager =
alias@nosm.ca

With that said… I’m getting the following error messages in RT’s log

[Thu Dec 8 20:42:19 2011] [crit]: User creation failed in mailgateway:
Name in use (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

[Thu Dec 8 20:42:20 2011] [warning]: Couldn’t load user
‘somebody@nosm.ca’.giving
up (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:962)
[Thu Dec 8 20:42:20 2011] [crit]: User ‘somebody@nosm.ca’ could not be
loaded in the mail gateway
(/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Thu Dec 8 20:42:21 2011] [error]: RT could not load a valid user, and
RT’s configuration does not allow
for the creation of a new user for this email (somebody@nosm.ca).
You might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue Helpdesk. (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Thu Dec 8 20:42:21 2011] [error]: RT could not load a valid user, and
RT’s configuration does not allow
for the creation of a new user for your email.
(/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)

I used the RT configuration interface to search for anything with partial
match of the username/alias (4 characters that I know exist in either
email
address) and RT’s interface didn’t bring back anything matching for Real
Name, Email Address, or Username.

I decided to do a query at the database level on the Users table on
those 3
fields(even though that’s what the RT interface does…), attempting in
some way to find what RT was finding as the “Name in use” error
indicates,
but nothing was returned.

I have already granted our “Everyone” the “CreateTicket” right.

Can anyone tell me what I’m missing?

Ruslan, if you read this, can you let me know if you did any
customization
to ExternalAuth to allow for the above mentioned matching, or if
ExternalAuth did that already?

Thanks!
Mike.

Hi Mike,

We had a similar problem to this that was caused by our
CanonicalizeEmailAddress
function and its interraction with updated LDAP directory information and I
suspect that your problem has similar roots. In our case, we change the
Email
address for incoming tickets for any of a user’s mailaltname address to
their
preferred Email address. The RT information is however only updated at
night
so if a user changed their preferred Email address and created a ticket
before
the nightly LDAP sync, it would canonicalize their Email address to their
old
preferred address and then would try to create a new user. Of course a user
already existed with their old choice of preferred Email address as their
Email address which led to the same error you received and the failure to
create the new user and ticket.

We fixed it by checking the RT DB for the information so see if it had
older
yet valid information, and if so, we returned to data from the RT DB
instead
so the ticket would be created and the nightly LDAP update to move their
Email
address to the new address. I think that your problem is the same type of
scenario, but using their pager address or Email address. I hope this
helps.

Regards,
Ken

Hi Mike,

We had a similar problem to this that was caused by our
CanonicalizeEmailAddress
function and its interraction with updated LDAP directory information and I
suspect that your problem has similar roots. In our case, we change the
Email
address for incoming tickets for any of a user’s mailaltname address to
their
preferred Email address. The RT information is however only updated at
night
so if a user changed their preferred Email address and created a ticket
before
the nightly LDAP sync, it would canonicalize their Email address to their
old
preferred address and then would try to create a new user. Of course a user
already existed with their old choice of preferred Email address as their
Email address which led to the same error you received and the failure to
create the new user and ticket.

We fixed it by checking the RT DB for the information so see if it had
older
yet valid information, and if so, we returned to data from the RT DB
instead
so the ticket would be created and the nightly LDAP update to move their
Email
address to the new address. I think that your problem is the same type of
scenario, but using their pager address or Email address. I hope this
helps.

Regards,
Ken

Hi Mike,

We had a similar problem to this that was caused by our
CanonicalizeEmailAddress
function and its interraction with updated LDAP directory information and I
suspect that your problem has similar roots. In our case, we change the
Email
address for incoming tickets for any of a user’s mailaltname address to
their
preferred Email address. The RT information is however only updated at
night
so if a user changed their preferred Email address and created a ticket
before
the nightly LDAP sync, it would canonicalize their Email address to their
old
preferred address and then would try to create a new user. Of course a user
already existed with their old choice of preferred Email address as their
Email address which led to the same error you received and the failure to
create the new user and ticket.

We fixed it by checking the RT DB for the information so see if it had
older
yet valid information, and if so, we returned to data from the RT DB
instead
so the ticket would be created and the nightly LDAP update to move their
Email
address to the new address. I think that your problem is the same type of
scenario, but using their pager address or Email address. I hope this
helps.

Regards,
Ken

Hi Mike,

We had a similar problem to this that was caused by our
CanonicalizeEmailAddress
function and its interraction with updated LDAP directory information and I
suspect that your problem has similar roots. In our case, we change the
Email
address for incoming tickets for any of a user’s mailaltname address to
their
preferred Email address. The RT information is however only updated at
night
so if a user changed their preferred Email address and created a ticket
before
the nightly LDAP sync, it would canonicalize their Email address to their
old
preferred address and then would try to create a new user. Of course a user
already existed with their old choice of preferred Email address as their
Email address which led to the same error you received and the failure to
create the new user and ticket.

We fixed it by checking the RT DB for the information so see if it had
older
yet valid information, and if so, we returned to data from the RT DB
instead
so the ticket would be created and the nightly LDAP update to move their
Email
address to the new address. I think that your problem is the same type of
scenario, but using their pager address or Email address. I hope this
helps.

Regards,
Ken

Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School of Medicine
955 Oliver Road
Thunder Bay, ON P7B 5E1
Phone: (807) 766-7331
Email: mike.johnson@nosm.ca

Hello everyone,
I’ve been googling for more than half the day now, and still don’t have an
answer.
I just can’t put new emails into RT4.

I just installed RT4, with no external authentication.

I use fetchmail to grab mail from a user “off server”.

When I get fetchmail to pull the emails, rt-mailgate does the job, but I
get errors, and no tickets are created.
here are the issues and the site config.

I hope someone can help?

fetchmail config:

poll mail.mydomain.com proto pop3:
username “support@mydomain.com” password “mypassword” mda
“/opt/rt4/bin/rt-mailgate” --url http://rt.mydomain.com/ --queue -SupportQ-
–action correspond"

/var/log/messages:

May 29 14:09:29 rt RT: [9241] Could not record email: Message Bounced
May 29 14:09:30 rt RT: [9241] RT Received mail (<
20140529163951.D0EFC41782@rt.switchworks.com>#012) from itself.
May 29 14:09:30 rt RT: [9241] RT Bounce: RT Bounce: RT Bounce: RT Bounce:
RT Bounce: RT Bounce: RT Bounce: Could not load a valid user: RT thinks
this message may be a bounce

email gets sent to me:

RT thinks this message may be a bounce

RT thinks this message may be a bounce

RT thinks this message may be a bounce

RT thinks this message may be a bounce

RT thinks this message may be a bounce

RT thinks this message may be a bounce

RT thinks this message may be a bounce

RT could not load a valid user, and RT’s configuration does not allow
for the creation of a new user for this email (someemail@domain.com).

You might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue -SupportQ-.

I have gone into the “global group rights”,
and granted 'create tickets" to everyone AND unprivalaged.
and the group rights for the queue as well…

I also tried these settings in the config:

Set($AutoCreate, {UnPrivileged => 1});
Set($AutoCreate, {Privileged => 0});
Set($AutoCreateNonExternalUsers,1);
Set($AutoCreateNonExternalUsers, 0);

nothing seems to help.here is my RT_SiteConfig.pm:

Enable ‘code’ tickets in approval processing

Set($UseCodeTickets, 1);

Enable batch transaction scrips

Set($UseTransactionBatch , 1);
@EmailInputEncodings = qw(utf-8 big5 us-ascii);
Set($CompanySpecific, ‘’);
Set($rtname , “http://rt.switchworks.com”);
Set($Organization , “switchworks.com”);
Set($DatabaseType , ‘mysql’);
Set($DatabaseUser , ‘root’);
Set($DatabasePassword , ‘RTadmin78’);
Set($DatabaseName , ‘rt4’);
Set($OwnerEmail , ‘wrottley@gmail.com’);
Set($RTAddressRegexp , “support@mydomain.com”);
Set($OverrideOutgoingMailFrom, {
‘Default’ => “support@mydomain.com”,
‘General’ => “support@mydomain.com”,
});

Set($FriendlyFromLineFormat, “Support” <%s>");

Set($UseFriendlyFromLine, 0);
Set($WebDomain, ‘rt.switchworks.com’);
Set($WebBaseURL , “http://rt.switchworks.com”);
Set($WebPath , “”);
Set($WebURL , “http://rt.switchworks.com” . $WebPath . “/”);
Set($WebImagesURL , “http://rt.switchworks.com/” . “NoAuth/images/”);
Set($LogoURL , “Login” . “rt.jpg”);

Enable HTML in tickets

Set($PreferRichText, 1);
Set($MessageBoxRichText, 1);
Set($MessageBoxRichTextHeight, 200);

Set($AutoCreateNonExternalUsers, 1);

any help would be greatly appreciated!

/var/log/messages:

Instead of /var/log/messages which appears to be getting chopped up by
something, I suggest you
Set($LogToSTDERR, ‘debug’);
and read the debug logs in your apache logs.

You should also show the bounce email you get, since it implies mail
is looping.

RT could not load a valid user, and RT’s configuration does not allow
for the creation of a new user for this email ([5]someemail@domain.com).

You might need to grant ‘Everyone’ the right ‘CreateTicket’ for the
queue -SupportQ-.

While this generally means you need to change permissions, it can also
mean that you have a customization mucking about which might show up
in the debug logs.

Set($AutoCreate, {UnPrivileged => 1});
Set($AutoCreate, {Privileged => 0});

The first of these means nothing, and in either case, AutoCreate is no
longer correct under 4.2, and only works when logging in with the web
UI, not email:

http://bestpractical.com/docs/rt/latest/RT_Config.html#WebRemoteUserAutocreate

Set($AutoCreateNonExternalUsers,1);
Set($AutoCreateNonExternalUsers, 0);

This only applies if you have RT-Authen-ExternalAuth enabled.

Enable ‘code’ tickets in approval processing

Set($UseCodeTickets, 1);

This has not been a valid configuration option for almost a decade.

Enable batch transaction scrips

Set($UseTransactionBatch , 1);

This is the default since midway through 3.8

@EmailInputEncodings = qw(utf-8 big5 us-ascii);

This doesn’t do anything

Set($CompanySpecific, ‘’);

This implies you have customizations, what are they?

Set($DatabaseUser , ‘root’);

Don’t run RT as the root mysql user

Set($DatabasePassword , ‘’);

You just leaked your root database password to several mailing list
archives.

Set($WebDomain, ‘rt.switchworks.com’);
Set($WebBaseURL , “http://rt.switchworks.com”);
Set($WebPath , “”);
Set($WebURL , “http://rt.switchworks.com” . $WebPath . “/”);
Set($WebImagesURL , “http://rt.switchworks.com/” . “NoAuth/images/”);
Set($LogoURL , “Login” . “rt.jpg”);

The last 2 of these may not do what you mean, and you generally only
want to set WebDomain, WebPath and WebPort and let us calculate. Your
WebPath is the default and does not need to be specified.
http://bestpractical.com/docs/rt/latest/RT_Config.html#WebBaseURL-WebURL

Enable HTML in tickets

Set($PreferRichText, 1);
Set($MessageBoxRichText, 1);
Set($MessageBoxRichTextHeight, 200);

These are all the defaults

Set($AutoCreateNonExternalUsers, 1);

Irrelevant unless you have RT-Authen-ExternalAuth installed

-kevin