[PR #391] [MERGED] Make symlink detection more specific to contain "sendmail" in the name #538

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

📋 Pull Request Information

Original PR: https://github.com/axllent/mailpit/pull/391
Author: @fasterit
Created: 11/21/2024
Status: Merged
Merged: 11/22/2024
Merged by: @axllent

Base: developHead: develop


📝 Commits (1)

  • e8da9c8 Make symlink detection more specific to contain "sendmail" in the name

📊 Changes

1 file changed (+3 additions, -2 deletions)

View changed files

📝 main.go (+3 -2)

📄 Description

I symlinked mailpit_v1.21.4 -> mailpit as I tend to do in production.
That makes mailpit think it has been run as a 'sendmail` replacement. Did not go so well running it as a daemon...

This PR makes the symlink detection more strict. Hope this save time for others 😂

/DLange


🔄 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/391 **Author:** [@fasterit](https://github.com/fasterit) **Created:** 11/21/2024 **Status:** ✅ Merged **Merged:** 11/22/2024 **Merged by:** [@axllent](https://github.com/axllent) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (1) - [`e8da9c8`](https://github.com/axllent/mailpit/commit/e8da9c8b761915803ab09637d821ea1c17aaf68a) Make symlink detection more specific to contain "sendmail" in the name ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `main.go` (+3 -2) </details> ### 📄 Description I symlinked `mailpit_v1.21.4` -> `mailpit` as I tend to do in production. That makes `mailpit` think it has been run as a 'sendmail` replacement. Did not go so well running it as a daemon... This PR makes the symlink detection more strict. Hope this save time for others :joy: /DLange --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 14:24:55 +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#538
No description provided.