Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make symlink detection more specific to contain "sendmail" in the name #391

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

fasterit
Copy link
Contributor

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

@axllent
Copy link
Owner

axllent commented Nov 22, 2024

Thanks for this. I'm a little concerned that some existing implementations may have "sendmail" symlinks to the Mailpit binary which may not have "sendmail" in the name, however I think your point makes sense. All the official instructions that describe using a symlink state to call it sendmail anyway, so I'm going to merge this in. Thanks for you contribution!

@axllent axllent merged commit 5666462 into axllent:develop Nov 22, 2024
@axllent
Copy link
Owner

axllent commented Nov 26, 2024

This has been released now in v1.21.5

tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Nov 27, 2024
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [axllent/mailpit](https://github.com/axllent/mailpit) | patch | `v1.21.4` -> `v1.21.5` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>axllent/mailpit (axllent/mailpit)</summary>

### [`v1.21.5`](https://github.com/axllent/mailpit/blob/HEAD/CHANGELOG.md#v1215)

[Compare Source](axllent/mailpit@v1.21.4...v1.21.5)

##### Chore

-   Update caniemail database
-   Update node dependencies
-   Update Go dependencies
-   Make symlink detection more specific to contain "sendmail" in the name ([#&#8203;391](axllent/mailpit#391))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants