Configuring POSTFIX to receive emails only from localhost


 
Thread Tools Search this Thread
Special Forums IP Networking Configuring POSTFIX to receive emails only from localhost
# 1  
Old 10-28-2008
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?
# 2  
Old 10-29-2008
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Issues sending emails using PostFix Mail Server

I'm unable to send email from my Linux server despite SMTP port 25 Active and Listening. # hostname TechX I checked the mail log ( /var/log/maillog ) and found the below error. I'm sharing all the ".cf" files seen in the error log. 1. # more /etc/postfix/main.cf # postfix... (0 Replies)
Discussion started by: mohtashims
0 Replies

2. Red Hat

I need help configuring postfix mail server within AWS

I am trying to setup the postfix email server on Redhat Linux 6.5 running as an EC2 instance in AWS. I can do reverse port mapping to open a port from our internal network to the AWS linux server, so we should be able to get to our mail server, even though it is a one way path from our internal ... (1 Reply)
Discussion started by: gandolf989
1 Replies

3. AIX

Not able to receive emails after job execution

Hi, we've configured mail on DB2 data studio DSWC console. (gave mail relay server details) it used to work fine. like whenever we schedule backup jobs from DB2 side, we used to get emails after job completion. for some reason, it stopped working now. Please see the below info messges... (8 Replies)
Discussion started by: aaron8667
8 Replies

4. UNIX for Advanced & Expert Users

Need an help in configuring Postfix mail relay server

Hello, We have 2 servers, server A and Server B in same domain. I have already configured the Serevr A to send an email to the internet (outside domain) by opening the port 25 to the internet. Now I need to send an email to the outside domain from Server B using server A. I have opened the... (1 Reply)
Discussion started by: sathishbabu89
1 Replies

5. Solaris

Configuring Centralized Solaris Server to Receive Syslogs

Hello, I am new to Solaris. However, I was able to configure the Syslog server on Solaris. I am using a windows client to send logs to my Solaris syslog server. this is working fine. however, I have 23 servers which are sending their logs to the syslog server and it is very difficult to read all... (2 Replies)
Discussion started by: ravmohun
2 Replies

6. Red Hat

Postfix: emails addressed to multiple smart hosts

Hi, I am in process of setting up a SMTP server on RHEL 6 using Postfix. I am stuck at one point so any help would be appreciated. I have configured my xsender to use this new SMTP server as its mail server. If I send any emails addressed TO example.com the SMTP server should use the... (0 Replies)
Discussion started by: max29583
0 Replies

7. Programming

Is it possible to receive emails from my computer?

Could someone help me receive emails sent to my ip address with a c program? (5 Replies)
Discussion started by: Errigour
5 Replies

8. UNIX for Dummies Questions & Answers

Help Configuring Postfix for no-relaying

Hi, I have read a lot of manuals and man pages yet I am still confused so I thought I would ask this forum for some help. I need to configure my postfix to accept email for certain domains. And it should not be allowed to deliver emails from another emails! So I did the following: ... (1 Reply)
Discussion started by: mojoman
1 Replies

9. UNIX for Dummies Questions & Answers

Please help with Postfix config issue - How to allow remote Exchange server to relay to my postfix

Hi guys One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered. What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies

10. UNIX for Dummies Questions & Answers

Configuring my PostFix Mail Server

Hi folks! I have a Postfix email server running on my MacOs x box. I would like to customize this automatic message to portuguese language: ============ This is the Postfix program at host myserver.com. I'm sorry to have to inform you that the message returned below could not... (4 Replies)
Discussion started by: fundidor
4 Replies
Login or Register to Ask a Question