SYNOPSIShttptest <http ip> <http port>
DESCRIPTIONhttptest attempts to connect to port <http port> on <http ip> and relay through the host.
It attempts to connect to the target_domain mail server directly to send mail, and also to relay through 127.0.0.1 on the host. For each server, it tries all of: GET, POST, CONNECT.
It works by embedding SMTP commands in the HTTP request header, which are then copied through to the mail server. There is extra junk in the HTTP header, but most SMTP servers ignore it. If a server is open to this type of relaying, it is highly likely that the relay will be anonymized and there will be no way to track back the sender (save possibly proxy logs).
As of version 0.9.5, httptest attempts to use the CONNECT method as intended to form an actual SMTP conversation through the proxy.