diff options
author | 2024-09-02 01:10:55 +0100 | |
---|---|---|
committer | 2024-09-03 10:43:38 +0100 | |
commit | cc4d92c09bcdb561177a31e1bf7a7534167bc2d6 (patch) | |
tree | 5508b223c9965de2b3acf386ea9adeffb0f0ed63 | |
parent | Add Fredrick API handler script (diff) |
Add transport rules for Fredrick
-rw-r--r-- | ansible/roles/postfix/tasks/main.yml | 3 | ||||
-rw-r--r-- | ansible/roles/postfix/templates/transport.j2 | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/postfix/tasks/main.yml b/ansible/roles/postfix/tasks/main.yml index c71f800..ef83d24 100644 --- a/ansible/roles/postfix/tasks/main.yml +++ b/ansible/roles/postfix/tasks/main.yml @@ -198,6 +198,9 @@ # Service Mail pipes fortune-pipe unix - n n - - pipe flags=Fq user=servicemailer argv=/etc/postfix/service-scripts/fortune-reply.sh + + fredrick-pipe unix - n n - - pipe + flags=Fq user=servicemailer argv=/etc/postfix/service-scripts/fredrick-reply.sh tags: - role::postfix notify: diff --git a/ansible/roles/postfix/templates/transport.j2 b/ansible/roles/postfix/templates/transport.j2 index ff3bd07..623d005 100644 --- a/ansible/roles/postfix/templates/transport.j2 +++ b/ansible/roles/postfix/templates/transport.j2 @@ -3,3 +3,5 @@ # Postfix Mail Transport Map [email protected] fortune-pipe: + [email protected] fredrick-pipe: |