OK, I did so. In effect the cronjob is created as you can see in the log, but the graphics pictures do not report any mails, any viruses, any spam.
I forgot to mention that I also use the postscreen plugin, so perhaps you could find a way to disable postgrey graphics display when postscreen is installed... Just cosmetics...
mailgraph-plugin-cronjob.log
Code
- [Fri Mar 21 16:30:01 2014] [debug] iMSCP::Debug::silent: Entering in silent mode[Fri Mar 21 16:30:01 2014] [debug] iMSCP::Bootstrapper::boot: Booting backend...[Fri Mar 21 16:30:01 2014] [debug] iMSCP::Config::_init: Tying /etc/imscp/imscp.conf[Fri Mar 21 16:30:01 2014] [debug] iMSCP::Config::_loadConfig: Loading /etc/imscp/imscp.conf[Fri Mar 21 16:30:01 2014] [debug] iMSCP::Config::_parseConfig: Parsing /etc/imscp/imscp.conf[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_day.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_day.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_week.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_week.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph//mailgraph_month.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph//mailgraph_month.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_year.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_year.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_day.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_day.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_week.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_week.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_month.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_month.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_year.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_year.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::Debug::END: Exit code: 0
Plugin_mngr_Mailgraph.log
Code
- [Fri Mar 21 16:26:36 2014] [debug] Modules::Plugin::_exec: Plugin Manager: Installing Mailgraph.pm in backend plugin repository
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::copyFile: Copying file /var/www/imscp/gui/plugins/Mailgraph/backend/Mailgraph.pm to /var/www/imscp/engine/Plugins/Mailgraph.pm
- [Fri Mar 21 16:26:36 2014] [debug] Modules::Plugin::_exec: Plugin Manager: Executing Plugin::Mailgraph::enable() action
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::save: Saving file /var/www/imscp/gui/plugins/Mailgraph/cronjob.pl
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::copyFile: Copying file /etc/cron.d/imscp to /etc/imscp/cron.d/backup/imscp.1395415596
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::copyFile: Changing mode for /etc/imscp/cron.d/backup/imscp.1395415596 to 644
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::copyFile: Changing owner and group for /etc/imscp/cron.d/backup/imscp.1395415596 to 0:0
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::save: Saving file /etc/imscp/cron.d/working/imscp
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::mode: Changing mode for /etc/imscp/cron.d/working/imscp to 644
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::owner: Changing owner and group for /etc/imscp/cron.d/working/imscp to 0:0
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::copyFile: Copying file /etc/imscp/cron.d/working/imscp to /etc/cron.d/imscp
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::copyFile: Changing mode for /etc/cron.d/imscp to 644
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::copyFile: Changing owner and group for /etc/cron.d/imscp to 0:0
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_day.png to 2004:2004
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_day.png to 644
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_week.png to 2004:2004
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_week.png to 644
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph//mailgraph_month.png to 2004:2004
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph//mailgraph_month.png to 644
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_year.png to 2004:2004
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_year.png to 644
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_day.png to 2004:2004
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_day.png to 644
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_week.png to 2004:2004
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_week.png to 644
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_month.png to 2004:2004
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_month.png to 644
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_year.png to 2004:2004
- [Fri Mar 21 16:26:36 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_year.png to 644