foxcpp / foxcpp/maddy

Feature request: additional infos in "queue: delivered" logging

Ouverte
#676 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
new feature
Langage dominant
Go
Étoiles
6.1k
Forks
327
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hello,

I'm using maddy since a few days, I read about it on the [healthchecks.io blog re it's email setup](https://blog.healthchecks.io/2023/08/notes-on-self-hosted-transactional-email/), I like it.

Thank you for this!

# Use case

_What problem you are trying to solve?_

I'd like the possibility to "proof" that a remote MX has accepted the email, by logging body message ID, hostname as well as exact response.

_Note alternatives you considered and why they are not useful._

Enabling debug mode allows some correlation between a hostname and the mail delivery, however it is missing body message ID and MX response, and the hostname is only a guess based on timestamp correlation.

# Your idea for a solution

_How your solution would work in general?_

To the "queue: delivered" log I would suggest to add:

- hostname (example: `example-org.mail.protection.outlook.com`)
- body message id (example: `s0dhgv0shgherhghwsgg@thunderbird.local`)
- MX answer (example: `250 OK id=w8eghw80ehg-BW`)

Something like:

queue: delivered {"attempt":1,"msg_id":"a70cc095","body_msg_id":"s0dhgv0shgherhghwsgg@thunderbird.local","hostname":"example-org.mail.protection.outlook.com","answer":"250 OK id=w8eghw80ehg-BW","rcpt":"john@example.org"}

- [ ] I'm willing to help with the implementation
- [X] I'm willing to test with the implementation

Sorry, I'm not a go developer.

Best regards,

Lukas

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par suivre le point d’entrée de journalisation `queue: delivered` et le chemin de livraison qui contient le nom d’hôte distant et la réponse MX. Confirmez comment sont représentés l’ID du message du corps et la réponse de livraison, puis assurez-vous que le journal inclut les champs demandés et correspond à l’exemple proposé.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
go
Domaine
backend
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
42/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.