From ec72ace5e5c0fcda3d9fbaa6639c511ccce1306c Mon Sep 17 00:00:00 2001 From: Mattia Mascarello Date: Mon, 17 Mar 2025 11:28:10 +0100 Subject: [PATCH] Syslog identifier, remvoed emojiis from message --- config.example.yml | 4 ++-- smtpproxy.service | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.example.yml b/config.example.yml index d91e738..e33c577 100644 --- a/config.example.yml +++ b/config.example.yml @@ -22,11 +22,11 @@ gpg: # optional enabled: true absent_notice: enabled: true # Wether to issue a notice if recipient does not use GPG (PGP) - text: "\n\n⚠️ This email was sent without end-to-end encryption.\n + text: "\n\nNote: This email was sent without end-to-end encryption.\n This mail server supports automatic PGP encryption.\n Consider setting up a PGP key and publishing it to keys.openpgp.org." html: - "

⚠️ This email was sent without end-to-end encryption.
+ "

Note: This email was sent without end-to-end encryption.
This mail server supports automatic PGP encryption.
Consider setting up a PGP key and publishing it to keys.openpgp.org.

" # either text, html or both diff --git a/smtpproxy.service b/smtpproxy.service index 83884c5..55aadc7 100644 --- a/smtpproxy.service +++ b/smtpproxy.service @@ -13,6 +13,7 @@ Environment=PATH=/path/to/smtpproxy/venv/bin:/usr/bin:/bin Environment=VIRTUAL_ENV=/path/to/smtpproxy/venv StandardOutput=journal StandardError=journal +SyslogIdentifier=smtpproxy [Install] WantedBy=multi-user.target