Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • Email issues

    Posted by bryandavis001 on agosto 10, 2020 at 23:26

    I have read every post on this forum and read all the docs about email configurations–and I just can’t get email working.

    I am using an Ubuntu 18.04 server (patched to current) with locally installed postfix.  The server is named NMS (you will see this in the confs attached)

    Here’s what I can confirm:
    –I can send emails via postfix from command line using telnet or mailutils
    –I can NOT get pandora to send anything

    I have pandora fms v7.0NG.743 – Build 200805 – MR1

    What other information can I provide that would be useful? (I will attach conf info shortly)

    Thanks in advance for any help!


    Postfix main.conf:

    #smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    #smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    #smtpd_use_tls=yes
    #smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    #smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.

    smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
    myhostname = nms.*****.com
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = $myhostname, nms.*****.com, localhost.*****.com, localhost
    relayhost = relay.*****.com
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all


    Pandora_server.conf mail section:
    # mta_address: External Mailer (MTA) IP Address to be used by Pandora FMS internal email capabilities
    # If not set, the MTA configuration specified in the Pandora FMS Console will be used.

    mta_address localhost

    # mta_port, this is the mail server port (default 25)

    mta_port 25

    # mta_user MTA User (if needed for auth, FQD or simple user, depending on your server)

    #mta_user [email protected]

    # mta_pass MTA Pass (if needed for auth)

    #mta_pass mypassword

    diego-m replied 4 years, 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • diego-m

    Moderator
    agosto 13, 2020 at 11:35
    500 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Morning,

    Let’s do a couple of checks to see what’s wrong.

    First, I see that Pandora tells you that you have MR1, could you send me a list of everything in “pandora_console”? The MR error is something that is starting to be common and I suspect that it could be a bug that could give problems.

    Second, I recommend you to update Pandora FMS to the last version, at this moment it’s v748. Make sure you don’t just update the console, but also the server and MR.

    Third, send us also a screenshot of the mail configuration you have in the pandora web console, to check that there is no kind of error there.

    Greetings
    Diego