Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-4195

Cannot receive emails

    XMLWordPrintable

Details

    • Help
    • Resolution: Unresolved
    • Major
    • None
    • CE-21.10
    • Alerting
    • None

    Description

      Hi all,

      I'm running Observium CE 22.5.12042 and I'm facing issues with my observium installation, regarding alerting by email.

      My machine has postfix configured correctly, and If I try to send an email from the console, everything seems to be ok.

      echo "test message" | /usr/sbin/sendmail -v myemail@mydomain.it 

      Following your support area, I also configured config.php manually to fit all the SMTP settings for my server.

      $config['email']['enable'] = TRUE;
      $config['email']['from'] = "'Observium' <geoobs@geo.local>";
      $config['email']['default'] = "XXXXXX@myaddress.it";
      $config['email']['default_only'] = TRUE;
      $config['email']['backend'] = 'smtp';
      $config['email']['sendmail_path'] = '/usr/sbin/sendmail'; // The location of the sendmail program.
      $config['email']['smtp_host'] = 'smtp-relay.sendinblue.com'; // Outgoing SMTP server name.
      $config['email']['smtp_port'] = 587; // The port to connect.
      $config['email']['smtp_timeout'] = 10; // SMTP connection timeout in seconds.
      $config['email']['smtp_secure'] = "tls"; // Enable encryption. Use 'tls' or 'ssl' or 'starttls'
      $config['email']['smtp_auth'] = TRUE; // Whether or not to use SMTP authentication.
      $config['email']['smtp_username'] = "XXXXXXX@XXXXXX.it"; // SMTP username.
      $config['email']['smtp_password'] = "XXXXXXXXXXXXXXX"; // Password for SMTP authentication. 

      However, no emails were sent from my observium, even if alert occurred. And I cannot see any log in /var/log/syslog or mail.log or mail.err

      Could you help me to fix it and to see if postfix is trying to send messages or not?

      Thanks in advance

      D.

      Attachments

        Activity

          People

            adama Adam Armstrong
            digitalchild Daniele Municchi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: