Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
SMTP logging is needed when investigating an issue with Veeam ONE Monitor emails, such as missed alarm notifications, unexpected email content, or other email-related problems. However, 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 performing the further steps, please ensure that SMTP server settings have been correctly configured within the Veeam ONE Monitor server settings.
New-ItemProperty -Path 'HKLM:\SOFTWARE\Veeam\Veeam ONE Monitor\Service\' -Name 'LogSmtpActivity' -Value '1' -PropertyType DWORD -Force
Restart-Service "Veeam ONE Monitoring Service"
New-ItemProperty -Path 'HKLM:\SOFTWARE\Veeam\Veeam ONE Monitor\Service\' -Name 'LogSmtpActivity' -Value '0' -PropertyType DWORD -Force
Restart-Service "Veeam ONE Monitoring Service"
When LogSmtpActivity is enabled, all SMTP activities will be recorded in log files named "VeeamDCS-MailActivity-<YYYY_MM_DD_HH_MM_SS>.log" and stored in the folder %ProgramData%\Veeam\Veeam ONE Monitor\Logs\. Each log file contains a full SMTP dialog with the SMTP server for each e-mail that is sent, including the status codes (220, 250, etc.) and HTML markup of the e-mail.
VeeamDCS-MailActivity Log example:
Connected to smtp://smtprelay.contonso.com:25/
S: 220 smtprelay.contonso.com ESMTP Postfix
C: EHLO [192.168.0.1]
S: 250-smtprelay.contonso.com
S: 250-PIPELINING
S: 250-SIZE 36700160
S: 250-ETRN
S: 250-STARTTLS
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250 DSN
C: MAIL FROM:<VeeamOneServerMachine@contonso.com> SIZE=364
C: RCPT TO:<recepient@contonso.com>
S: 250 2.1.0 Ok
S: 250 2.1.5 Ok
C: DATA
S: 354 End data with <CR><LF>.<CR><LF>
C: From: VeeamOneServerMachine@contonso.com
C: Date: Tue, 11 Feb 2020 13:35:53 +0300
C: Subject: Veeam ONE Monitor
C: Message-Id: <WB128P30U9U4.IS9J8ZHC935G3@VeeamOneServerMachine>
C: To: recepient@contonso.com
C: MIME-Version: 1.0
C: Content-Type: text/html; charset=utf-8
C: Content-Id: <HNT78P30U9U4.094QYWZZHYV63@VeeamOneServerMachine>
C:
C: This is test e-mail message sent by Veeam ONE Monitor.
C: .
S: 250 2.0.0 Ok: queued as 804B240A1D
C: QUIT
S: 221 2.0.0 Bye
Your feedback has been received and will be reviewed.
Please try again later.
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case
Your feedback has been received and will be reviewed.