Re: [rt-users] Postfix error: 500 No Host option provided
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]u...@example.com, size=447, nrcpt=1 (queue active) Jan 15 17:09:15 zen-rt postfix/local[6409]: 314F2808AD: to=[27]r...@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 pgpsw5sMXtZ8o.pgp Description: PGP signature
Re: [rt-users] Postfix error: 500 No Host option provided
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 falc...@bestpractical.comwrote: 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] u...@example.com, size=447, nrcpt=1 (queue active) Jan 15 17:09:15 zen-rt postfix/local[6409]: 314F2808AD: to=[27] r...@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
Re: [rt-users] Postfix error: 500 No Host option provided
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.sny...@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 falc...@bestpractical.comwrote: 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] u...@example.com, size=447, nrcpt=1 (queue active) Jan 15 17:09:15 zen-rt postfix/local[6409]: 314F2808AD: to=[27] r...@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 :: lstew...@iweb.com Lead Specialist, Abuse and Security Management Spécialiste principal, gestion des abus et sécurité http://iweb.com :: +1 (888) 909-4932
Re: [rt-users] Postfix error: 500 No Host option provided
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 lstew...@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.sny...@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 falc...@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] u...@example.com, size=447, nrcpt=1 (queue active) Jan 15 17:09:15 zen-rt postfix/local[6409]: 314F2808AD: to=[27] r...@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 :: lstew...@iweb.com Lead Specialist, Abuse and Security Management Spécialiste principal, gestion des abus et sécurité http://iweb.com :: +1 (888) 909-4932
Re: [rt-users] Postfix error: 500 No Host option provided
I guess that’s why pasting what you actually have instead of what is in the documentation is important in a problem description. On 16 January 2014 12:40, Mathew Snyder mathew.sny...@gmail.com wrote: 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 lstew...@iweb.comwrote: 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.sny...@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 falc...@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] u...@example.com, size=447, nrcpt=1 (queue active) Jan 15 17:09:15 zen-rt postfix/local[6409]: 314F2808AD: to=[27] r...@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 :: lstew...@iweb.com Lead Specialist, Abuse and Security Management Spécialiste principal, gestion des abus et sécurité http://iweb.com :: +1 (888) 909-4932 -- Landon Stewart :: lstew...@iweb.com Lead Specialist, Abuse and Security Management Spécialiste principal, gestion des abus et sécurité http://iweb.com :: +1 (888) 909-4932
[rt-users] Postfix error: 500 No Host option provided
I am currently testing a new RT installation. Currently I am able to send, via telnet, email from the RT address r...@host.example.com to an internal address (u...@example.com). # telnet host.example.com 25 Trying 192.168.231.42... Connected to host.example.com. Escape character is '^]'. 220 host.example.com ESMTP Postfix EHLO host.example.com 250-host.example.com 250-PIPELINING 250-SIZE 1024 250-VRFY 250-ETRN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN MAIL FROM: r...@host.example.com 250 2.1.0 Ok RCPT TO: u...@example.com 250 2.1.5 Ok DATA 354 End data with CRLF.CRLF SUBJECT: Testing from r...@zen-rt.zeiders.com to pwi...@zeiders.com Telnet session . 250 2.0.0 Ok: queued as 95E3F80900 quit 221 2.0.0 Bye Mail log generated: Jan 15 17:06:26 zen-rt postfix/qmgr[6294]: 95E3F80900: from= r...@host.example.com, size=449, nrcpt=1 (queue active) Jan 15 17:06:26 zen-rt postfix/smtp[6388]: 95E3F80900: to= pwi...@example.com, relay=mail1.example.com[192.168.231.10]:25, delay=44, delays=44/0/0.01/0.26, dsn=2.6.0, status=sent (250 2.6.0 20140115220553.95e3f80...@host.example.com Queued mail for delivery) Jan 15 17:06:26 zen-rt postfix/qmgr[6294]: 95E3F80900: removed Sending from u...@example.com into the RT server, though results in the following: # telnet host.example.com 25 Trying 192.168.231.42... Connected to host.example.com. Escape character is '^]'. 220 host.example.com ESMTP Postfix EHLO host.example.com 250-host.example.com 250-PIPELINING 250-SIZE 1024 250-VRFY 250-ETRN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN MAIL FROM: u...@example.com 250 2.1.0 Ok RCPT TO: r...@host.example.com 250 2.1.5 Ok DATA 354 End data with CRLF.CRLF SUBJECT: Testing from u...@example.com to r...@host.example.com Telnet session . 250 2.0.0 Ok: queued as 314F2808AD quit 221 2.0.0 Bye Mail log generated: Jan 15 17:09:14 zen-rt postfix/qmgr[6294]: 314F2808AD: from= u...@example.com, size=447, nrcpt=1 (queue active) Jan 15 17:09:15 zen-rt postfix/local[6409]: 314F2808AD: to= r...@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 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. -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