adapt playbook to more functions of the python tool

This commit is contained in:
2021-12-23 13:43:02 +01:00
parent de2bd45ae4
commit 9c5b6dce9c
6 changed files with 18 additions and 18 deletions

View File

@@ -1,3 +1,7 @@
MESSAGE_FILE = "{{ message_file }}"
"""Configuration file"""
# Username and password for logging in to the site
BASIC_AUTH_USERNAME = "{{ auth_user }}"
BASIC_AUTH_PASSWORD = "{{ auth_pass }}"
# List of users. First value is the full name, second the email address
USERS = [{% for user in users %}("{{ user.name }}", "{{ user.email }}"),{% endfor %}]

View File

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