Help Configuring Postfix for no-relaying


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help Configuring Postfix for no-relaying
# 1  
Old 03-28-2010
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:

mydestination = $myhostname localhost.$mydomain

If I only want Postfix to deliver mail from the local machine do I set set the mynetworks parameter to host?

Second issue: what is /etc/postifx/relay file for?
# 2  
Old 08-04-2010
Postfix defaults to 'local' when there is no other transport defined

Hope this helps
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. UNIX and Linux Applications

Postfix: Active Directory and postfix alias

I have a mailserver with postfix i want to alias all mail for administrator@domain.fqdn to root@domain.fqdn I have the aliases configured,and i did newliases but doesn't work. How to did this?Postfix is configured for virtual domain on ad server. (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

4. UNIX for Dummies Questions & Answers

550 5.7.1 Relaying denied During Send mail in UNIX

Hi , I am new to Send mail concept in UNIX , when ever am trying to send a mail am getting this errors , Could anyone please help me . reason: 550 5.7.1 .. Relaying denied (2 Replies)
Discussion started by: thana
2 Replies

5. 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

6. IP Networking

postfix - reinject mail to postfix from hold queue directory

hi all. Am using smtpd_recipient_restrictions & check_recipient_access in postfix. The hash file looks like this: emailaddress1 HOLD emailaddress2 HOLD The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies

7. UNIX for Advanced & Expert Users

send all mail to files instead of relaying out

I had a wierd request from one of our guys. We are running on RedHat EL5. He asked that all mail originating from 3 servers he owns be sent to files instead of being sent out. My first thought is to set "Smart" relay host in sendmail.cf on each of the 3 servers so all messages are sent to a 4th... (0 Replies)
Discussion started by: mglenney
0 Replies

8. UNIX for Dummies Questions & Answers

Postfix relaying

I have sendmail config'd to relay to a MTA and thought I would try out postfix. I specified my hostname and the relayhost, postfix reload and postfix says it is trying localhost. Connecting to via relay... Inserted this into transport * smtp:Added this to main.cf ... (0 Replies)
Discussion started by: s_becker
0 Replies

9. IP Networking

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? (1 Reply)
Discussion started by: mojoman
1 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