Skip to content

smtp_proxy doesn't handle emails when backend is unavailable #3023

@kayrus

Description

@kayrus

Describe the bug

When backend is unavailable, haraka crashes.

Expected behavior

Haraka must successfully acknowledge the email and retry to deliver it later.

Observed behavior

Haraka crashes: https://gist.github.com/kayrus/728a7b121a72902cff0b644e869d57d7

Steps To Reproduce

Configure haraka to use smtp_proxy with a hostname, which is not available due to temp network issues.
Try to send an email.

System Info:

Haraka Haraka.js — Version: 2.8.28
Node v10.24.1
OS Linux kay-hp 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
openssl OpenSSL 1.1.1f 31 Mar 2020

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions