Solved

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

Posted on 2015-02-10
4
596 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 77

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 77

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
This is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
The purpose of this video is to demonstrate how to set up a Mailchimp campaign. This will include styling and adding elements to a newsletter/email. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchim…
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…

863 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

24 Experts available now in Live!

Get 1:1 Help Now