From 900f89c44113804068012022718ac010e8d79023 Mon Sep 17 00:00:00 2001 From: mg Date: Mon, 14 Dec 2020 15:06:04 +0100 Subject: [PATCH] Rolle: Postfix parametrisiert (#2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merge branch 'master' into postfix Housekeeping Testmail nach postfix reload Tag gmail in Playbook angepasst Variable aus defaults in GroupVars Ć¼bertragen Keepass: nutzer_passwort --> gmail_nutzer_passwort Beispiel Kennwort geƤndert postfix_gmail_erlaubte_netzwerke --> gmail_postfix_erlaubte_netzwerke smtp_use_tls --> gmail_smtp_use_tls passwort_gmail --> gmail_nutzer_passwort nutzer_gmail --> gmail_nutzer_gmail smtp_server --> gmail_smtp_server mail_nach_cronjob --> gmail_mail_nach_cronjob Parameter eingebaut Co-authored-by: Michael Grote <38253905+quotengrote@users.noreply.github.com> Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/2 --- group_vars/all.yml | 11 +++++++---- keepass_db.kdbx | Bin 11870 -> 11950 bytes playbooks/service/fileserver.yml | 2 +- roles/mgrote.postfix-gmail/README.md | 9 ++++----- roles/mgrote.postfix-gmail/defaults/main.yml | 7 +++++-- roles/mgrote.postfix-gmail/handlers/main.yml | 1 + roles/mgrote.postfix-gmail/tasks/main.yml | 4 ++-- roles/mgrote.postfix-gmail/templates/main.cf | 6 +++--- .../templates/sasl_passwd | 3 +-- 9 files changed, 24 insertions(+), 19 deletions(-) diff --git a/group_vars/all.yml b/group_vars/all.yml index 522c8805..9c53e8d1 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -1,10 +1,13 @@ --- ### mgrote.postfix-gmail empfaenger_mail: michael.grote@posteo.de - nutzer_gmail: michael.grote@gmail.com - passwort_gmail: "{{ lookup('keepass', 'passwort_gmail', 'password') }}" - postfix_gmail_erlaubte_netzwerke: "127.0.0.0/8 192.168.2.0/24" - mail_nach_cronjob: false + gmail_nutzer_gmail: michael.grote@gmail.com + gmail_nutzer_passwort: "{{ lookup('keepass', 'gmail_nutzer_passwort', 'password') }}" + gmail_postfix_erlaubte_netzwerke: "127.0.0.0/8 192.168.2.0/24" + gmail_mail_nach_cronjob: false + gmail_smtp_server: smtp.gmail.com + gmail_smtp_server_port: 587 + gmail_smtp_use_tls: yes ### mgrote.set_apt_sources acng_server: acng.grote.lan acng_server_port: 9999 diff --git a/keepass_db.kdbx b/keepass_db.kdbx index 639d05491edc0b0a027587deaba9214b5441f4d7..13f0bc338147658bd224182b0e59885464d7798d 100644 GIT binary patch literal 11950 zcmV;fE>Y0~*`k_f`%AR}00RI55CAd3^5(yBLr}h01tDtuTK@wC0096100bZaYWUf5 zC{z{P`@qj72t$Y45!dGilad)5x^yY!`_6v11t0+JvadszV~-lP3^a+nl9j%Qg?D=m zt%uuB(`al?^{s zF!9X>N24u{)hg+T@MUyt4bQG^A$z4VW$3^O5v}%!+$$cM{qK`h;uR(-iGaIFJ0x3? zOeYMT+QwrS#zqXk!cugZLGT>X>iB2n_lS*U+9$z$T_&U@>K`rUYFs%#0W|-pYC7<8 zS1bT$M;1K&CBiYsv}7k2Z|bnM`<7$fAZ+o0RNZ>rRV0mPavqGM^Z!+!VXBl`BoaIL za2shv6?zHuwNQN?=Y(5i5zP}BgHiksCzd5P%we5LklJRqZmW>EUd^Y>Y7;<~V04n- z`J!B)_licx2q3Q-OC~tOI5uwlvCt7AAD49(hckOClDtaMMbgD%>O!bS8Q%v=aomW` zTUI&ewP)Q-&q{S4x1Mu1BmMjl; z1q^DM?5x5Uwr7K1h0OhthnhJ}P?aI6VvYI=W?l^^ByUI#zalpzuJ6%J8vlpXJnGZQ zF~@nU$GVV3*j9LB&@%Hec`dZLg%!zbf6FD#%c()-2Gh0e4WE#XWZae8hU=!%^~D>C zVU;s10-<F6!=7}o79AUZUD!MC>|xnWR#cPVuXJk zDt9azWoc+S!^!-Z=o4a#>~;XB{$hPh0RjE)1$fU z_{Fv6_(lr@VrxDL0Jgc#6_;9@l|c*Opj0SKXo1F@P0Ll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`7z*QoOqpZLar*%b~w zo$bDm%>jAV`>hp&z)b$+4plXk9l~SCuF(uh1dZBDvp4>EU`^;@1_;prkBg0WWU$~oSwe+j}a!8+^I^zXSB5$Kkz($qPG!#(GrSKA}`IwCm zV}6Yffe;vi-Id+qvwvJl}Mg}17Gh3f%J80CrzFvZFsMEDsRS%d2SHCcUMCR;~ z?6!32r)uZZg+|7KE1OviO7DIqqW#-cw~_o%C3LNvi0?R&C0zb>CyC+r*EEs)KDF`p zmX=8eaAm%btQE|cfxTvbYk5y)QCbsbwqoHes?#{O#&#N1gN5fWBWPBIw8xlRm}=Si zxa!uN7Qg7oLy=OWH735)_XnjblJclmpNc_glc#|ksZ8Hsv!7X$kzw)MTi$D1Rg)X2 zX(k9HrCgpi$}Y$%-RB@I+O1C@wA_eR?-@&BzT3ZQb(-wZ<7*>jnR=D+CfvBluv$wT ze=~Ek6IX(+3qSt}Ls2_*zQfXUeFScnfaJzodFIqMDNk1CGQ@7GV7!JK{s$FLMr>kr z_wP>8v8-6-(4LwY*yAR7#(J>glpMnyuTtU(ge}G75|7g*Nw()O7&&;1xG2;E$1ko2 z2!BojbfsrfnBBoZTH>@?+Cm$D_~N<#fB!u=&^Zk}A`E^_`#n>n!Kmany znV}?}n^I|q#7&F8S?UKVbxQ~`YH1r;uIv@g0mMtWL#}VB5y|6Un>ODjO^e-sDw=KO zU&gsK5>Y;edVoQA|8DHpP*$SibxBptL495u@2Wk%o{^s2-#o7# zv6;7X^;A$xQAuuO^2%!!GZvGHXNAtg7{f7hM1(#wf+$59UvLMo97MR%WJf}86Ckr= z{yVSRuMgvKGD!PohOX2H1teuS+KynyygB_KzyOL$R;x4evVCcsp(Dj;@l< diff --git a/playbooks/service/fileserver.yml b/playbooks/service/fileserver.yml index 042376b8..a57ab311 100644 --- a/playbooks/service/fileserver.yml +++ b/playbooks/service/fileserver.yml @@ -14,5 +14,5 @@ --- - hosts: storage roles: - - { role: mgrote.postfix-gmail, tags: "postfix-gmail" } + - { role: mgrote.postfix-gmail, tags: "gmail" } - { role: mgrote.fileserver_smb, tags: "fileserver_smb" } diff --git a/roles/mgrote.postfix-gmail/README.md b/roles/mgrote.postfix-gmail/README.md index cc3776b8..d41509ea 100644 --- a/roles/mgrote.postfix-gmail/README.md +++ b/roles/mgrote.postfix-gmail/README.md @@ -6,17 +6,16 @@ Installiert und konfiguriert postfix fuer den GMail. ### Funktioniert auf - [x] Ubuntu (>=18.04) - [x] Debian - - [x] ProxMox 6.1 ### Variablen + Defaults ##### Wer soll die Mails bekommen. empfaenger_mail: michael.grote@posteo.de ##### Nutzer fuer GMail -nutzer_gmail: michael.grote@gmail.com +gmail_nutzer_gmail: michael.grote@gmail.com ##### Passwort fuer GMail -passwort_gmail: FKXaOMOPv9bF5kHC +gmail_nutzer_passwort: FKXaOXXXXXX5kHC ##### Soll nach Aufuehrung eines cronjobs eine Mail versendet werden? -mail_nach_cronjob: false +gmail_mail_nach_cronjob: false ##### Netzwerke aus denen postfix Mails annimmt -postfix_gmail_erlaubte_netzwerke: "127.0.0.0/8 192.168.2.0/24" +gmail_postfix_erlaubte_netzwerke: "127.0.0.0/8 192.168.2.0/24" diff --git a/roles/mgrote.postfix-gmail/defaults/main.yml b/roles/mgrote.postfix-gmail/defaults/main.yml index c38ec366..9c84dec8 100644 --- a/roles/mgrote.postfix-gmail/defaults/main.yml +++ b/roles/mgrote.postfix-gmail/defaults/main.yml @@ -1,3 +1,6 @@ --- - mail_nach_cronjob: false - postfix_gmail_erlaubte_netzwerke: "127.0.0.0/8 192.168.2.0/24" + gmail_mail_nach_cronjob: false + gmail_postfix_erlaubte_netzwerke: "127.0.0.0/8 192.168.2.0/24" + gmail_smtp_server: smtp.gmail.com + gmail_smtp_server_port: 587 + gmail_smtp_use_tls: yes diff --git a/roles/mgrote.postfix-gmail/handlers/main.yml b/roles/mgrote.postfix-gmail/handlers/main.yml index 30f5a221..a83d51b5 100644 --- a/roles/mgrote.postfix-gmail/handlers/main.yml +++ b/roles/mgrote.postfix-gmail/handlers/main.yml @@ -8,6 +8,7 @@ name: postfix enabled: yes state: restarted + notify: postfix_testmail - name: postfix_testmail shell: echo "postfix ist eingerichtet" | mail -s "{{ ansible_hostname }} - postfix" {{ empfaenger_mail }} diff --git a/roles/mgrote.postfix-gmail/tasks/main.yml b/roles/mgrote.postfix-gmail/tasks/main.yml index 7c28308e..c08ac580 100644 --- a/roles/mgrote.postfix-gmail/tasks/main.yml +++ b/roles/mgrote.postfix-gmail/tasks/main.yml @@ -30,7 +30,7 @@ - name: Mail Cronjob - Anlegen become: yes - when: mail_nach_cronjob # ohne parameter wird auf true geprueft https://www.buildahomelab.com/2018/11/12/using-ansible-when-statements/ + when: gmail_mail_nach_cronjob # ohne parameter wird auf true geprueft https://www.buildahomelab.com/2018/11/12/using-ansible-when-statements/ ansible.builtin.cron: name: MAILTO env: yes @@ -40,7 +40,7 @@ - name: Mail Cronjob - Entfernen become: yes - when: not mail_nach_cronjob + when: not gmail_mail_nach_cronjob ansible.builtin.cron: name: MAILTO env: yes diff --git a/roles/mgrote.postfix-gmail/templates/main.cf b/roles/mgrote.postfix-gmail/templates/main.cf index 5eb93290..c8da501f 100644 --- a/roles/mgrote.postfix-gmail/templates/main.cf +++ b/roles/mgrote.postfix-gmail/templates/main.cf @@ -1,5 +1,5 @@ -relayhost = [smtp.gmail.com]:587 -smtp_use_tls = yes +relayhost = [{{ gmail_smtp_server }}]:{{ gmail_smtp_server_port }} +smtp_use_tls = {{ gmail_smtp_use_tls }} smtp_sasl_auth_enable = yes smtp_sasl_security_options = smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd @@ -8,6 +8,6 @@ smtp_tls_session_cache_timeout = 3600s inet_protocols = ipv4 append_dot_mydomain = no -mynetworks = {{ postfix_gmail_erlaubte_netzwerke }} +mynetworks = {{ gmail_postfix_erlaubte_netzwerke }} smtpd_relay_restrictions = permit_mynetworks diff --git a/roles/mgrote.postfix-gmail/templates/sasl_passwd b/roles/mgrote.postfix-gmail/templates/sasl_passwd index 35980b94..9a52ffe5 100644 --- a/roles/mgrote.postfix-gmail/templates/sasl_passwd +++ b/roles/mgrote.postfix-gmail/templates/sasl_passwd @@ -1,2 +1 @@ -smtp.gmail.com {{ nutzer_gmail }}:{{ passwort_gmail }} - +{{ gmail_smtp_server }} {{ gmail_nutzer_gmail }}:{{ gmail_nutzer_passwort }}