#1 Global Leader in Data Protection & Ransomware Recovery

How to Collect Veeam ONE SMTP Logging

KB ID: 3129
Product: Veeam ONE | 10 | 11 | 12 | 12.1
Published: 2020-03-20
Last Modified: 2023-03-28
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

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

error icon

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

Veeam ONE Version Differences

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

  1. 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
  1. Restart the Veeam ONE Reporting Service


PowerShell cmdlet to restart the Veeam ONE Reporting Service:

Restart-Service "Veeam ONE Reporting Service"
  1. Trigger the email notification(s) to occur or wait for them to be sent (if scheduled).
  2. Collect Veeam ONE Monitor logs as documented in KB1862
    Email logging is written to: %ProgramData%\Veeam\Veeam ONE Reporter\Logs\Veeam.Reporter.Email.log  
  3. 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
  1. Restart the Veeam ONE Reporting Service


PowerShell cmdlet to restart the Veeam ONE Reporting Service:

Restart-Service "Veeam ONE Reporting Service"
Disable DetailedLogging When Not Needed
If DetailedLogging is left enabled, it can negatively impact performance.

Collect SMTP Logging — Veeam ONE 11a or Lower

  1. 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
  1. Restart the Veeam ONE Monitoring Service


PowerShell cmdlet to restart the Veeam ONE Monitoring Service:

Restart-Service "Veeam ONE Monitoring Service"
  1. Trigger the email notification(s) to occur or wait for them to be sent (if scheduled).
  2. 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
  3. 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
  1. Restart the Veeam ONE Monitoring Service


PowerShell cmdlet to restart the Veeam ONE Monitoring Service:

Restart-Service "Veeam ONE Monitoring Service"
Disable LogSmtpActivity When Not Needed
If LogSmtpActivity is left enabled, it can negatively impact performance.
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.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.