mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
Split postfix configs across the VMs, and start making them do things
This commit is contained in:
parent
7bd06a4d35
commit
30938260d4
6 changed files with 4 additions and 3 deletions
3
Vagrantfile
vendored
3
Vagrantfile
vendored
|
|
@ -10,10 +10,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
config.vm.define "sender" do |sender|
|
||||
sender.vm.network "private_network", ip: "192.168.33.5"
|
||||
sender.vm.hostname = "sender.example.com"
|
||||
config.vm.synced_folder "vm-postfix-config-sender", "/etc/postfix"
|
||||
end
|
||||
config.vm.define "valid" do |valid|
|
||||
valid.vm.network "private_network", ip: "192.168.33.7"
|
||||
valid.vm.hostname = "valid-example-recipient.com"
|
||||
config.vm.synced_folder "vm-postfix-config-valid", "/etc/postfix"
|
||||
end
|
||||
config.vm.provision :shell, path: "vagrant-bootstrap.sh"
|
||||
|
||||
|
|
@ -22,5 +24,4 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
vb.customize ["modifyvm", :id, "--memory", "256"]
|
||||
end
|
||||
|
||||
config.vm.synced_folder "vm-postfix-config", "/etc/postfix"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -39,4 +39,4 @@ recipient_delimiter = +
|
|||
inet_interfaces = all
|
||||
|
||||
#STARTTLS EVERYWHERE MAGIC STARTS HERE
|
||||
smtp_tls_policy_maps = hash:/etc/postfix/tls_policy
|
||||
smtp_tls_policy_maps = texthash:/etc/postfix/tls_policy
|
||||
1
vm-postfix-config-sender/tls_policy
Normal file
1
vm-postfix-config-sender/tls_policy
Normal file
|
|
@ -0,0 +1 @@
|
|||
valid-example-recipient.com encrypt protocols=TLSv1.2
|
||||
|
|
@ -1 +0,0 @@
|
|||
valid-example-recipient.com encrypt
|
||||
Loading…
Reference in a new issue