create .filter file from template, and make maildrop command in .qmail variable depending on user

This commit is contained in:
2021-12-23 12:04:18 +01:00
parent 61548211ed
commit 002512cf20
5 changed files with 44 additions and 19 deletions

View File

@@ -0,0 +1,5 @@
logfile "$HOME/mailfilter-autoreply-{{ user }}.log"
FROM="{{ name }} <{{ email }}>"
to "| mailbot -T reply -t {{ messagefile }} -d $HOME/autoresponders/autoresponsedb-{{ user }} -N -A 'From: $FROM' /var/qmail/bin/qmail-inject -f ''"