strange behaviour after import

Issue #213 resolved
ysa_2_bb created an issue

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)

  1. Janos SUTO repo owner

    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.

  2. ysa_2_bb 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?

  3. Log in to comment