PLease activate the DEBUG in teh imscp.conf and reinstall the plugin. Then you will find a log under /var/log/imscp/
Please post the content of the logfile
i-MSCP Mailgraph plugin
- Nuxwin
- Closed
- Thread is marked as Resolved.
-
-
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
-
-
-
OK, thx a lot
-
-
I managed to resolve the problem, now it works perfectly.
My installation was before Debian Squeeze with ispcp, it's now Wheezy with imscp. Before there was the need to have installed couriergraph. This package was interfering with the Whole process.
Regarding Postscreen, there is a patch included in the package, if you respect the procedure everything is perfect.
1. remove couriergraph (this was the problem)
2. disable mailgraph and postscreen plugins
3. enable mailgraph plugin
4. enable postscreen (there is a variable in the config for the mailgraph patchNow everything is just perfect. Thank you a lot.
-
Thanks for the information!
-