LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-22-2006, 03:31 PM   #1
jmille34
LQ Newbie
 
Registered: Jul 2005
Location: Tampa
Distribution: lots
Posts: 13

Rep: Reputation: 0
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?
 
Old 08-22-2006, 08:51 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
smtp, by default is bound to 25 and listens to only connections from localhost. if you havent made any changes to the conf file, no one will be able to connect to your smtp server. if you run nmap on your local server it will definitely show nmap as open, but not from other computers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
send email with sendmail from out stigmata Linux - Software 1 12-20-2005 03:35 PM
can't send email, smtp or sendmail dtra Linux - Software 1 11-19-2005 07:00 PM
Can't send email outside my server with sendmail rocketman3245 Mandriva 1 07-28-2004 11:01 PM
sendmail email address includes localhost name? kevindv10 Linux - Software 0 04-13-2004 02:22 PM
sendmail won't send email robmainella Linux - Software 0 09-10-2003 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration