Configuring POSTFIX to receive emails only from localhost | Unix Linux Forums | IP Networking

  Go Back    


IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

Configuring POSTFIX to receive emails only from localhost

IP Networking


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-28-2008
mojoman mojoman is offline
Registered User
 
Join Date: Nov 2007
Last Activity: 5 June 2013, 11:34 AM EDT
Posts: 248
Thanks: 0
Thanked 1 Time in 1 Post
Configuring POSTFIX to receive emails only from localhost

Hello,

I am new to POSTFIX.

My manager has asked me to configure POSTFIX running on a server to accept mail only from itself(localhost). Can someone tell me how I can go about doing this?
Sponsored Links
    #2  
Old 10-29-2008
lorentz's Avatar
lorentz lorentz is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 13 January 2009, 6:07 PM EST
Location: Saint Petersburg, Russia
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
in main.cf:

PHP Code:
mynetworks_style host
mynetworks 
127.0.0.0/8
smtpd_recipient_restrictions 
permit_mynetworks 
or
PHP Code:
inet_interfaces localhost 
and than restart postfix
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Is it possible to receive emails from my computer? Errigour Programming 5 08-14-2011 12:26 PM
Help Configuring Postfix for no-relaying mojoman UNIX for Dummies Questions & Answers 1 08-04-2010 12:23 AM
Please help with Postfix config issue - How to allow remote Exchange server to relay to my postfix wbdevilliers UNIX for Dummies Questions & Answers 0 02-26-2010 06:28 AM
postfix - reinject mail to postfix from hold queue directory coolatt IP Networking 0 07-23-2009 04:08 PM
Configuring my PostFix Mail Server fundidor UNIX for Dummies Questions & Answers 4 06-01-2004 09:43 AM



All times are GMT -4. The time now is 02:32 AM.