Email alert not working


(Ayoola Ayooluwa) #1

What more do i need to edit before it works?

#Email transport
transport_email_enabled = true
transport_email_hostname = localhost
transport_email_port = 25
transport_email_use_auth = false
transport_email_use_tls = false
transport_email_use_ssl = false
transport_email_auth_username = you@example.com
transport_email_auth_password = secret
transport_email_subject_prefix = [graylog]
transport_email_from_email = graylog@example.com


(Jochen) #2

Nothing.

If your configuration is correct, the email alarm callback will be able to send out emails.


(Ayoola Ayooluwa) #3

I changed it to the i.p of my smtp server but it didnt work. the shaded portion is the private i.p i.e xx.xx.xx.xx:25


(Jochen) #4

Is the provided SMTP server accessible on that address on port 25/tcp?

What’s the output of the following command on the machine running Graylog (replace xx.xx.xx.xx with the IP address of your SMTP server)?

# echo "QUIT" | nc xx.xx.xx.xx 25

(Ayoola Ayooluwa) #5

Netcat: connection refused.


(Jochen) #6

Cool, now you only have to find out why you can’t access the provided SMTP server from that machine.
But that has nothing to do with Graylog.


(system) #7

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.