- Veeam Support Knowledge Base
- How to Collect Veeam ONE SMTP Logging
How to Collect Veeam ONE SMTP Logging
| KB ID: | 3129 |
| Product: | Veeam ONE | 10 | 11 | 12 | 12.1 | 12.2 | 12.3 | 13 | 13.1 |
| Published: | 2020-03-20 |
| Last Modified: | 2023-03-28 |
Cheers for trusting us with the spot in your mailbox!
Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Oops! Something went wrong.
Please, try again later.
Purpose
This article provides information on enabling extended SMTP email logging, which is necessary when investigating issues with Veeam ONE emails, such as missed alarm notifications, unexpected email content, or other email-related problems. SMTP logging is not enabled by default and must be enabled temporarily to collect diagnostic information that can help identify potential SMTP communication issues.
Before proceeding with further steps, please ensure that the SMTP server settings have been correctly configured within the Veeam ONE settings.
Solution
Beginning with Veeam ONE version 12, the registry value to enable extended SMTP logging and the location for email logging have been changed.
If you are still using Veeam ONE version 11a or an older version, the legacy SMTP log collection steps can be found at the end of this article.
Collect SMTP Logging — Veeam ONE 12 or Higher
- Create the following registry value on the machine where the Veeam ONE Reporting Service is running:
Key Location: HKLM\SOFTWARE\Veeam\Veeam ONE
Value Name: DetailedLogging
Value Type: DWORD (32-Bit) Value
Value Data: 1
PowerShell cmdlet to enable DetailedLogging:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Veeam\Veeam ONE\' -Name 'DetailedLogging' -Value '1' -PropertyType DWORD -Force
- Restart the Veeam ONE Reporting Service
PowerShell cmdlet to restart the Veeam ONE Reporting Service:
Restart-Service "Veeam ONE Reporting Service"
- Trigger the email notification(s) to occur or wait for them to be sent (if scheduled).
- Collect Veeam ONE Monitor logs as documented in KB1862
Email logging is written to: %ProgramData%\Veeam\Veeam ONE Reporter\Logs\Veeam.Reporter.Email.log - Disable SMTP Logging by changing the DetailedLogging value to 0.
PowerShell cmdlet to disable DetailedLogging:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Veeam\Veeam ONE\' -Name 'DetailedLogging' -Value '0' -PropertyType DWORD -Force
- Restart the Veeam ONE Reporting Service
PowerShell cmdlet to restart the Veeam ONE Reporting Service:
Restart-Service "Veeam ONE Reporting Service"
Collect SMTP Logging — Veeam ONE 11a or Lower
- Create the following registry value on the machine where Veeam ONE Monitor Server is installed:
Key Location: HKLM\SOFTWARE\Veeam\Veeam ONE Monitor\Service\
Value Name: LogSmtpActivity
Value Type: DWORD (32-Bit) Value
Value Data: 1
PowerShell cmdlet to enable LogSmtpActivity:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Veeam\Veeam ONE Monitor\Service\' -Name 'LogSmtpActivity' -Value '1' -PropertyType DWORD -Force
- Restart the Veeam ONE Monitoring Service
PowerShell cmdlet to restart the Veeam ONE Monitoring Service:
Restart-Service "Veeam ONE Monitoring Service"
- Trigger the email notification(s) to occur or wait for them to be sent (if scheduled).
- Collect Veeam ONE Monitor logs as documented in KB1862
Each SMTP action is logged to an individual log file written to: %ProgramData%\Veeam\Veeam ONE Monitor\Logs\VeeamDCS-MailActivity-<YYYY_MM_DD_HH_MM_SS>.log - Disable SMTP Logging by changing the LogSmtpActivity value back to 0.
PowerShell cmdlet to disable LogSmtpActivity:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Veeam\Veeam ONE Monitor\Service\' -Name 'LogSmtpActivity' -Value '0' -PropertyType DWORD -Force
- Restart the Veeam ONE Monitoring Service
PowerShell cmdlet to restart the Veeam ONE Monitoring Service:
Restart-Service "Veeam ONE Monitoring Service"
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.