[PR #2731] [MERGED] Add support for extra sendmail arguments #16561

Closed
opened 2025-11-02 12:13:28 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2731
Author: @cez81
Created: 10/17/2017
Status: Merged
Merged: 10/25/2017
Merged by: @lafriks

Base: masterHead: sendmail_options


📝 Commits (6)

  • 731b507 Add support for extra sendmail arguments
  • 376465d Sendmail args to exec.command should be a list
  • 1eac726 Add go-shellquote package
  • 2cbac8c Use go-shellquote lib for parsing Sendmail args
  • e9e1d87 Only parse if sendmail is configured
  • bc96313 Merge branch 'master' into sendmail_options

📊 Changes

9 files changed (+322 additions, -0 deletions)

View changed files

📝 conf/app.ini (+2 -0)
📝 modules/mailer/mailer.go (+1 -0)
📝 modules/setting/setting.go (+9 -0)
vendor/github.com/kballard/go-shellquote/LICENSE (+19 -0)
vendor/github.com/kballard/go-shellquote/README (+36 -0)
vendor/github.com/kballard/go-shellquote/doc.go (+3 -0)
vendor/github.com/kballard/go-shellquote/quote.go (+102 -0)
vendor/github.com/kballard/go-shellquote/unquote.go (+144 -0)
📝 vendor/vendor.json (+6 -0)

📄 Description

As title, fix #2685

Extra arguments are added after the standard arguments ("-F from -i")


🔄 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/go-gitea/gitea/pull/2731 **Author:** [@cez81](https://github.com/cez81) **Created:** 10/17/2017 **Status:** ✅ Merged **Merged:** 10/25/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `sendmail_options` --- ### 📝 Commits (6) - [`731b507`](https://github.com/go-gitea/gitea/commit/731b5077d285ffdc7f67a534896aa5c5cf7f7481) Add support for extra sendmail arguments - [`376465d`](https://github.com/go-gitea/gitea/commit/376465d26cac108cfe9aad9e411558e003e02f6a) Sendmail args to exec.command should be a list - [`1eac726`](https://github.com/go-gitea/gitea/commit/1eac7265261b2ee66dad386971c0ed5b7d4fb03e) Add go-shellquote package - [`2cbac8c`](https://github.com/go-gitea/gitea/commit/2cbac8cdb750b3d91ac8fcb2488ef748c4115c3f) Use go-shellquote lib for parsing Sendmail args - [`e9e1d87`](https://github.com/go-gitea/gitea/commit/e9e1d87de1b2ac42590603a9780b70decd327ed6) Only parse if sendmail is configured - [`bc96313`](https://github.com/go-gitea/gitea/commit/bc9631319a3076fdb9df4619f7b680886d335520) Merge branch 'master' into sendmail_options ### 📊 Changes **9 files changed** (+322 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `conf/app.ini` (+2 -0) 📝 `modules/mailer/mailer.go` (+1 -0) 📝 `modules/setting/setting.go` (+9 -0) ➕ `vendor/github.com/kballard/go-shellquote/LICENSE` (+19 -0) ➕ `vendor/github.com/kballard/go-shellquote/README` (+36 -0) ➕ `vendor/github.com/kballard/go-shellquote/doc.go` (+3 -0) ➕ `vendor/github.com/kballard/go-shellquote/quote.go` (+102 -0) ➕ `vendor/github.com/kballard/go-shellquote/unquote.go` (+144 -0) 📝 `vendor/vendor.json` (+6 -0) </details> ### 📄 Description As title, fix #2685 Extra arguments are added after the standard arguments ("-F from -i") --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:13:28 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16561