Closed bugnumber9 closed 7 months ago
To add to this. As of today, the mailbox is no longer empty but I still get the error I mentioned. What can cause the error and how to fix it?
I figured it out. I missed having to set $imapdmarcfolder and $imaptlsfolder to 'inbox' in the config file.
Describe the bug I ran the script for the 1st time and it produced the following error:
Use of uninitialized value in concatenation (.) or string at ./report-parser.pl line 448.
Line 448 is this:
printInfo("Processing ". $imap->message_count($imapdmarcfolder)." messages in folder <$imapdmarcfolder>.") if $dmarc_only >= 0;
It's 1 line off of the original script because I added this line in the header since I'm running it in cPanel:use cPanelUserConfig;
My question is: can this error happen because the mailbox is still empty (because it currently is)? Or should I look for other causes of this error?
Software Version [] Version 0 Alpha 5
Server (please complete the following information):