<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:st1="urn:schemas-microsoft-com:office:smarttags" 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 11 (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]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</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 lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Looks like the combination of both your
suggestions corrected the problem.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>In moving to another issue, is there a
good in depth guide you know about for a full interface to RT via email?  The
scenario we are looking for right now is to create tickets via email (via a separate
email alias, like <a href="mailto:newticket@netcentralinc.com">newticket@netcentralinc.com</a>).
 How is this accomplished?  <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I have the RT Essentials book and have
checked out the WIKI, and information on this seems sparse at best, with some
answers just being “go write a script.”  <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Do I have to create a new alias with a new
“incoming” queue?  How is the email body formatted and parsed?  What
is the –extension=queue | action | ticket option supported by mailgate
and how is it used?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks everyone!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Torsten Brumm
[mailto:torsten.brumm@googlemail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, October 04, 2006
1:16 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Mathew Snyder<br>
<b><span style='font-weight:bold'>Cc:</span></b> <st1:PersonName w:st="on">Josh
 Barron</st1:PersonName>; <st1:PersonName w:st="on">rt-users@lists.bestpractical.com</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [rt-users] RE:
RT-Mailgate Setup Errors</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Another point to this.
have you added the mailgate to the srmsh allowed list?<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>2006/10/4, Mathew Snyder <<a
href="mailto:jokermjs19@comcast.net">jokermjs19@comcast.net</a>>:</span></font></span>
<o:p></o:p></p>

<p class=MsoNormal><st1:PersonName w:st="on"><font size=3 face="Times New Roman"><span
 style='font-size:12.0pt'>Josh Barron</span></font></st1:PersonName> wrote:<br>
> Ok that didn't seem to solve the problem.<br>
><br>
> When I reply to a ticket, (with the correct Ticket ID in the subject, <br>
> unchanged), i get two messages back saying the same thing:<br>
><br>
>> RT could not load a valid user, and RT's configuration does not allow<br>
>>  for the creation of a new user for this email<br>
> ( <a href="mailto:joshb@netcentralinc.com">joshb@netcentralinc.com</a>
<mailto:<a href="mailto:joshb@netcentralinc.com">joshb@netcentralinc.com</a>>).<br>
><br>
> The second message has the following in addition to the message above: <br>
>  "You might need to grant 'Everyone' the right
'ReplyToTicket' for the<br>
> queue Customer."<br>
><br>
> My /etc/aliases/ looks like this:<br>
> correspond:     "|/opt/rt3/bin/rt-mailgate
--queue 'Customer Support' <br>
> --action correspond --url <a href="http://rt.netcentralinc.net/">http://rt.netcentralinc.net/</a>"<br>
><br>
> ------------------------------------------------------------------------<br>
> *From:* Ruslan Zakirov [mailto: <a href="mailto:ruslan.zakirov@gmail.com">ruslan.zakirov@gmail.com</a>]<br>
> *Sent:* Tue 10/3/2006 7:00 PM<br>
> *To:* <st1:PersonName w:st="on">Josh Barron</st1:PersonName><br>
> *Cc:* <a href="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com
</a><br>
> *Subject:* Re: [rt-users] RE: RT-Mailgate Setup Errors<br>
><br>
> use quotes:<br>
> rt-mailgate --queue 'my queue name with spaces' ...<br>
><br>
> On 10/4/06, <st1:PersonName w:st="on">Josh Barron</st1:PersonName> <<a
href="mailto:joshb@netcentralinc.com"> joshb@netcentralinc.com</a>> wrote:<br>
>><br>
>><br>
>><br>
>><br>
>> Actually I think I've made some progress.  Looks like the
error below was<br>
>> related specifically to apache.  Now, when I try to send a
message to <br>
>> <a href="mailto:correspond@netcentralinc.com">correspond@netcentralinc.com</a>,
RT replies with the following:<br>
>><br>
>><br>
>><br>
>> RT could not load a valid user, and RT's configuration does not allow <br>
>>  for the creation of a new user for this email (<a
href="mailto:joshb@netcentralinc.com">joshb@netcentralinc.com</a>).<br>
>><br>
>><br>
>><br>
>> Whats up with that?  Is it because I have a space in my
Queue (in my alias <br>
>> file) or what.  I checked and my user IS specified with<br>
>> <a href="mailto:joshb@netcentralinc.com">joshb@netcentralinc.com</a>
in RT so it should be able to validate.  Whats<br>
> going<br>
>> on here? <br>
>><br>
>><br>
>><br>
>> -Josh<br>
>><br>
>><br>
>><br>
>>  ________________________________<br>
>><br>
>><br>
>> From: <st1:PersonName w:st="on">Josh Barron</st1:PersonName><br>
>>  Sent: Tuesday, October 03, 2006 6:05 PM <br>
>>  To: '<a href="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</a>'<br>
>>  Subject: RT-Mailgate Setup Errors<br>
>><br>
>><br>
>><br>
>> Hi everyone,<br>
>> <br>
>><br>
>><br>
>> I'm having some problems setting up RT-Mailgate and as usual looking
it up<br>
>> on the web is not helping me because of the uniqueness (and vagueness)
of<br>
>> the error.<br>
>><br>
>><br>
>><br>
>> Here is the relevant line in my postfix aliases file:<br>
>><br>
>><br>
>><br>
>> correspond:     "|/opt/rt/3/bin/rt-mailgate
--queue Customer Support<br>
>> --action correspond --url <a href="http://rt.netcentralinc.net/">http://rt.netcentralinc.net/</a>"<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> I never get a failure daemon back, but the message never gets to my RT
<br>
>> instance.  I've allowed rt-mailgate to access REST directory
as<br>
> mentioned in<br>
>> the wiki (though I'm not sure how that helps).<br>
>><br>
>><br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: 62A8A88DA: <br>
>> client=unknown[<a href="http://66.213.158.39">66.213.158.39</a>]<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: > unknown[<a
href="http://66.213.158.39">66.213.158.39</a>]: 250 Ok<br>
>> <br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: < unknown[<a
href="http://66.213.158.39">66.213.158.39</a>]: DATA<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: > unknown[<a
href="http://66.213.158.39"> 66.213.158.39</a>]:<br>
> 354 End<br>
>> data with <CR><LF>.<CR><LF><br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: public/cleanup
socket: wanted<br>
>> attribute: status <br>
>><br>
>> Oct  3 17:51:26 web postfix/cleanup[18698]: 62A8A88DA:<br>
>><br>
> message-id=<<a
href="mailto:1CD7A3530F98054194C0E6BBDA4A68490259BF@corpmain.NetCentral.local">1CD7A3530F98054194C0E6BBDA4A68490259BF@corpmain.NetCentral.local
</a>><br>
>><br>
>> Oct  3 17:51:26 web postfix/qmgr[18465]: 62A8A88DA:<br>
>> from=<<a href="mailto:joshb@netcentralinc.com">joshb@netcentralinc.com</a>>,
size=2136, nrcpt=1 (queue active)<br>
>> <br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: input attribute
name: status<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: input attribute
value: 0<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: public/cleanup
socket: wanted <br>
>> attribute: reason<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: input attribute
name: reason<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: input attribute
value: (end)<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: public/cleanup
socket: wanted<br>
>> attribute: (list terminator)<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: input attribute
name: (end) <br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: > unknown[<a
href="http://66.213.158.39">66.213.158.39</a>]:<br>
> 250 Ok:<br>
>> queued as 62A8A88DA<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: < unknown[ <a
href="http://66.213.158.39">66.213.158.39</a>]: QUIT<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: > unknown[<a
href="http://66.213.158.39">66.213.158.39</a>]:<br>
> 221 Bye<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: match_hostname:
unknown ~? <br>
>> <a href="http://66.213.158.32/27">66.213.158.32/27</a><br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: match_hostaddr: <a
href="http://66.213.158.39">66.213.158.39</a> ~?<br>
>> <a href="http://66.213.158.32/27">66.213.158.32/27</a><br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: disconnect from<br>
>> unknown[<a href="http://66.213.158.39">66.213.158.39</a>]<br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: master_notify:
status 1 <br>
>><br>
>> Oct  3 17:51:26 web postfix/smtpd[18695]: connection closed<br>
>><br>
>> Oct  3 17:51:27 web postfix/local[18699]: 62A8A88DA:<br>
>> to=<<a href="mailto:correspond@netcentralinc.net">
correspond@netcentralinc.net</a>>, relay=local, delay=1, status=deferred<br>
>> (temporary failure. Command output: An Error Occurred<br>
> =================  403<br>
>> Forbidden )<br>
>><br>
>> Oct  3 17:53:06 web postfix/smtpd[18695]: rewrite stream
disconnect <br>
>><br>
>> Oct  3 17:53:06 web postfix/smtpd[18695]: proxymap stream
disconnect<br>
>><br>
>> Oct  3 17:53:06 web postfix/smtpd[18695]: idle timeout --
exiting<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> What am I doing wrong?  It appears that the message is just
getting<br>
> deferred<br>
>> and held in the mail queue but I can't seem to figure out
why.  The info<br>
>> messages above seem to indicate that it doesn't know what networks it
can <br>
>> accept mail from, even though the networks listed are on the
$My_Networks,<br>
>> and I can send messages to other addresses on this server from the
same<br>
>> machine.  It seems completely related to RT. <br>
>><br>
>><br>
>><br>
>> Any ideas.  I REALLY would appreciate the help<br>
>><br>
>><br>
>><br>
>> Best Regards,<br>
>><br>
>><br>
>><br>
>> <st1:PersonName w:st="on">Josh Barron</st1:PersonName><br>
>><br>
>> Systems Administration<br>
>><br>
>> NetCentral Inc.<br>
>><br>
>> P: 208.376.3130<br>
>><br>
>> F: 208.514.4527<br>
>><br>
>><br>
>> _______________________________________________ <br>
>> <a
href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
>><br>
>> Community help: <a href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a><br>
> <<a href="http://wiki.bestpractical.com/">http://wiki.bestpractical.com/</a>><br>
>> Commercial support: <a href="mailto:sales@bestpractical.com">sales@bestpractical.com
</a><br>
>><br>
>><br>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
>> Buy a copy at <a href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a><br>
> < <a href="http://rtbook.bestpractical.com/">http://rtbook.bestpractical.com/</a>><br>
>><br>
>><br>
><br>
><br>
> --<br>
> Best regards, Ruslan.<br>
><br>
><br>
><br>
> ------------------------------------------------------------------------ <br>
><br>
> _______________________________________________<br>
> <a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
> <br>
> Community help: <a href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a><br>
> Commercial support: <a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a><br>
><br>
><br>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. <br>
> Buy a copy at <a href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a><br>
<br>
Have you made sure your user is listed under the Privileged group?<br>
<br>
--<br>
Mathew<br>
_______________________________________________ <br>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
<br>
Community help: <a href="http://wiki.bestpractical.com">http://wiki.bestpractical.com
</a><br>
Commercial support: <a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a><br>
<br>
<br>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
Buy a copy at <a href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
MFG<br>
<br>
Torsten Brumm<br>
<br>
<a href="http://www.torsten-brumm.de">http://www.torsten-brumm.de</a> <o:p></o:p></span></font></p>

</div>

</body>

</html>