?
Solved

How to restrict Email send out to  with Postfix to prevent user from using fake address?

Posted on 2015-02-10
4
Medium Priority
?
1,141 Views
Last Modified: 2015-02-25
I configured a Postfix & Dovecot mail server to send notification to user. I want to restrict email address domain to prevent user from send out email with fake email address.
Example: my domain is truedomain.com, so I want only email address with this domain can be send out via my mail server. Other fake email address are not able to send out.
0
Comment
Question by:Sida Say
  • 2
  • 2
4 Comments
 
LVL 81

Accepted Solution

by:
arnold earned 1000 total points
ID: 40604943
You would need to setup a rule dealing with allow relay section where you would need to

http://www.postfix.org/SMTPD_ACCESS_README.html

Though have to double check how you would deny the sender given the user authenticated earlier or the IP is authorized to relay.

There is also the reject for SMTP of unknown domains.

It might be a combination, but it might be more complicated dealing with revoking relay rights, though mailing to an internal recipient might involve further research.  

Searching for postfix deny based on sender, reveals options/sites that can not be included here.
0
 
LVL 1

Author Comment

by:Sida Say
ID: 40613298
Thank you @anold, If can, would you give me a sample configuration.
0
 
LVL 81

Expert Comment

by:arnold
ID: 40613304
The difficulty as described in the faq deals with controlling inbound by those restrictions. The option you seek on enforcing outgoing sender domain is not enforceable once the connection is set to allow relay.
0
 
LVL 1

Author Closing Comment

by:Sida Say
ID: 40632198
not a perfect solution, but ca give me some clues
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question