stalwartlabs / mail-server

Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP)
https://stalw.art
5.21k stars 216 forks source link

[bug]: Stalwart fails to send a message to itself #777

Closed etam closed 1 month ago

etam commented 1 month ago

What happened?

There is a message stuck in the queue for 4 days. It's from noreply-spf@mail.etam-software.eu to postmaster@etam-software.eu.

Although if I send a normal message from a normal user account to itself, it works correctly.

How can we reproduce the problem?

I don't know.

Version

v0.9.x

What database are you using?

RocksDB

What blob storage are you using?

RocksDB

Where is your directory located?

Internal

What operating system are you using?

Docker (but with "network_mode: host")

Relevant log output

2024-09-20T10:38:44Z INFO DSN permanent failure notification (delivery.dsn-perm-fail) queueId = 197417664021987369, from = "noreply-spf@mail.etam-software.eu", to = ["postmaster@etam-software.eu"], size = 2238, total = 1, to = "postmaster@etam-software.eu", hostname = "localhost", code = 451, details = "Address lookup failed.", total = 64

Code of Conduct

etam commented 1 month ago

Suddenly the message disappeared from the queue. I have no idea why. Here's the full log: stalwart_log.txt.gz