Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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,082 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 80

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 80

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

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 …
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Suggested Courses

618 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