strange behaviour after import
In order to test piler, I have imported from a PST (MS Exchange), as a result, I can search and view emails. However, if I select the accounting tab from the admin menu. Whether by email or by domain, no emails are listed. Not sure if this is the correct behavior or if something went wrong during the import. Another note, if I look at the direction field in the metadata table is always = 0, I would have expected the direction to be zero for inbound and one for outbound (or something similar)?
Comments (4)
-
repo owner -
reporter Thank you for the followup, I modified the cron job, the actual problem was that /usr/bin/php does not exist on the Debian VMware image I downloaded and using for the test. For the direction field, the domain was added to the domain list prior to the import. Will need to investigate further to understand what the issue is... On the domain subject, I tried to add multiple domains to the build-in admin, however it does not seem to work, as after I save, if I go back and view it, the added domains are not saved. I created an admin by domain as a work-around. Is this the expected behavior?
-
repo owner Can you try this domain misbehaviour on the demo site? http://www.mailpiler.org/en/demo.html
-
repo owner - changed status to resolved
In case of any update on the matter, please open the issue or write to me.
- Log in to comment
To have anything under the accounting page you have to run a cron job, eg.
1 3 * * * /usr/bin/php /usr/local/libexec/piler/generate_stats.php --webui /var/www/piler.yourdomain.com > /dev/null
Regarding the direction field. To have that field right, you need to add all your hosted domains to administration / domain otherwise the parser can't figure out whether the given email is inbound or outbound or internal.