mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-18 03:21:36 +02:00
Merge #2823
2823: Don't send ooo messages to noreply@ r=mergify[bot] a=nextgens ## What type of PR? bug-fix ## What does this PR do? Don't send ooo messages to noreply@ ### Related issue(s) ## Prerequisites Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [ ] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
This commit is contained in:
commit
2d09f0d538
@ -35,5 +35,7 @@ if exists "X-Virus" {
|
||||
}
|
||||
|
||||
{% if user.reply_active %}
|
||||
vacation :days 1 {% if user.displayed_name != "" %}:from "{{ user.displayed_name }} <{{ user.email }}>"{% endif %} :subject "{{ user.reply_subject }}" "{{ user.reply_body }}";
|
||||
if not address :localpart :contains ["From","Reply-To"] ["noreply","no-reply"]{
|
||||
vacation :days 1 {% if user.displayed_name != "" %}:from "{{ user.displayed_name }} <{{ user.email }}>"{% endif %} :subject "{{ user.reply_subject }}" "{{ user.reply_body }}";
|
||||
}
|
||||
{% endif %}
|
||||
|
1
towncrier/newsfragments/2823.bugfix
Normal file
1
towncrier/newsfragments/2823.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Don't send out of office messages to no\-?reply@
|
Loading…
x
Reference in New Issue
Block a user