<div dir="ltr"><div>I've just stood up a new RT instance using AD authentication. This works and as a new user logs in an RT user is created and added to the Privileged group ($AutoCreate,{Privileged=>1})</div><div>
<br></div>I'm trying to test RT and Postfix via telnet. Postfix is receiving the email, but I'm getting a couple errors.<div><br></div><div>From /var/log/maillog:</div><div>Jan 14 01:41:02 zen-rt postfix/local[10173]: 5F44F808B3: to=<<a href="mailto:rt@example.com">rt@example.com</a>>, relay=local, delay=2249, delays=2243/5/0/0.11, dsn=4.3.0, status=deferred (temporary failure. Command output: HTTP request failed: 500 No Host option provided. Your webserver logs may have more information or there may be a network problem. )</div>
<div><br></div><div>From /var/log/httpd/error_log:</div><div><div>[9561] [Tue Jan 14 05:52:47 2014] [warning]: Use of uninitialized value $NewSubject in scalar chomp at /opt/rt4/sbin/../lib/RT/Interface/Email.pm line 1330. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1330)</div>
<div>[9561] [Tue Jan 14 05:52:47 2014] [error]: Couldn't parse or find sender's address (/opt/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:74)</div><div>[9561] [Tue Jan 14 05:52:47 2014] [error]: Could not record email: Could not load a valid user (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)</div>
<div>[9561] [Tue Jan 14 05:55:49 2014] [error]: Could not load a valid user: RT could not load a valid user, and RT's configuration does not allow</div><div>for the creation of a new user for this email (<a href="mailto:root@example.com">root@example.com</a>).</div>
<div><br></div><div>You might need to grant 'Everyone' the right 'CreateTicket' for the</div><div>queue general. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:245)</div><div>[9561] [Tue Jan 14 05:55:50 2014] [error]: Could not load a valid user: RT could not load a valid user, and RT's configuration does not allow</div>
<div>for the creation of a new user for your email. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:245)</div><div>[9561] [Tue Jan 14 05:55:50 2014] [error]: Could not record email: Could not load a valid user (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)</div>
</div><div><br></div><div>I have granted the CreateTicket right to the Everyone group.</div><div><br></div><div>I have the $AutoCreateNonExternalUsers option set to 1. From what I understand this should create users who are not AD authenticated. Perhaps I'm wrong about this. Is there another option I should be using instead of or in addition to this one?</div>
<div><br></div><div><br></div><div><div><div>-Mathew<br><br>"When you do things right, people won't be sure you've done anything at all." - God; Futurama<div><br></div><div>"<span style="background-color:rgb(255,255,255);font-family:arial,sans-serif;font-size:13px;line-height:18px">We'll get along much better once you accept that you're wrong and neither am I." - Me</span></div>
</div>
</div></div></div>