[PR #405] [CLOSED] WIP: Answering with SMTP error code, for testing #545

Closed
opened 2026-03-15 14:25:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/axllent/mailpit/pull/405
Author: @ThomasLandauer
Created: 12/12/2024
Status: Closed

Base: developHead: patch-1


📝 Commits (1)

  • 93109de WIP: Answering with SMTP error code, for testing

📊 Changes

1 file changed (+8 additions, -0 deletions)

View changed files

📝 server/smtpd/lib.go (+8 -0)

📄 Description

Closes https://github.com/axllent/mailpit/issues/402

My knowledge of Go is (in your syntax): nil
But I'm sure you get the idea :-)

Based on your comment at https://github.com/axllent/mailpit/issues/402#issuecomment-2537240890

the email would need to have already been processed in order to process the addresses

I'm guessing that maybe you aren't using the address given at MAIL FROM at all. If this is indeed the case, then it certainly would be easy to capture the contents of your mailFromREs first parentheses into some variable.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/axllent/mailpit/pull/405 **Author:** [@ThomasLandauer](https://github.com/ThomasLandauer) **Created:** 12/12/2024 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`93109de`](https://github.com/axllent/mailpit/commit/93109dee59c2ca9d53b51ce69570a2825e7e2ef5) WIP: Answering with SMTP error code, for testing ### 📊 Changes **1 file changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/smtpd/lib.go` (+8 -0) </details> ### 📄 Description Closes https://github.com/axllent/mailpit/issues/402 My knowledge of Go is (in your syntax): `nil` But I'm sure you get the idea :-) Based on your comment at https://github.com/axllent/mailpit/issues/402#issuecomment-2537240890 > the email would need to have already been processed in order to process the addresses I'm *guessing* that maybe you aren't using the address given at `MAIL FROM` at all. If this is indeed the case, then it certainly would be easy to capture the contents of your `mailFromRE`s first parentheses into some variable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 14:25:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#545
No description provided.