-
- Veeam Legend
- Posts: 821
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Powershell Update SMTP settings
Hello,
I can't configure SMTP setting with SSL on if authentication is not used.
I can with GUI, but I can't with powershell.
Set-VBOEmailSettings : Cannot set parameter: UseSSL. Authentication is not used.
When I try : Set-VBOEmailSettings -UseSSL:$false is not working neither...
I can't configure SMTP setting with SSL on if authentication is not used.
I can with GUI, but I can't with powershell.
Set-VBOEmailSettings : Cannot set parameter: UseSSL. Authentication is not used.
When I try : Set-VBOEmailSettings -UseSSL:$false is not working neither...
-
- Product Manager
- Posts: 9848
- Liked: 2607 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Powershell Update SMTP settings
Hi matteu
Please post the entire command you used.
Then I can try it tomorrow in my lab. You can anonymize the parameter.
Thanks
Fabian
Please post the entire command you used.
Then I can try it tomorrow in my lab. You can anonymize the parameter.
Thanks
Fabian
Product Management Analyst @ Veeam Software
-
- Veeam Legend
- Posts: 821
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Powershell Update SMTP settings
Reset your SMTP configuration with GUI and then use these command :
There is an issue for the switch UseSSL because it's impossible to use it when UseAuthentication is equal to false.
I understand I can't use it as -UseSSL but I should be able to use it as -UseSSL:$false to disable it
Code: Select all
Set-VBOEmailSettings -EnableNotification:$true -SMTPServer "test.domain.com" -From "test@domain.com" -To "test@domain.com"
Set-VBOEmailSettings -UseAuthentication:$false
Set-VBOEmailSettings -UseSSL:$false
I understand I can't use it as -UseSSL but I should be able to use it as -UseSSL:$false to disable it
-
- Product Manager
- Posts: 9848
- Liked: 2607 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Powershell Update SMTP settings
Hi Matteu
Thanks. Seeing the same in my lab.
Let me check if it's a known bug. It must be possible.
Doesn't make sense that it doesn't work.
PS:
I formatted your cmdlets as Code
Thanks. Seeing the same in my lab.
Let me check if it's a known bug. It must be possible.
Doesn't make sense that it doesn't work.
PS:
I formatted your cmdlets as Code
Product Management Analyst @ Veeam Software
-
- Veeam Legend
- Posts: 821
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Powershell Update SMTP settings
Probably fixed in the next version :p
I'm happy to contribute for some future fixes (mainly about Powershell :p)
I'm happy to contribute for some future fixes (mainly about Powershell :p)
-
- Product Manager
- Posts: 9848
- Liked: 2607 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Powershell Update SMTP settings
Hi matteu
It‘s confirmed as a bug and will be fixed in a future version. Thank you very much for finding the bug
Thanks
Fabian
It‘s confirmed as a bug and will be fixed in a future version. Thank you very much for finding the bug
Thanks
Fabian
Product Management Analyst @ Veeam Software
-
- Veeam Legend
- Posts: 821
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Powershell Update SMTP settings
Thanks for update
-
- Product Manager
- Posts: 9848
- Liked: 2607 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Powershell Update SMTP settings
Hi Matteu
Good news. It is fixed with VB365 v6a CP2: https://www.veeam.com/kb4347
Fabian
Good news. It is fixed with VB365 v6a CP2: https://www.veeam.com/kb4347
Thanks again for finding and reporting the bugPowerShell
The Set-VBOEmailSettings cmdlet does not support the configuration of connecting using SSL without authentication.
Fabian
Product Management Analyst @ Veeam Software
-
- Veeam Legend
- Posts: 821
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Powershell Update SMTP settings
Hello,
Thank you
Thank you
Who is online
Users browsing this forum: glwschwarz and 21 guests