mailserver: add VERP marking of outgoing an unmarking of incoming mails

This commit is contained in:
iburadempa 2019-10-11 18:14:38 +02:00
parent 57de8e095f
commit b0bc240ee5
6 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1,10 @@
# THIS FILE IS CONTROLLED BY ANSIBLE - DO NOT CHANGE IN DEPLOYMENT!
# man pgsql_table
user = {{ mailserver.postgresql.username }}
password = {{ mailserver.postgresql.password }}
dbname = {{ mailserver.postgresql.dbname }}
hosts = {{ mailserver.postgresql.host }}
query = select regexp_replace('%s', '\+(.*){{ mailserver.postfix.verp_marker }}-\d+@', '+\1@')