Postfix Error

Trying to set-up RT3 to use postfix.

Got nearly everything going, put the following in aliases -:

rt: “|/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url http://rt/
rt-comment: “|/opt/rt3/bin/rt-mailgate --queue general --action
comment --url http://rt/

But when I send a mail postfix craps out with the following error -:

status=deferred (temporary failure. Command output: An Error Occurred
================= 401 Authorization Required )

Any ideas?

(I’ll get this going today I am determined!!)

Regards

signature.asc (254 Bytes)

Trying to set-up RT3 to use postfix.

Got nearly everything going, put the following in aliases -:

rt: “|/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url http://rt/
rt-comment: “|/opt/rt3/bin/rt-mailgate --queue general --action
comment --url http://rt/

But when I send a mail postfix craps out with the following error -:

status=deferred (temporary failure. Command output: An Error Occurred
================= 401 Authorization Required )

Any ideas?

(I’ll get this going today I am determined!!)

401 means that the REST-HTTP interface needs an authentication. You
should check the configuration on the Apache side. (e.g. is the ‘rt’
VirtualName declared ? or something else…)

I don’t think that is related to the Postfix configuration following
the ‘401’ error. You should check the HTTP server configuration.

Hope this helps,

adulau

– Alexandre Dulaunoy (adulau) – http://www.foo.be/
http://pgp.ael.be:11371/pks/lookup?op=get&search=0x44E6CBCD
– “Knowledge can create problems, it is not through ignorance
– that we can solve them” Isaac Asimov

Alexandre Dulaunoy wrote:>On Tue, 11 May 2004, Steven Coutts wrote:

401 means that the REST-HTTP interface needs an authentication. You
should check the configuration on the Apache side. (e.g. is the ‘rt’
VirtualName declared ? or something else…)

I don’t think that is related to the Postfix configuration following
the ‘401’ error. You should check the HTTP server configuration.

Hope this helps,

adulau

This is showing in the postfix logs.

signature.asc (254 Bytes)

Ok now it is accepting mail →

May 11 15:46:10 rt postfix/local[2945]: 7CB8638452: to=rt@example.com,
relay=local, delay=0, status=sent (“|/opt/rt3/bin/rt-mailgate --queue
general --action correspond --url http://rt/”)

But the request never shows up as a ticket.

signature.asc (254 Bytes)

try this:
|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/

instead of this
|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url
http://rt/

worked for me

Steven Coutts wrote: