-
Email issues
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 anythingI 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