Daily Report misses $counters['rcvd']
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)
-
repo owner -
repo owner - changed status to resolved
-
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
-
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.
-
repo owner - changed status to resolved
No news is good news.
-
reporter Sorry Janos, I forget the output.
The Server answers NOOP
-
reporter - changed status to open
See my post above
-
repo owner Ok, could you post a bit more ngrep output to see what's going on?
-
reporter Hi Janos I found the error. A Postfixfilter blocks my address. So I fixed this issue. Maybe its a good idea to use a better mail.class like PHPMailer with error logging features. Here is a Link to the Class https://github.com/PHPMailer/PHPMailer/blob/master/class.smtp.php
-
repo owner I'll think about it, though I'm a bit reluctant to incorporate 3rd party stuff into the gui. We'll see.
-
repo owner - changed status to resolved
- Log in to comment
Just updated the util/daily-report.php script, check it out.