Changes for live demo

This commit is contained in:
Peter Eckersley 2014-06-16 02:46:46 -07:00
parent 02abaf57bd
commit 9da4f93ae5
3 changed files with 4 additions and 4 deletions

1
Vagrantfile vendored
View file

@ -16,6 +16,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
valid.vm.hostname = "valid-example-recipient.com"
end
config.vm.synced_folder "vagrant-shared", "/vagrant"
config.vm.synced_folder "vagrant-shared/starttls-everywhere", "/vagrant/starttls-everywhere"
config.vm.provision :shell, path: "vagrant-bootstrap.sh"
config.vm.provider "virtualbox" do |vb|

View file

@ -1,7 +1,6 @@
{
"tls-policies": {
"*.valid-example-recipient.com": {
"min-tls-version": "TLSv1.1",
"force-tls" : true
},
"*.mx.aol.com": {

View file

@ -23,9 +23,9 @@ if [ "`hostname`" = "sender" ]; then
(while sleep 10; do
echo -e 'Subject: hi\n\nhi' | sendmail vagrant@valid-example-recipient.com
done) &
ln -sf "/vagrant/postfix-config-sender-tls_policy.cf" /etc/postfix/tls_policy
#ln -sf "/vagrant/postfix-config-sender-tls_policy.cf" /etc/postfix/tls_policy
fi
ln -sf "/vagrant/postfix-config-`hostname`.cf" /etc/postfix/main.cf
ln -sf "/vagrant/certificates" /etc/certificates
#ln -sf "/vagrant/postfix-config-`hostname`.cf" /etc/postfix/main.cf
#ln -sf "/vagrant/certificates" /etc/certificates
postfix reload