Apply a signature to every mail sent from Nethserver

There’s a new version:

It’s important to remove the old template-custom that are present in previous versions.

https://drive.google.com/uc?export=download&id=13pNUfqY75aiEBf4XTd4KHgAupgUb-Z16

For the installation:

cd /

tar xvjf /path/where/install/package/is/copied.tar.bz2

mkdir -p /var/spool/addsignatures
chmod 750 /var/spool/addsignatures
chown mail:mail /var/spool/addsignatures

signal-event nethserver-mail-server-update

Docs in /var/lib/nethserver/mail-disclaimers/docs

Please note that this script works modifying /etc/postfix/master.cf where amavisd re-inject messages into postfix (30postfix-queue section). When amavisd will be gone (beacuse adoption of rspamd), we will find another point where to apply the filter “-o content_filter=disclaimer:”.

3 Likes