# SMTP אימייל הפסיק לעבוד לפני 10 ימים (curl עובד; לשרת אין SMTPS)

**URL:** <https://meta.discourse.org/t/smtp-email-stopped-working-10-days-ago-curl-works-server-doesnt-have-smtps/258966>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [21 במרץ,‏ 2023,‏ 11:15pm UTC](https://meta.discourse.org/t/smtp-email-stopped-working-10-days-ago-curl-works-server-doesnt-have-smtps/258966 "2023-03-21T23:15:07Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![gi1242](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gi1242](https://meta.discourse.org/u/gi1242)\
**Post date:** [21 במרץ,‏ 2023,‏ 11:15pm UTC](https://meta.discourse.org/t/smtp-email-stopped-working-10-days-ago-curl-works-server-doesnt-have-smtps/258966/1 "2023-03-21T23:15:07Z")

</div>

Hi All,

I’ve had my site running for a few years without issue now. All of a sudden, SMTP simply stopped working. (I made no config changes on host or in the container).

I’m using SMTP (not SMTPS). I entered the discourse container and tested that I could send mails using curl:

```
curl smtp://mail.example.com --mail-from myself@example.com --mail-rcpt receiver@example.com --upload-file email.txt

```

However Discourse doesn’t send any email and the logs simply say

```
Net::ReadTimeout with #<Socket:(closed)>

```

Postfix logs on the host say:

```
connect from unknown[172.17.0.5]
lost connection after CONNECT from unknown[172.17.0.5]
disconnect from unknown[172.17.0.5] commands=0/0

```

Does anyone have any idea what could have changed?

Thanks in advance.

GI

PS: Sorry the first version of this post got truncated by accident and only half the message posted. I just edited it.

---

_[View the full topic](https://meta.discourse.org/t/smtp-email-stopped-working-10-days-ago-curl-works-server-doesnt-have-smtps/258966)._
