Compare commits
1 Commits
ed61026b45
...
a987839c23
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a987839c23 |
@@ -1,5 +1,8 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
web_hostname:
|
||||||
|
- host: mail-relay.mateu.be
|
||||||
|
|
||||||
allowed_smtp_ips: ["82.66.135.228", "80.67.179.200"]
|
allowed_smtp_ips: ["82.66.135.228", "80.67.179.200"]
|
||||||
|
|
||||||
global_smtp_relay_allowed_ips: "{{ allowed_smtp_ips }}"
|
global_smtp_relay_allowed_ips: "{{ allowed_smtp_ips }}"
|
||||||
|
@@ -26,6 +26,10 @@ physicalservers:
|
|||||||
frederica:
|
frederica:
|
||||||
serenor:
|
serenor:
|
||||||
|
|
||||||
|
webservers:
|
||||||
|
hosts:
|
||||||
|
ks3370405:
|
||||||
|
|
||||||
hypervisors:
|
hypervisors:
|
||||||
children:
|
children:
|
||||||
proxmox_nodes:
|
proxmox_nodes:
|
||||||
@@ -65,6 +69,7 @@ resticservers:
|
|||||||
|
|
||||||
disabled_loadbalanced_webservers:
|
disabled_loadbalanced_webservers:
|
||||||
hosts:
|
hosts:
|
||||||
|
ks3370405:
|
||||||
|
|
||||||
disabled_system:
|
disabled_system:
|
||||||
hosts:
|
hosts:
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Restart postfix
|
- name: Restart postfix
|
||||||
ansible.bultin.service:
|
ansible.builtin.service:
|
||||||
name: postfix
|
name: postfix
|
||||||
state: restarted
|
state: restarted
|
||||||
enable: true
|
enabled: true
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
- name: Put configuration
|
- name: Put configuration
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: main.cf.j2
|
src: main.cf.j2
|
||||||
dest: /etc/postfix/main.cf.j2
|
dest: /etc/postfix/main.cf
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: "0o640"
|
mode: "0o640"
|
||||||
|
@@ -1,30 +1,16 @@
|
|||||||
compatibility_level = 2
|
compatibility_level = 2
|
||||||
queue_directory = /var/spool/postfix
|
|
||||||
command_directory = /usr/bin
|
|
||||||
daemon_directory = /usr/lib/postfix/bin
|
|
||||||
data_directory = /var/lib/postfix
|
|
||||||
mail_owner = postfix
|
mail_owner = postfix
|
||||||
myhostname = mail-relay.mateu.be
|
myhostname = mail-relay.mateu.be
|
||||||
myorigin = $myhostname
|
myorigin = $myhostname
|
||||||
mydestination = $myhostname, localhost.$mydomain, localhost
|
mydestination = $myhostname, localhost.$mydomain, localhost
|
||||||
unknown_local_recipient_reject_code = 550
|
unknown_local_recipient_reject_code = 550
|
||||||
mynetworks = 127.0.0.0/8, [::1]/128, 82.66.135.228, 80.67.179.200
|
mynetworks = 127.0.0.0/8, [::1]/128, 82.66.135.228, 80.67.179.200
|
||||||
debugger_command =
|
|
||||||
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
|
||||||
ddd $daemon_directory/$process_name $process_id & sleep 5
|
|
||||||
sendmail_path = /usr/bin/sendmail
|
sendmail_path = /usr/bin/sendmail
|
||||||
newaliases_path = /usr/bin/newaliases
|
newaliases_path = /usr/bin/newaliases
|
||||||
mailq_path = /usr/bin/mailq
|
mailq_path = /usr/bin/mailq
|
||||||
setgid_group = postdrop
|
|
||||||
html_directory = no
|
|
||||||
mailbox_size_limit = 104857600
|
mailbox_size_limit = 104857600
|
||||||
message_size_limit = 104857600
|
message_size_limit = 104857600
|
||||||
manpage_directory = /usr/share/man
|
|
||||||
sample_directory = /etc/postfix
|
|
||||||
readme_directory = /usr/share/doc/postfix
|
|
||||||
inet_protocols = ipv4
|
inet_protocols = ipv4
|
||||||
meta_directory = /etc/postfix
|
|
||||||
shlib_directory = /usr/lib/postfix
|
|
||||||
## Référence de chiffrement TLS
|
## Référence de chiffrement TLS
|
||||||
# serveur SMTP
|
# serveur SMTP
|
||||||
smtpd_tls_cert_file = /etc/x509/mail-relay.mateu.be/fullchain.cer
|
smtpd_tls_cert_file = /etc/x509/mail-relay.mateu.be/fullchain.cer
|
||||||
|
Reference in New Issue
Block a user