Below is logstash config
email {
to => "to@email"
from => "noreply@fromemail"
subject => "Alert"
body => '%{message}'
port => 25
debug => "true"
address => "emailserverIP"
}
telnet emailserverIP 25
Trying emailserverIP ...
Connected to emailserverIP .
Escape character is '^]'.
EHLO MyHostName
250-REXDB01.domain Hello [MyIP]
250-SIZE
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH NTLM
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250-XRDST
250 XSHADOWREQUEST
I am getting following error.
[ERROR][logstash.outputs.email ][email_alert] Something happen while delivering an email {:exception=>#<EOFError: end of file reached>}