<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Yes - the user has authenticated a number of times, and opened a ticket via the web interface.  I did verify that the proper email address was imported from AD to the RT database.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Giuseppe Sollazzo [mailto:gsollazz@sgul.ac.uk]
<br>
<b>Sent:</b> Friday, March 04, 2011 11:57 AM<br>
<b>To:</b> Brandon Olszewski<br>
<b>Cc:</b> rt-users@lists.bestpractical.com<br>
<b>Subject:</b> Re: [rt-users] rt-mailgate rejects incoming email<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><br>
Just a question... had the user authenticated at least once?<br>
If they aren't in the db or imported from ldap, there's no mention of them in the RT users db hence incoming e-mails can't create tickets.<br>
<br>
Giuseppe<br>
<br>
On 04/03/11 17:46, Brandon Olszewski wrote: <o:p></o:p></p>
<p class="MsoNormal">I have a new install of RT 3.8.9 running on SLES11, and I cannot get incoming emails to update/create tickets.  I’m using postfix for email routing.  Outgoing mail works (all mail routed to an Exchange smarthost).  I put a debug switch
 in my aliases file and the error generated by an incoming email is:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">[error] Couldn’t find sender’s address (/opt/rt3/bin/../lib/RT/Interface/Email/Auth/MailFrom/pm:67)<o:p></o:p></p>
<p class="MsoNormal">[error] Could not record email: Could not load a valid user (/opt/rt3/share/html/REST/1.0/noAuth/mail-gateway:75)<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">From what I understand, this error means that postfix received the email properly and passed it to rt-mailgate, which failed to parse a valid FROM email address from the headers thus rejecting the message.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">The only instance I’ve found of this error happing was resolved by adding “CreateTicket” permissions to the “Everyone” group in RT – I’ve done this to no avail.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Linux version: 2.6.32.27-0.2-default<o:p></o:p></p>
<p class="MsoNormal">Perl version: 5.10.0 built for x86_64-linux-thread-multi<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Non-standard configurations:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Default http site redirects to https<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Additional module RT::Authen::ExternalAuth 0.08_01 – authenticates via LDAP against Active Directory – is working properly.
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Any advice would be much appreciated!<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and privileged material. Unauthorized
 review, use, disclosure, or distribution is prohibited. If you receive this material/information in error, please contact the sender and destroy the material/information.<br>
<br>
Email is not a secure form of communication and should not be used to transmit personal or confidential information such as account numbers, balance information, or wire transfer requests. The PrivateBank is not responsible for the security of sensitive information
 received by email.</span><span style="font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif""><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>____________________________________<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Giuseppe Sollazzo<o:p></o:p></pre>
<pre>Senior Systems Analyst<o:p></o:p></pre>
<pre>Computing Services<o:p></o:p></pre>
<pre>Information Services<o:p></o:p></pre>
<pre>St. George's, University Of London<o:p></o:p></pre>
<pre>Cranmer Terrace<o:p></o:p></pre>
<pre>London SW17 0RE<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Email: <a href="mailto:gsollazz@sgul.ac.uk">gsollazz@sgul.ac.uk</a><o:p></o:p></pre>
<pre>Direct Dial: +44 20 8725 5160<o:p></o:p></pre>
<pre>Fax: +44 20 8725 3583 <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and privileged material. Unauthorized review, use, disclosure, or distribution is prohibited.
 If you receive this material/information in error, please contact the sender and destroy the material/information.<br>
<br>
Email is not a secure form of communication and should not be used to transmit personal or confidential information such as account numbers, balance information, or wire transfer requests. The PrivateBank is not responsible for the security of sensitive information
 received by email.<br>
</font>
</body>
</html>