[rt-users] Postfix error: 500 No Host option provided

Mathew Snyder mathew.snyder at gmail.com
Thu Jan 16 15:40:37 EST 2014


Great...

After sending multiple emails due to not seeing responses and then finally
getting one, I've discovered that the aliases file was malformed. I didn't
actually have "--url http://host.example.com". Instead I had "--url http:
host.example.com"

/facepalm

-Mathew

"When you do things right, people won't be sure you've done anything at
all." - God; Futurama

"We'll get along much better once you accept that you're wrong and neither
am I." - Me


On Thu, Jan 16, 2014 at 10:37 AM, Landon Stewart <lstewart at iweb.com> wrote:

> From the server itself what if execute the following while in an SSH
> session (obviously replacing the host.example.com with the correct fqdn
> of RT):
>
> curl http://host.example.com
>
> What do you get back?  If you get a 500 error back from that your problem
> is not RT related (yet).
>
>
> On 16 January 2014 12:30, Mathew Snyder <mathew.snyder at gmail.com> wrote:
>
>> Apologies. I have not been seeing the responses. Checking my spam folder
>> did not turn up the emails either.
>>
>> My aliases file contains two entries. One for rt: and the other for
>> rt-comment:
>>
>> rt:                  "|/opt/rt4/bin/rt-mailgate --queue general --action
>> correspond --url http://host.example.com"
>> rt-comment:    "|/opt/rt4/bin/rt-mailgate --queue general --action
>> comment --url http://host.example.com"
>>
>> The web logs don't mention anything about this.
>>
>> -Mathew
>>
>> "When you do things right, people won't be sure you've done anything at
>> all." - God; Futurama
>>
>> "We'll get along much better once you accept that you're wrong and
>> neither am I." - Me
>>
>>
>> On Thu, Jan 16, 2014 at 5:36 AM, Kevin Falcone <falcone at bestpractical.com
>> > wrote:
>>
>>> On Wed, Jan 15, 2014 at 12:25:17PM -1000, Mathew Snyder wrote:
>>> >    Jan 15 17:09:14 zen-rt postfix/qmgr[6294]: 314F2808AD: from=<[26]
>>> user at example.com>, size=447,
>>> >    nrcpt=1 (queue active)
>>> >    Jan 15 17:09:15 zen-rt postfix/local[6409]: 314F2808AD: to=<[27]
>>> rt at host.example.com>,
>>> >    relay=local, delay=54, delays=53/0.01/0/0.11, dsn=4.3.0,
>>> status=deferred (temporary failure.
>>> >    Command output: HTTP request failed: 500 No Host option provided.
>>> Your webserver logs may have
>>> >    more information or there may be a network problem. )
>>> >    Jan 15 17:09:16 zen-rt postfix/smtpd[6375]: disconnect from
>>> >    [28]host.example.com[192.168.231.42]
>>> >    I have searched around online and have not seen anything that even
>>> references this problem. If
>>> >    anyone can provide any insight I will be very appreciative.
>>>
>>> You appear to have asked variants on this question a few times.
>>> In each case, a mailing list user asked you for information needed to
>>> help you.
>>>
>>> How are you invoking rt-mailgate, from an aliases file?
>>> Show the alias file, with all the options you are passing to
>>> rt-mailgate.
>>>
>>> Have you read your apache error log?  Since you're getting a 500
>>> error, and that's an HTPT status code, I'd look there.
>>>
>>> -kevin
>>>
>>
>>
>
>
> --
> Landon Stewart :: lstewart at iweb.com
> Lead Specialist, Abuse and Security Management
> Spécialiste principal, gestion des abus et sécurité
> http://iweb.com :: +1 (888) 909-4932
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140116/c9714b09/attachment.htm>


More information about the rt-users mailing list