rfc2047 in autoreply + utf8 headers

This commit is contained in:
Serghey Rodin 2016-11-24 17:07:14 +02:00
commit 6ad6c0dbca
14 changed files with 28 additions and 14 deletions

View file

@ -347,7 +347,8 @@ userautoreply:
driver = autoreply
file = /etc/exim4/domains/$domain/autoreply.${local_part}.msg
from = "${local_part}@${domain}"
subject = "${if def:h_Subject: {Autoreply: ${quote:${escape:$h_Subject:}}} {Autoreply Message}}"
headers = Content-Type: text/plain; charset=utf-8;\nContent-Transfer-Encoding: 8bit
subject = "${if def:h_Subject: {Autoreply: \"${rfc2047:$h_Subject:}\"} {Autoreply Message}}"
to = "${sender_address}"
devnull: