I&#39;ve been using nginx to proxy to rails apps, and this has been quite successful (thanks). But now I need to host a client&#39;s site which has a very simple mail contact form (previously written in coldfusion running on IIS). Now that I have to port this contact form to linux, the natural thought was to use CGI. FastCGI is really overkill, I don&#39;t need a persistent process just waiting for someone to send mail through a webform. A FAQ entry on &quot;How to use nginx as SMTP proxy with a postfix backend?&quot; looked promising, though documentation was empty and I imagine that nginx probably couldn&#39;t pass parameters in a neat format if at all (though I&#39;d love to be proven wrong- how does <a href="http://fastmail.fm">fastmail.fm</a> send mail?). The other option I&#39;ve seen is to proxy to something else like thttpd and have thttpd execute a CGI script, though this doesn&#39;t seem to be any better than FastCGI, and I&#39;d really prefer the light footprint of CGI, which only runs when asked (which, for this particular client, will not be very often). As I don&#39;t have a separate mail server, I don&#39;t need authentication, postfix will only send mail when the request is on the same host.<br>
<br>Can anybody clue me in to some best practices in this case?<br><br>Thanks very much-<br>Liam Morley<br>