?
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
?
949 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 79

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 79

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
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, f…
Suggested Courses

801 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