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