[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1852
  • Last Modified:

Postmaster #550 5.1.4 RESOLVER.ADR.Ambiguous; ambiguous address ##

When I send an email to postmaster@mydomain.com it comes back with error:
#550 5.1.4 RESOLVER.ADR.Ambiguous; ambiguous address ##

I've narrowed it down to the Exchange update rollup 7 that breaks delivery status notifications:

I followed this post at the time:

http://replay.web.archive.org/20090408084222/http://www.telnetport25.com/component/content/article/1-exchange-2007-gen/280-exchange-2007-sp-1-roll-up-7-delivery-status-notifications.html
Never realised before but I can't send to postmaster@mydomain.com

Here's what I get when I do  (Get-OrganizationConfig).MicrosoftExchangeRecipientEmailAddresses =


SmtpAddress        : postmaster@mydomain.com
AddressString      : postmaster@mydomain.com
ProxyAddressString : smtp:postmaster@mydomain.com
Prefix             : SMTP
IsPrimaryAddress   : False
PrefixString       : smtp

SmtpAddress        : MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@mydomain.com
AddressString      : MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@mydomain.com
ProxyAddressString : SMTP:MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@mydomain.com
Prefix             : SMTP
IsPrimaryAddress   : True

PrefixString       : SMTP
SmtpAddress        : MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@mydomain.local
AddressString      : MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@mydomain.local
ProxyAddressString : smtp:MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@mydomain.local
Prefix             : SMTP
IsPrimaryAddress   : False
PrefixString       : smtp


I'm thinking that removing the postmaster entry should fix the 5.1.4 error but I don't know how to remove it from here using PS....
Am I right in thinking this?

Thanks for your help!!!
0
huntex
Asked:
huntex
  • 2
  • 2
1 Solution
 
Chris DentPowerShell DeveloperCommented:
You might try:
$Addresses = (Get-OrganizationConfig).MicrosoftExchangeRecipientEmailAddresses[1..2]
Set-OrganizationConfig -MicrosoftExchangeRecipientEmailAddresses $Addresses

Open in new window

It may work, if not, there are other ways we can try.

Chris
0
 
huntexNetwork AdministratorAuthor Commented:
Genuis.
Could you explain it to me?

Thanks very very much.
0
 
Chris DentPowerShell DeveloperCommented:
Sure.

The first part you gave me, it returns an Array (a collection of addresses). That's numbered starting from 0, so we have this:

0: postmaster@mydomain.com
1: MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@mydomain.com
2: MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@mydomain.local

You wanted to drop the first, 0, so we've taken everything else, from 1 to 2 ([1..2]) and put that into a variable called $Addresses.

Finally, we've taken our modified list, and chucked it into Set-OrganizationConfig.

HTH

Chris
0
 
huntexNetwork AdministratorAuthor Commented:
Excellent man, cheers!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now