<HTML dir=ltr><HEAD><TITLE>Re: [rt-users] RE: RT-Mailgate Setup Errors</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText94244 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Ok that didn't seem to solve the problem. </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>When I reply to a ticket, (with the correct Ticket ID in the subject, unchanged), i get two messages back saying the same thing:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT size=2>> 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>).</FONT></DIV></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>The second message has the following in addition to the message above:</DIV>
<DIV dir=ltr> "You might need to grant 'Everyone' the right 'ReplyToTicket' for the<BR>queue Customer."</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>My /etc/aliases/ looks like this:</DIV>
<DIV dir=ltr>correspond: "|/opt/rt3/bin/rt-mailgate --queue 'Customer Support' --action correspond --url <A href="http://rt.netcentralinc.net/">http://rt.netcentralinc.net/</A>"<BR><BR></DIV>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>From:</B> Ruslan Zakirov [mailto:ruslan.zakirov@gmail.com]<BR><B>Sent:</B> Tue 10/3/2006 7:00 PM<BR><B>To:</B> Josh Barron<BR><B>Cc:</B> rt-users@lists.bestpractical.com<BR><B>Subject:</B> Re: [rt-users] RE: RT-Mailgate Setup Errors<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>use quotes:<BR>rt-mailgate --queue 'my queue name with spaces' ...<BR><BR>On 10/4/06, Josh Barron <joshb@netcentralinc.com> 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>> correspond@netcentralinc.com, 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 (joshb@netcentralinc.com).<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>> joshb@netcentralinc.com in RT so it should be able to validate. Whats going<BR>> on here?<BR>><BR>><BR>><BR>> -Josh<BR>><BR>><BR>><BR>> ________________________________<BR>><BR>><BR>> From: Josh Barron<BR>> Sent: Tuesday, October 03, 2006 6:05 PM<BR>> To: 'rt-users@lists.bestpractical.com'<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 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[66.213.158.39]<BR>><BR>> Oct 3 17:51:26 web postfix/smtpd[18695]: > unknown[66.213.158.39]: 250 Ok<BR>><BR>> Oct 3 17:51:26 web postfix/smtpd[18695]: < unknown[66.213.158.39]: DATA<BR>><BR>> Oct 3 17:51:26 web postfix/smtpd[18695]: > unknown[66.213.158.39]: 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>> message-id=<1CD7A3530F98054194C0E6BBDA4A68490259BF@corpmain.NetCentral.local><BR>><BR>> Oct 3 17:51:26 web postfix/qmgr[18465]: 62A8A88DA:<BR>> from=<joshb@netcentralinc.com>, 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[66.213.158.39]: 250 Ok:<BR>> queued as 62A8A88DA<BR>><BR>> Oct 3 17:51:26 web postfix/smtpd[18695]: < unknown[66.213.158.39]: QUIT<BR>><BR>> Oct 3 17:51:26 web postfix/smtpd[18695]: > unknown[66.213.158.39]: 221 Bye<BR>><BR>> Oct 3 17:51:26 web postfix/smtpd[18695]: match_hostname: unknown ~?<BR>> 66.213.158.32/27<BR>><BR>> Oct 3 17:51:26 web postfix/smtpd[18695]: match_hostaddr: 66.213.158.39 ~?<BR>> 66.213.158.32/27<BR>><BR>> Oct 3 17:51:26 web postfix/smtpd[18695]: disconnect from<BR>> unknown[66.213.158.39]<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=<correspond@netcentralinc.net>, relay=local, delay=1, status=deferred<BR>> (temporary failure. Command output: An Error Occurred ================= 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 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>> Josh Barron<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>> Commercial support: sales@bestpractical.com<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>><BR><BR><BR>--<BR>Best regards, Ruslan.<BR><BR><BR></FONT></P></DIV></BODY></HTML>