SMTP Message Tracking Log, Error Log - ability to modify
Hi - does anyone know if it is possible to modify the default SMTP Message Tracking log? I would like add the SMTP target email address in the repor/log - similar to what is provided in the SMTP error log. See attached image. Also is it possible to change the timeframe for when the log gets generated? currently 7 pm to 7 pm (24 hours)
The Message tracking feature logs message in CSV format, which by default log attributes unid,qid,msgid,subject,mta,size,sender,submit-time to message tracking log file, The Feature provides hidden configuration, which allows administrator to include/exclude attributes for message tracking.
To include/exclude attributes in the log file, administrator needs to create MsgTrackingAttributes.config file in \Smtp\DATA\etc\switch and only add required attributes in config files to be logged.
The new list of attributes will be picked only after SMTP service is restarted. In absence of log files default attributes will be logged.
Following is the list of default and optional parameters which can be recorded through SMTP service,
Key
Description
unid
Message unique ID
qid
ID of message in queue
type
Type of message
msgid
Internet Message-ID
subject
Subject string from message
chan
Channel name
mta
Name of MTA
size
Size of message content in bytes
nrecip
Number of recipients
content-type
Type of content
sender
Sender address (as processed)
submit-time
Time message was submitted
queued-time
Time message was entered in queue
priority
Priority of message
trace
Traceinformation in message
At present, we just provide the count for number of recipients in the email and not the actual recipient address.
In order to configure that you can create the file MsgTrackingAttributes.config under “<\Smtp\DATA\etc\switch” and write the line "unid,qid,msgid,subject,mta,size,sender,submit-time,nrecip" (strictly in csv format only).
The message tracking logs and the error logs are different because they are derived from SMTP Service and SMTP Archiving Task internally.
Logging the recipient information and scheduling of the message logs based on time are improvements to the existing functionality. It should get log as an enhancement through the support channel.
Thanks, Abhishek