Postfix should work out of the box without change on a stand-alone machine that ... #proxy_interfaces = 1.2.3.4 # Alternative 1: don't relay mail from other hosts.
www.postfix.org