How do I secure sendmail to only send email from php on localhost
This server is linux+apache+mysql+php, and I want the sendmail server to only accept email from php, or at least only from localhost. How do I configure that? And once I do that, will the server stop listening on port 25 for that interface? Can I make it so that smtp doesn't even show up in nmap?