[7.450][BUG][FIXED] broken Mail Reporting

As already mentioned by another member, dashboard does not count processed mails. On top of that all the reporting for the mails is broken. The graphs are working but no reporting.
If I try to generate a report manually, I get this in the system logs basically indicating that "mailsec_data" has a problem with it...

2009:05:30-13:13:48 gatekeeper postgres[31574]: [13-1] ERROR:  relation "mailsec_data" does not exist
2009:05:30-13:13:48 gatekeeper postgres[31574]: [13-2] STATEMENT:  SELECT (dstuser || '@' || dstdomain) as recipient,transform_common(CAST(sum(mailcount) AS BIGINT)) as
2009:05:30-13:13:48 gatekeeper postgres[31574]: [13-3]  sum_count_str,sum(mailcount) as sum_count_int,transform_SI(CAST(sum(mailsize) AS BIGINT),1) as sum_size_str,sum(mailsize) as
2009:05:30-13:13:48 gatekeeper postgres[31574]: [13-4]  sum_size_int,transform_common(count(DISTINCT (srcuser || '@' || srcdomain))) as cnt_sdr_str,count(DISTINCT (srcuser || '@' ||
2009:05:30-13:13:48 gatekeeper postgres[31574]: [13-5]  srcdomain)) as cnt_sdr_int FROM mailsec_data WHERE dayabs = 733557 AND type = 1 GROUP BY recipient ORDER BY sum_count_int DESC

I guess a little whoopsie in postgresql.
Parents Reply Children
  • I'll file a ticket for this since I'm not pretty sure if this is really the dashboard issue. I can confirm this on my gateway:
    calvin:/root # cat /var/log/system.log | grep 'relation "mailsec_'
    2009:06:13-22:51:51 (none) postgres[3019]: [34-1] ERROR:  relation "mailsec_archive" does not exist
    2009:06:13-22:51:52 (none) postgres[3019]: [51-1] ERROR:  relation "mailsec_archive" does not exist
    2009:06:13-22:51:52 (none) postgres[3019]: [55-1] ERROR:  relation "mailsec_archive" does not exist
    2009:06:13-22:51:52 (none) postgres[3019]: [56-1] ERROR:  relation "mailsec_data" does not exist
    2009:06:13-22:51:52 (none) postgres[3019]: [57-1] ERROR:  relation "mailsec_data" does not exist
    2009:06:13-23:04:19 calvin postgres[5810]: [3-1] ERROR:  relation "mailsec_data" does not exist
    2009:06:13-23:04:19 calvin postgres[5810]: [4-1] ERROR:  relation "mailsec_data" does not exist


    I can't find them in the database, too:

     public | mailanon_addrs                | table    | reporting
     public | mailanon_addrs__rowno_seq     | sequence | reporting
     public | mailanon_domains              | table    | reporting
     public | mailanon_domains__rowno_seq   | sequence | reporting
     public | mailsec                       | table    | reporting
     public | mailsec__rowno_seq            | sequence | reporting


    Let's wait for a developer's feedback :-).

    Cheers
    nitehawk
  • Astaro Beta Report
    --------------------------------
    Version: 7.450
    Type: BUG
    State: FIXED
    Reporter: Billybob
    Contributor: RDL,Monarch
    MantisID: 10594
    --------------------------------