We added a domain and made it everyone's reply as email address and now RT is 
kicking out a bunch of:
RT could not load a valid user, and RT's configuration does not allow for the 
creation of a new user for this email (u...@xxx3.com<mailto:u...@xxx3.com>).
You might need to grant 'Everyone' the right 'ReplyToTicket' for the queue XXX.
We are using ExtAuth, and Email Completion against 2008 Active Directory.  
Everything has been working great, until we added this new email domain, and 
set it as everyone's primary reply as.
I've attached the two config files in case someone wants to dig into it...XXX1 
is the original domain, XXX2 is a sister company, and XXX3 is the new domain.  
We're only getting the errors when people are sending tickets in via email to 
from their new XXX3 domain email account.  In the mean time I've set AutoCreate 
to 1, but we're not a fan of cleaning out spam regularly...

Thanks in advance.
 -Andy
############################
#   XXXXXX Site Config  #
############################

Set($rtname , "XXXXX");
Set($LogoAltText , "XXXX");
Set($LogoURL , "/ticket/NoAuth/images/LuminanceLogo.gif");
Set($Organization , "helpdesk.corp.XXX1.com");
Set($MinimumPasswordLength , "5");
Set($Timezone , 'US/Pacific');

Set(@Plugins, qw(
                        RT::Authen::ExternalAuth
                        RTx::EmailCompletion
                 ));

Set($HomepageComponents, [qw(
                             QuickCreate
                             Quicksearch
                             MyAdminQueues
                             MySupportQueues
                             MyReminders
                             RefreshHomepage
                             Dashboards
                            )]);

Set($DatabaseType , 'mysql');
Set($DatabaseHost   , 'localhost');
Set($DatabaseRTHost , 'localhost');
Set($DatabasePort , '');
Set($DatabaseUser , 'XXXXXX');
Set($DatabasePassword , 'XXXXXXXXXX');
Set($DatabaseName , 'rt3');

Set($OwnerEmail , 'root');
Set($LoopsToRTOwner , 1);

Set($SendmailArguments , "-oi -t -f support\@helpdesk.corp.XXX1.com");

Set($MaxAttachmentSize , 10000000);

Set($ParseNewMessageForTicketCcs , 1);

Set($RTAddressRegexp , 
'^(abc|123)(-comment)?\@(helpdesk\.corp\.)?(XXXX3\.us\.com|XXXX1\.com|XXXX2(nnnnnnn|nnnnnnn)\.com)$');
Set($CorrespondAddress , 'no-re...@helpdesk.corp.xxx1.com');
Set($CommentAddress , 'no-re...@helpdesk.corp.xxx1.com');

Set($UseFriendlyFromLine , 1);
Set($FriendlyFromLineFormat , "\"%s\" <%s>");
Set($UseFriendlyToLine , 1);
Set($FriendlyToLineFormat, "\"%s Ticket #%s\":;");

Set($NotifyActor, 0);
Set($RecordOutgoingEmail, 1);

Set($WebPath , "/ticket");
Set($WebPort , 80);
Set($WebBaseURL , "http://helpdesk.corp.XXX1.com";);
Set($WebURL , $WebBaseURL . $WebPath . "/");

Set($MessageBoxWidth , 72);
Set($MessageBoxWrap, "HARD");

Set($MaxInlineBody, 13456);
Set($DefaultSummaryRows, 10);

Set($OldestTransactionsFirst, '1');
Set($ShowTransactionImages, 1);

Set($DateDayBeforeMonth , 0);
Set($AmbiguousDayInPast , 1);

require "/opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm";
require "/opt/rt3/local/plugins/RTx-EmailCompletion/lib/RTx/EmailCompletion.pm";
Set($AutoCreate,                        {Privileged => 1});

Set($PreferRichText, true);
Set($TrustHTMLAttachments, true);
Set($EmailCompletionLdapServer, "dc01.corp.XXX1.com");
Set($EmailCompletionLdapBase, "dc=corp,dc=XXX1,dc=com");
Set($EmailCompletionLdapUser, "XXXX");
Set($EmailCompletionLdapPass, "XXXXXXXX");
Set($EmailCompletionLdapMinLength, 1);
Set($EmailCompletionLdapFilter, "(objectclass=user)");
1;
Set($ExternalAuthPriority,           [ 'XXX1_LDAP', 'XXX2_LDAP' ] );
Set($ExternalInfoPriority,           [ 'XXX1_LDAP', 'XXX2_LDAP' ] );
Set($ExternalServiceUsesSSLorTLS,    0);
#Temporarily Set AutoCreateNonExternalUsers to 1 since we're getting non-valid 
errors
Set($AutoCreateNonExternalUsers,     1);  
Set($ExternalSettings,      {
                     'ADL_LDAP'               =>  {
                     'type'                  =>  'ldap',
                     'server'                =>  'dc01.XXX1.com',
                     'user'                  =>  
'CN=rtldap,OU=RequestTracker,OU=Domain Service Accounts,DC=CORP,DC=XXX1,DC=com',
                     'pass'                  =>  'XXXXXX1',
                     'base'                  =>  'dc=corp,dc=XXX1,dc=com',
                     'filter'                =>  
'(&(ObjectCategory=User)(ObjectClass=Person))',
#                    'd_filter'              =>  
'(userAccountControl:1.2.840.113556.1.4.803:=2)',
                     'tls'                   =>  0,
#                    'ssl_version'           =>  3,
                     'net_ldap_args'         => [    version =>  3           ],
#                    'group'                 =>  ''CN=RT Security 
Group,OU=RequestTracker,OU=Domain Service Accounts,DC=CORP,DC=XXX1,DC=com',
#                    'group_attr'            =>  'member',
                     'attr_match_list'       => [   'Name', 'EmailAddress'   ],
                     'attr_map'              => {   'Name' => 'sAMAccountName',
                                                    'EmailAddress' => 'mail',
                                                    'Organization' => 
'physicalDeliveryOfficeName',
                                                    'RealName' => 'cn',
                                                    'ExternalAuthId' => 
'sAMAccountName',
                                                    'Gecos' => 'sAMAccountName',
                                                    'WorkPhone' => 
'telephoneNumber',
                                                    'Address1' => 
'streetAddress',
                                                    'City' => 'l',
                                                    'State' => 'st',
                                                    'Zip' => 'postalCode',
                                                    'Country' => 'co'
                                                }
                                                },
                     'HMK_LDAP'               =>  {
                     'type'                  =>  'ldap',
                     'server'                =>  'XXX2dc01.XXX2.com',
                     'user'                  =>  
'CN=hmkrtldap,OU=RequestTracker,OU=XXX2 Domain Service Accounts,DC=XXX2,DC=COM',
                     'pass'                  =>  'XXXXXX2',
                     'base'                  =>  'DC=XXX2,DC=COM',
                     'filter'                =>  '(ObjectClass=*)',
#                    'd_filter'              =>  
'(userAccountControl:1.2.840.113556.1.4.803:=2)',
                     'tls'                   =>  0,
#                    'ssl_version'           =>  3,
                     'net_ldap_args'         => [    version =>  3           ],
#                    'group'                 =>  'cn=RT Security 
Group,ou=RequestTracker Users,ou=XXX2 Domain Service Accounts,dc=XXX2,dc=com',
#                    'group_attr'            =>  'member',
                     'attr_match_list'       => [   'Name', 'EmailAddress'   ],
                     'attr_map'              => {   'Name' => 'sAMAccountName',
                                                    'EmailAddress' => 'mail',
                                                    'Organization' => 
'physicalDeliveryOfficeName',
                                                    'RealName' => 'cn',
                                                    'ExternalAuthId' => 
'sAMAccountName',
                                                    'Gecos' => 'sAMAccountName',
                                                    'WorkPhone' => 
'telephoneNumber',
                                                    'Address1' => 
'streetAddress',
                                                    'City' => 'l',
                                                    'State' => 'st',
                                                    'Zip' => 'postalCode',
                                                    'Country' => 'co'
                                                }
                }

                            }
);

1;
--------
2011 Training: http://bestpractical.com/services/training.html

Reply via email to