Allow sendmail options in SENDMAIL_PATH #1138

Closed
opened 2025-11-02 03:49:49 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @msebald on GitHub (Oct 10, 2017).

  • Gitea version (or commit ref): 1.2.0+rc3-7-g74399f3
  • Git version: 2.11.0-3~bpo8+1
  • Operating system: Debian Jessie Stable amd64
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

Please allow to set sendmail options like "-t -i -f webmaster@domain.tld" in option SENDMAIL_PATH. The reason is simple: Without options sendmail will use username@mailserver (e.g. git@mail.domain.tld, username = username, Gitea runs on the server) as a Return-Path in the outgoing mail. This can produce various problems.

Originally created by @msebald on GitHub (Oct 10, 2017). - Gitea version (or commit ref): 1.2.0+rc3-7-g74399f3 - Git version: 2.11.0-3~bpo8+1 - Operating system: Debian Jessie Stable amd64 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant ## Description Please allow to set sendmail options like "-t -i -f webmaster@domain.tld" in option SENDMAIL_PATH. The reason is simple: Without options sendmail will use username@mailserver (e.g. git@mail.domain.tld, username = username, Gitea runs on the server) as a Return-Path in the outgoing mail. This can produce various problems.
GiteaMirror added the type/enhancement label 2025-11-02 03:49:49 -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#1138