[Prometheus Alert Manager ] Has any one tried sending mail via smtp.gmail.com:465 in particluar ?

980 views
Skip to first unread message

Praveen Maurya

unread,
Mar 27, 2017, 2:43:50 AM3/27/17
to Prometheus Users
Hi,

I tried the following server configs :-

a)

receivers:
- name: email-me
  email_configs
:
 
- to: *****@gmail.com
   
from: noreply@gmail.com
    smarthost
: smtp.gmail.com:25
    auth_username
: "*****"
    auth_identity
: "*****"
    auth_password
: "****"
#   require_tls: false



b)

receivers:
- name: email-me
  email_configs
:
 
- to: *****@gmail.com
   
from: noreply@gmail.com
    smarthost
: smtp.gmail.com:587
    auth_username
: "*****"
    auth_identity
: "*****"
    auth_password
: "****"
#   require_tls: false


c)

receivers:
- name: email-me
  email_configs
:
 
- to: *****@gmail.com
   
from: noreply@gmail.com
    smarthost
: smtp.gmail.com:465
    auth_username
: "*****"
    auth_identity
: "*****"
    auth_password
: "****"
#   require_tls: false


I also tried smtp.googlemail.com (along with smtp.gamil.com as stated above) for the above cases.


 a) and b) works fine, but c) doesn't seem to work . I get a strange log :-

DEBU[0003] Received alert                                alert=MyAlarm[b54be4b][active] component=dispatcher source=dispatch.go:168
DEBU[0003] flushing [MyAlarm[b54be4b][active]]           aggrGroup=cbf29ce484222325 source=dispatch.go:405
DEBU[0013] Notify attempt 1 failed: EOF                  source=notify.go:546

I tried setting require_tls: false also, but it didn't seem to work.

Maxim Filatov

unread,
Mar 27, 2017, 3:54:45 AM3/27/17
to Prometheus Users, Praveen Maurya

--
Best regards,
Maxim Filatov
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/1c1b0403-e5b9-4c37-85f8-b941976013e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Praveen Maurya

unread,
Mar 27, 2017, 4:28:11 AM3/27/17
to Prometheus Users, maury...@gmail.com
Yes. The post uses 587 port (I want an working example with port 465). Even if you see all my configs, its nearly same as that given in this post.
Reply all
Reply to author
Forward
0 new messages