Hi - sometimes I receive sporadic emails generated by osTicket with such subject lines and messages:
Example #1:
Subject: Cron <root@server> /usr/bin/php /path/to/osticket/api/cron.php
Message: didn't trigger
Example #2:
Subject: Cron <root@server> /usr/bin/php /path/to/osticket/api/cron.php
Message: PHP Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /../osTicket-v1.14.8/include/pear/Net/Socket.php on line 166
PHP Warning: stream_socket_client(): unable to connect to smtp.office365.com:587 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /../osTicket-v1.14.8/include/pear/Net/Socket.php on line 166
I am not sure why these are being generated. Sometimes for example #2, I receive incessant emails every 2 minutes for a while. I can only assume it means it can't send mail via office 365 sometimes (too many attempts?).
Example #1 I checked my apache error log (in osticket/log/error.log) and saw
[php7:notice] [pid 25329 (<--apache)] [client myremoteipaddress:51536] didn't trigger , referer: https://osTicketaddress.com/scp/tickets.php?a=open&uid=69
but not really sure what this is insinuating.
Is the cron part just how osTicket sends email, and what it's really sending me are apache errors? or are they PHP errors?