You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
SMTP is immediately established upon log.Hooks.Add
This causes a timeout and a Failed to fire hook: write tcp 10.1.1.187:59875->167.114.101.158:25: write: broken pipe error when a log.Alert/Fatal is eventually fired because the server won't hold an SMTP connection forever. Timeouts are usually around 30s to prevent DDOS attacks.
If an alert is generated before the SMTP server timeout, then the SMTP connection is not disconnected with a "QUIT". Instead of "QUIT" further "DATA" commands are issued which cause errors.
Because there is never a proper termination/reconnection issue 1 or 2 are fatal and logrus_mail never recovers.
Here's a wireshark capture using the public mail.sharklasers.com email host for testing:
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Having a few issues with this plugin:
This causes a timeout and a
Failed to fire hook: write tcp 10.1.1.187:59875->167.114.101.158:25: write: broken pipe
error when a log.Alert/Fatal is eventually fired because the server won't hold an SMTP connection forever. Timeouts are usually around 30s to prevent DDOS attacks.Here's a wireshark capture using the public mail.sharklasers.com email host for testing:
The text was updated successfully, but these errors were encountered: