Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiokleis/postfix_conf
A ansible role to configure and enable sasl in postfix and gmail relay
https://github.com/fabiokleis/postfix_conf
ansible hacktoberfest molecule playbook postfix sasl smtp-gmail smtp-server
Last synced: about 20 hours ago
JSON representation
A ansible role to configure and enable sasl in postfix and gmail relay
- Host: GitHub
- URL: https://github.com/fabiokleis/postfix_conf
- Owner: Fabiokleis
- License: bsd-3-clause
- Created: 2022-06-20T23:33:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-27T20:20:21.000Z (almost 2 years ago)
- Last Synced: 2024-12-20T13:08:13.945Z (3 days ago)
- Topics: ansible, hacktoberfest, molecule, playbook, postfix, sasl, smtp-gmail, smtp-server
- Language: Jinja
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Run
---
1. crie o arquivo secrets.yml e depois encrypte com ansible-vault encrypt secrets.yml```
user: "[email protected]"
password: "senha gerada nas configuracoes de seguranca do gmail"
mailtester_name: "nome do auth user que será criado"
mailtester_password: "crie uma hash com mkpasswd --method=sha-512 e copie aqui"
test_password: "senha criada no mkpasswd para testes" # crie caso teste com molecule
```2. Apply
```
ansible-playbook -i inventory.yml postfix_example/deploy.yml -e @secrets.yml --vault-pass-file=~/.vault
```Test
---```
swaks --server node01.sysadmin.example -tls -p 25 --to [email protected] --auth plain --auth-user mailtester --auth-password 123
```License
-------BSD
Author Information
------------------Fabio Kleis