Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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