Overview
This article describes the issue and its resolution, which occurs if a user logs into the web page which has a blank mail-attribute in AD (no email address in AD) and requests a MailInsights report or restores an email under the Archive tab's message view, the MailArchiver will not be able to send the email via SMTP.
Below is an example of Core2's MIScheduler.log:
2013-09-13,15:54:51,733,1,"#000006E0","#00000014","info ","MIScheduler",">>> Start GenerateReport(). Report: Storage. User: fa5c853a11c993438b77c31d3a6b1bf1." 2013-09-13,15:54:51,733,1,"#000006E0","#00000014","info ","MIScheduler","Get Report Plug-in for Storage"
2013-09-13,15:54:52,014,1,"#000006E0","#00000014","info ","MIScheduler","Plug-in successfully generated report"
2013-09-13,15:54:52,014,1,"#000006E0","#00000014","info ","MIScheduler","SendEmail() from: , to: ;, repName: Storage, attachmentFile: Temp\\MailInsights_bf7fd372-0201-4f43-8f1c-8cf1c3739b18.pdf, returnStatus: Success, templatePath http://templates.gfi.com/mailarchiver/en-IE/report"
Core's SMTPSend.log shows the mentioned SMTP error (this on its own does not allow to identify the issue):
2013-09-13,16:07:02,623,1,"#00000A08","#00000013","info ","SMTPSend","ProcessFailed: starting processing files..."
2013-09-13,16:07:02,623,1,"#00000A08","#00000013","info ","SMTPSend","ProcessFailed: processing file: skip-b2b5bce4-6a79-4ec2-a38d-130b5abf61cc-a8e437b4-280b-49c8-ac2a-db42f23970ad.failed"
2013-09-13,16:07:02,623,1,"#00000A08","#00000013","info ","SMTPSend","ProcessFailed: finished processing files"
2013-09-13,16:07:06,587,1,"#00000A08","#00000012","info ","SMTPSend","Process: there are [1] files to process"
2013-09-13,16:07:06,587,1,"#00000A08","#00000012","info ","SMTPSend","Process: SMTP server[192.168.16.11], port[25]"
2013-09-13,16:07:06,587,1,"#00000A08","#00000012","info ","SMTPSend","Processing queue..."
2013-09-13,16:07:06,587,1,"#00000A08","#00000012","error ","SMTPSend","ERROR: Failed to process queue[SMTP protocol error. 501 5.5.4 Invalid Address.]"
Please also look up the email under Core/SMTP and it's subfolders. The MAIL FROM: line would not list an email address.
Environment
20131111 or older
Resolution
Apply one of the following to resolve the issue:
- Make sure that user who requests the MailInsights report has an email address configured in Active Directory.
- Upgrade to 20140616 or newer as the issue is fixed in MARC 2014 build 20140616. When MailInsight report is generated, an error is shown if the user who requests it does not have an email address set up in AD. The email is restored by setting up the address in the General Settings.