mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-18 03:21:36 +02:00
Don't send ooo messages to noreply@
This commit is contained in:
parent
9053b34bf2
commit
cab27f77c1
@ -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