Any MailEnable / Powershell gurus on here?
ME Pro 10.39.
I can provision postoffices and domains and mailbox maps using powershell -- except, AFAICT, the domain's catchall setting.
Adding *@<domain> via the New-MailEnableAddressMap cmdlet appears to be insufficient, so I'm stuck.
The ability to programmatically define a new domain with a catchall is essential to our use case.
Anyone done this?
Thx
Phil
powershell domain provisioning with a catchall
Re: powershell domain provisioning with a catchall
Thanks to Peter at support, here's the solution:
New-MailEnableAddressMap -EmailAddress "[SMTP:*@example.com]" -Postoffice "example.com" -Mailbox "catchall"
The trick is specifying the email address as above, as simply using "*@example.com" (w/o SMTP[...]) doesn't work in the current rev (a fix is en route apparently).
New-MailEnableAddressMap -EmailAddress "[SMTP:*@example.com]" -Postoffice "example.com" -Mailbox "catchall"
The trick is specifying the email address as above, as simply using "*@example.com" (w/o SMTP[...]) doesn't work in the current rev (a fix is en route apparently).