1
0
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:
Florent Daigniere 2023-05-16 10:29:39 +02:00
parent 9053b34bf2
commit cab27f77c1
2 changed files with 4 additions and 1 deletions

View File

@ -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 %}

View File

@ -0,0 +1 @@
Don't send out of office messages to no\-?reply@