Allow only certain senders to an email address with Exchange

exchange

I am going to create a helpdesk email for a department, i.e. QChelpdesk@example.com and they are interested in only allowing particular users to be able to send to it. I know that I can limit the address to not appearing in the address book and can easily rescrict to internal senders. How would I go about implementing a sort of filter for who can send to it. I saw this before but could not post to it. Is this example how i should proceed? Also, where exactly do I put the list of allowed senders, is it where it says $list in the third line only?

Open powershell via the exchange menu item and run those commands:

$list = (Get-ContentFilterConfig).BypassedSenders
$list.add("mail@domain.com")
Set-ContentFilterConfig -BypassedSenders $list

We run Server 2012 on an Exchange 2010.

Best Answer

I think you are looking for something like this :

Set-Mailbox -Identity "QChelpdesk" -AcceptMessagesOnlyFrom @{add="user name"}

This example adds the user named "user name" to the list of users whose messages will be accepted by the mailbox of "QChelpdesk".