[rt-users] User creation failed in mailgateway: Name in use

2011-06-10 Thread Robert
Hi,

Bugging me for days, I'm sending an email to RT to create a ticket,
the address already exists in the database.

I send it, it fails and I receive back 3 emails
1. "User creation failed in mailgateway: Name in use"
2. "User 'xxx@xxx' could not be loaded in the mail gateway"
3. "RT could not load valid user"

the log output 

Jun 10 11:28:29 eu-support RT: User creation failed in mailgateway: Name
in use (/opt/rt3/bin/../local/lib/RT/Interface/Email.pm:244)

RT_SiteConfig
Set($AutoCreateNonExternalUsers,1);  
Set($ValidateUserEmailAddresses,1); 
   



Globals->Group privs
Everyone->CreateTicket, ReplyToTicket
Privaleged->CreateTicket, ReplyToTicket
Unprivileged->CreateTicket, ReplyToTicket

this has happened on more than one occasion and ive been through quite a
few possible fixes? and have run out of ideas,

can anyone shed some light on exactly what is going on?

best
Saragan






Re: [rt-users] User creation failed in mailgateway: Name in use

2011-06-10 Thread declaya


Robert-356 wrote:
> 
> Hi,
> 
> Bugging me for days, I'm sending an email to RT to create a ticket,
> the address already exists in the database.
> 
> I send it, it fails and I receive back 3 emails
> 1. "User creation failed in mailgateway: Name in use"
> 2. "User 'xxx@xxx' could not be loaded in the mail gateway"
> 3. "RT could not load valid user"
> 
> the log output 
> 
> Jun 10 11:28:29 eu-support RT: User creation failed in mailgateway: Name
> in use (/opt/rt3/bin/../local/lib/RT/Interface/Email.pm:244)
> 
> RT_SiteConfig
> Set($AutoCreateNonExternalUsers,1);  
> Set($ValidateUserEmailAddresses,1);   
>  
> 
> 
> 
> Globals->Group privs
> Everyone->CreateTicket, ReplyToTicket
> Privaleged->CreateTicket, ReplyToTicket
> Unprivileged->CreateTicket, ReplyToTicket
> 
> this has happened on more than one occasion and ive been through quite a
> few possible fixes? and have run out of ideas,
> 
> can anyone shed some light on exactly what is going on?
> 
> best
> Saragan
> 
> 


Hi Robert-356,

are you using the RT-ExternalAuth plugin? I got similar error massages when
it was not configured correctly. Have you tried to turn it off?  
I can only tell from my research, it doesn't need to be correct, but maybe
RT tries to check if the user already exists and - if we assume that you use
ExternalAuth and your config is somehow wrong - it can't get access to the
AD server. 
My second guess: Have you double-checked all users in your db at the
frontend? Try to search after a % in the name and you will find all
registered users.

Hope this helps!

-- 
View this message in context: 
http://old.nabble.com/User-creation-failed-in-mailgateway%3A-Name-in-use-tp31817312p31817513.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] User creation failed in mailgateway: Name in use

2011-06-10 Thread Robert
hi, thnx for the quick reply


No we use RT::Authen::ExternalAuth rather than externalauth for ldap.
(internal users only)

the users have been created as valid users in the RT
database, RT just seems to have an issue locating them and allowing them
to
send the mail in.

Other mail users that are setup as both valid users and privileged are
fine
even though they don’t exist in ldap.


-Original Message-
From: declaya 
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] User creation failed in mailgateway: Name in use
Date: Fri, 10 Jun 2011 05:28:15 -0700 (PDT)


Robert-356 wrote:
> 
> Hi,
> 
> Bugging me for days, I'm sending an email to RT to create a ticket,
> the address already exists in the database.
> 
> I send it, it fails and I receive back 3 emails
> 1. "User creation failed in mailgateway: Name in use"
> 2. "User 'xxx@xxx' could not be loaded in the mail gateway"
> 3. "RT could not load valid user"
> 
> the log output 
> 
> Jun 10 11:28:29 eu-support RT: User creation failed in mailgateway: Name
> in use (/opt/rt3/bin/../local/lib/RT/Interface/Email.pm:244)
> 
> RT_SiteConfig
> Set($AutoCreateNonExternalUsers,1);  
> Set($ValidateUserEmailAddresses,1);   
>  
> 
> 
> 
> Globals->Group privs
> Everyone->CreateTicket, ReplyToTicket
> Privaleged->CreateTicket, ReplyToTicket
> Unprivileged->CreateTicket, ReplyToTicket
> 
> this has happened on more than one occasion and ive been through quite a
> few possible fixes? and have run out of ideas,
> 
> can anyone shed some light on exactly what is going on?
> 
> best
> Saragan
> 
> 


Hi Robert-356,

are you using the RT-ExternalAuth plugin? I got similar error massages when
it was not configured correctly. Have you tried to turn it off?  
I can only tell from my research, it doesn't need to be correct, but maybe
RT tries to check if the user already exists and - if we assume that you use
ExternalAuth and your config is somehow wrong - it can't get access to the
AD server. 
My second guess: Have you double-checked all users in your db at the
frontend? Try to search after a % in the name and you will find all
registered users.

Hope this helps!