adapt playbook to more functions of the python tool
This commit is contained in:
@@ -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 %}]
|
||||
|
||||
@@ -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 ''"
|
||||
Reference in New Issue
Block a user