Solved

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

Posted on 2015-02-10
4
567 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 76

Accepted Solution

by:
arnold earned 500 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 76

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

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
The purpose of this video is to demonstrate how to use PicMonkey software to customize images for a Mailchimp campaign. Picmonkey is free and simple online software which can be used by users who don’t have robust editing software such as Photoshop,…
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now