Skip to content

Add email headers to suppress auto replies? #6484

@HenrikBengtsson

Description

@HenrikBengtsson

Disclaimer: I know very little about the email protocol(s) out there.

I've implemented a poor-man's-email-to-Gitea API gateway that works alright. However, we're now getting auto replies (e.g. "I'm on vacation") to Gitea notifications from some users. I started to look into how one could best detect and filter out such auto replies. While doing this, I stumbled upon recommendations (e.g. [0], [1], and [2]) to set the email 'X-Auto-Response-Suppress' header field for outgoing messages that you don't want to be auto-replied to. AFAIU, at least Microsoft clients/servers look at these.

Q1. Is it possible to configure the email header fields for emails that Gitea sends out?

Q2. If not, if doable, may I propose that Gitea adds the X-Auto-Response-Suppress header field?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions