[PR #85] [MERGED] config: update listen regex to allow IPv6 addresses #433

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

📋 Pull Request Information

Original PR: https://github.com/axllent/mailpit/pull/85
Author: @ghost
Created: 4/9/2023
Status: Merged
Merged: 4/12/2023
Merged by: @axllent

Base: developHead: ipv6


📝 Commits (1)

  • c8d8fe9 config: update listen regex to allow IPv6 addresses

📊 Changes

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

View changed files

📝 config/config.go (+3 -3)

📄 Description

The current regex for validating SMTP/HTTP listen addresses doesn't allow for IPv6 addresses.

This tweak changes the default to listen on both v4 and v6 by default, and updates the regexp so that it matches v4 and v6.


🔄 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/85 **Author:** [@ghost](https://github.com/ghost) **Created:** 4/9/2023 **Status:** ✅ Merged **Merged:** 4/12/2023 **Merged by:** [@axllent](https://github.com/axllent) **Base:** `develop` ← **Head:** `ipv6` --- ### 📝 Commits (1) - [`c8d8fe9`](https://github.com/axllent/mailpit/commit/c8d8fe95f5f58f4ab152c884b23b82c89778e74e) config: update listen regex to allow IPv6 addresses ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `config/config.go` (+3 -3) </details> ### 📄 Description The current regex for validating SMTP/HTTP listen addresses doesn't allow for IPv6 addresses. This tweak changes the default to listen on both v4 and v6 by default, and updates the regexp so that it matches v4 and v6. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 14:18:49 +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#433
No description provided.