distribution list exchange

Clear2all Professional Blog new

Add dLMemSubmitPerms powershell restrict users via AD Group to send emails to Email group

Add dLMemSubmitPerms powershell restrict users via AD Group to send emails to Email group

We set this attribute usign ADUC using attribute editor but sometimes we get dlmemsubmitperms there is no editor registered to handle this attribute type error which happens to first time when try to add this.

Import-module activedirectory

Set-ADObject “CN=TestEmailGroup,OU=DL,DC=Test,DC=com” -Add @{dLMemSubmitPerms=”CN=ADGroup,OU=Security Groups,DC=Test,DC=com”}

To get the distinguished name from Powershell we can use below command

(Get-ADGroup -Identity “Groupname”).DistinguishedName

Below are Attribute Names, Name in GUI, Explanation, names in Powershell (Set-DistributionGroup)

authOrig, Accept … Read the rest

Clear2all Professional Blog new

Add Authorig powershell restrict users to send emails to Email group

Add Authorig powershell restrict users to send emails to Email group

Import-module activedirectory

Set-ADGroup -Identity “Test Group” -Add @{authOrig=@(‘CN=Test User,OU=Department,OU=People,DC=CONTOSO,DC=EDU’)}

To get the distinguished name from Powershell we can use below command

(Get-ADUser -Identity “Testuser”).DistinguishedName

Below are Attribute Names, Name in GUI, Explanation, names in Powershell (Set-DistributionGroup)
authOrig, Accept messages from , Only senders in the following list can send emails to this group if set, -AcceptMessagesOnlyFrom

dLMemSubmitPerms, same as above, see above but this accepts group, -AcceptMessagesOnlyFromDLMembers
unauthOrig, Reject messages from, Senders in the following list are not allowed to send emails to this … Read the rest

Clear2all Professional Blog new

Restrict a Distribution List to internal users only

Restrict a Distribution List to internal users only

For restricting Distribution list to internal users only we need to set that attribute msExchRequireAuthToSendTo to TRUE in your on-premise AD environment and wait for DirSync to run.

This will make the DL in the Administration Center to untick the ‘allow external senders’ box on the DL’s and prevent any external senders from sending to those distribution lists.… Read the rest

Clear2all Professional Blog new

Restrict to send mail to Distribution List on Office365 using authOrig or dLMemSubmitPerms

Restrict to send mail to Distribution List using authOrig or dLMemSubmitPerms

This article explains on how to restrict who can send to a distribution list on office 365 or restrict who can send to a distribution list on Exchange 2010

Below is how to give user permission to send email to a distribution group using authOrig or dLMemSubmitPerms.

1. To give user permission to send email to a distribution group using AuthOrig to restrict sending email to a distribution group to individual users.

Below can not be done from Attribute editor from ADUC and its used for giving permissions to … Read the rest