Hello! Loving ITFlow so far! Been looking for something to better manage clients and their machines.

I recently had set up emails and they've been working up to this point. Unfortunately, I'm not sure when they stopped working, but I can't get them to work at all anymore.

Are there any logs I can access to better understand what might be the problem here? The email provider I use is somewhat lacking in that department, haha.

  • wrongecho That did the trick! I can now see the entire log output, and it's definitely something going on at the provider, I think.

    Failed to send email: The following From address failed: noreply@hodgesvcs.com : MAIL FROM command failed, You (mail@hodgesvcs.com) are not authorized to send mail as noreply@hodgesvcs.com.

    Thanks for pointing me in the right direction on this one! I'll let you know if I still have issues after my provider A-OKs everything.

Hey there @matth

ITFlow logs most things to it's own audit log accessible within settings. You'll also find the mail queue there (if you haven't found it already).

You'll probably also find useful bits in the php error log

https://docs.itflow.org/gathering_logs

    wrongecho thanks for the reply! I did not know that the audit log contained more information. Unfortunately, it seems to cut off before providing useful information -- is there a way to view the entry in its entirety?

    For example:

      wrongecho Hmm… Do you think that since this is cron, that the log may be stored somewhere else? I pulled the error.log from the apache2 folder but didn't see anything regarding email in there -- just a bunch of stuff like this:

      [Wed Oct 02 11:49:48.207580 2024] [php:warn] [pid 449] [client 10.0.10.101:41588] PHP Warning:  Undefined variable $largest_income_month in /var/www/portal.hodgesvcs.com/dashboard.php on line 761, referer: https://portal.hodgesvcs.com/clients.php
      [Wed Oct 02 11:49:57.783283 2024] [php:warn] [pid 591] [client 10.0.10.101:34068] PHP Warning:  Undefined array key "ticket_invoice_id" in /var/www/portal.hodgesvcs.com/ticket.php on line 168, referer: https://portal.hodgesvcs.com/dashboard.php
      [Wed Oct 02 11:49:57.783318 2024] [php:warn] [pid 591] [client 10.0.10.101:34068] PHP Warning:  Undefined array key "invoice_prefix" in /var/www/portal.hodgesvcs.com/ticket.php on line 169, referer: https://portal.hodgesvcs.com/dashboard.php
      [Wed Oct 02 11:49:57.783324 2024] [php:warn] [pid 591] [client 10.0.10.101:34068] PHP Warning:  Undefined array key "invoice_number" in /var/www/portal.hodgesvcs.com/ticket.php on line 170, referer: https://portal.hodgesvcs.com/dashboard.php
      [Wed Oct 02 11:49:57.783337 2024] [php:warn] [pid 591] [client 10.0.10.101:34068] PHP Warning:  Undefined array key "invoice_created_at" in /var/www/portal.hodgesvcs.com/ticket.php on line 171, referer: https://portal.hodgesvcs.com/dashboard.php

      I followed the log and submitted a test email, but nothing new seems to have been added to the log.

      I figure I should go ahead and provide my system details.

      1. How did you install ITFlow: Install Script
      2. What Operating System, Web Server and Database you're using: Ubuntu 24.04.1 LTS, Apache/2.4.58, 10.11.8-MariaDB-0ubuntu0.24.04.1 / 101108
      3. What app & database version you're on: c352f6e3cb4238c4d5175f9b794ef9489b13cbae, 1.5.2

        wrongecho That did the trick! I can now see the entire log output, and it's definitely something going on at the provider, I think.

        Failed to send email: The following From address failed: noreply@hodgesvcs.com : MAIL FROM command failed, You (mail@hodgesvcs.com) are not authorized to send mail as noreply@hodgesvcs.com.

        Thanks for pointing me in the right direction on this one! I'll let you know if I still have issues after my provider A-OKs everything.

          wrongecho Everything's fixed up for me, thanks gain!

          Do I need to do anything to mark this as resolved?

            matth

            You're welcome! Glad to hear they fixed it - it's amazing what showing some logs to a provider can do haha.

            Will mark as solved