Daily Report misses $counters['rcvd']

Issue #435 resolved
Karsten Bandlow created an issue

Dailyreportscript is missing the $counters variable

Registry::set('counters', $counters);

PHP Warning:  Illegal string offset 'rcvd' in /usr/local/libexec/piler/daily-report.php on line 128
PHP Warning:  Illegal string offset 'rcvd' in /usr/local/libexec/piler/daily-report.php on line 129
PHP Warning:  Illegal string offset 'rcvd' in /usr/local/libexec/piler/daily-report.php on line 130
PHP Warning:  Illegal string offset 'rcvd' in /usr/local/libexec/piler/daily-report.php on line 131
PHP Notice:  fputs(): send of 6 bytes failed with errno=32 Broken pipe in /var/www/piler/htdocs/model/mail/mail.php on line 45

Comments (11)

  1. Karsten Bandlow reporter
    • changed status to open

    PHP Notice: fputs(): send of 6 bytes failed with errno=32 Broken pipe in /var/www/piler/htdocs/model/mail/mail.php on line 45

  2. Janos SUTO repo owner

    Sorry, I overlooked the other part. So I suspect that the remote smtp server aborts the connection at some point, that's why the broken pipe message. To test this hypothesis, please (install and) run ngrep -x -e port 25 on the archive, then run the daily report script. I'm especially interested in the last few packet exchanges.

  3. Janos SUTO repo owner

    I'll think about it, though I'm a bit reluctant to incorporate 3rd party stuff into the gui. We'll see.

  4. Log in to comment