Unix/Linux 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 Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 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 Unix and Linux 10-29-2008
lorentz's Unix or Linux Image
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 Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image 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 11:26 AM
Help Configuring Postfix for no-relaying mojoman UNIX for Dummies Questions & Answers 1 08-03-2010 11:23 PM
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 05:28 AM
postfix - reinject mail to postfix from hold queue directory coolatt IP Networking 0 07-23-2009 03:08 PM
Configuring my PostFix Mail Server fundidor UNIX for Dummies Questions & Answers 4 06-01-2004 08:43 AM



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