Hi all, I have a question regarding entries in the nginx and phpfpm logs every time an email is delivered. Some of these messages are labelled error and warning and I don’t understand if something is broken or not, everything seems to be working jus as it should. The log entries I’m referring to are:

nginx
2020-11-18 07:56:02 172.22.1.5 - - [18/Nov/2020:07:56:02 +0100] “POST /pushover.php HTTP/1.1” 200 5 “-” “rspamd-2.6”
2020-11-18 07:56:02 PHP message: NOTIFY: pushover pipe: processing pushover message for rcpt myuser@mydomain.com" while reading response header from upstream, client: 172.22.1.5, server: _, request: “POST /pushover.php HTTP/1.1”, upstream: “fastcgi://172.22.1.12:9001”, host: “nginx”
2020-11-18 07:56:02 PHP message: RCPT RESOVLER: http pipe: goto array count on loop #1 is 0
2020-11-18 07:56:02 PHP message: RCPT RESOVLER: http pipe: mailbox found: myuser@mydomain.com
2020-11-18 07:56:02 2020/11/18 07:56:02 [error] 22#22: *9542 FastCGI sent in stderr: "PHP message: RCPT RESOVLER: http pipe: query myuser@mydomain.com as username from mailbox

phpfpm
2020-11-18 07:56:02 172.22.1.11 - 18/Nov/2020:07:56:02 +0100 “POST /pushover.php” 200
2020-11-18 07:56:02 [18-Nov-2020 07:56:02] WARNING: [pool system-worker] child 41 said into stderr: “NOTICE: PHP message: NOTIFY: pushover pipe: processing pushover message for rcpt myuser@mydomain.com
2020-11-18 07:56:02 [18-Nov-2020 07:56:02] WARNING: [pool system-worker] child 41 said into stderr: “NOTICE: PHP message: RCPT RESOVLER: http pipe: goto array count on loop #1 is 0”
2020-11-18 07:56:02 [18-Nov-2020 07:56:02] WARNING: [pool system-worker] child 41 said into stderr: “NOTICE: PHP message: RCPT RESOVLER: http pipe: mailbox found: myuser@mydomain.com
2020-11-18 07:56:02 [18-Nov-2020 07:56:02] WARNING: [pool system-worker] child 41 said into stderr: “NOTICE: PHP message: RCPT RESOVLER: http pipe: query myuser@mydomain.com as username from mailbox”

I can see that the log entries are coming from data/conf/rspamd/meta_exporter/pushover.php and pipe.php but I can’t understand if the warnings and error are harmless or not.

  • That’s just us abusing the error_log function in PHP for debugging. You can safely ignore it. 🙂

  • diekuh

    • Community Hero
    • volunteer
    Moolevel 110
  • Best Answerset by diekuh

That’s just us abusing the error_log function in PHP for debugging. You can safely ignore it. 🙂

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

No one is typing