[PR #52] [MERGED] add: basic smtpd configuration options #89

Closed
opened 2026-02-26 18:33:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/decke/smtprelay/pull/52
Author: @Coronon
Created: 1/10/2022
Status: Merged
Merged: 1/11/2022
Merged by: @decke

Base: masterHead: master


📝 Commits (1)

  • 016ef76 add: basic smtpd configuration options

📊 Changes

3 files changed (+82 additions, -1 deletions)

View changed files

📝 config.go (+48 -0)
📝 main.go (+6 -0)
📝 smtprelay.ini (+28 -1)

📄 Description

This adds the basic configuration options ReadTimeout, WriteTimeout, DataTimeout, MaxConnections, MaxMessageSize, and MaxRecipients, which are exposed by smtpd. Closes #37.

As this is my first commit ever in go, please let me know if I could improve on anything :)

Thanks for this great little piece of software!


🔄 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/decke/smtprelay/pull/52 **Author:** [@Coronon](https://github.com/Coronon) **Created:** 1/10/2022 **Status:** ✅ Merged **Merged:** 1/11/2022 **Merged by:** [@decke](https://github.com/decke) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`016ef76`](https://github.com/decke/smtprelay/commit/016ef762fba095edf6c565b913a05c87768066d4) add: basic smtpd configuration options ### 📊 Changes **3 files changed** (+82 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `config.go` (+48 -0) 📝 `main.go` (+6 -0) 📝 `smtprelay.ini` (+28 -1) </details> ### 📄 Description This adds the basic configuration options `ReadTimeout`, `WriteTimeout`, `DataTimeout`, `MaxConnections`, `MaxMessageSize`, and `MaxRecipients`, which are exposed by [smtpd](https://github.com/chrj/smtpd/blob/166abaf187f20fff6fab584a577ac66dc4b667f2/smtpd.go#L18). Closes #37. As this is my first commit ever in go, please let me know if I could improve on anything :) Thanks for this great little piece of software! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:33:18 +03:00
Sign in to join this conversation.
No labels
bug
pull-request
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/smtprelay#89
No description provided.