新建接收域
new-AcceptedDomain -Name 'doubi.ren' -DomainName 'doubi.ren' -DomainType 'Authoritative'
————————————————————————————————————————————————
新建电子邮件地址策略
new-EmailAddressPolicy -Name 'doubi.ren' -RecipientContainer 'DoubiOA.CN' -IncludedRecipients 'AllRecipients' -Priority '最低' -EnabledEmailAddressTemplates 'SMTP:%[email protected]'
————————————————————————————————————————————————
更新电子邮件地址策略
update-EmailAddressPolicy -Identity 'doubi.ren'
————————————————————————————————————————————————
调整imap4身份验证为“纯文本登录“
Set-ImapSettings -Server 'PEKDC1-CAS-01' -LoginType ‘PlainTextLogin'
______________________________________________________________________________________
调整pop3身份验证为“纯文本登录“
Set-PopSettings -Server 'PEKDC1-CAS-01' -LoginType 'PlainTextLogin'