Compare commits

..

No commits in common. "3402b2e71c54684824b1d63f17ec844082c18fbe" and "09d1dbb3ef50edcfdac4a8648dd6ba55f3ced470" have entirely different histories.

2 changed files with 8 additions and 8 deletions

2
Vagrantfile vendored
View File

@ -2,7 +2,7 @@
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "debian/buster64"
config.vm.box = "debian/stretch64"
config.vm.synced_folder "./", "/vagrant", type: "rsync"

View File

@ -16,14 +16,14 @@ if [[ "$1" != "--LETS-REALLY-DO-THIS-AND-SEND-MAIL" ]]; then
fi
# Simulate generic emails
echo "(1) This is a very plain and simple email for testing purposes." | mail -s "First testmail" -r localsender1@example.local first-mail@example.local
echo "(2) This is a very plain and simple email for testing purposes." | mail -s "Second testmail" -r localsender2@example.local second-mail@example.local
echo "(3) This is a very plain and simple email for testing purposes." | mail -s "Third testmail" -r localsender3@example.local third-mail@example.local
echo "(4) This is a very plain and simple email for testing purposes." | mail -s "Fourth testmail" -r localsender4@example.local fourth-mail@example.local
echo "(5) This is a very plain and simple email for testing purposes." | mail -s "Fifth testmail" -r localsender5@example.local fifth-mail@example.local
echo "(1) This is a very plain and simple email for testing purposes." | mail -s "First testmail" -r localsender1@example.com first-mail@example.com
echo "(2) This is a very plain and simple email for testing purposes." | mail -s "Second testmail" -r localsender2@example.com second-mail@example.com
echo "(3) This is a very plain and simple email for testing purposes." | mail -s "Third testmail" -r localsender3@example.com third-mail@example.com
echo "(4) This is a very plain and simple email for testing purposes." | mail -s "Fourth testmail" -r localsender4@example.com fourth-mail@example.com
echo "(5) This is a very plain and simple email for testing purposes." | mail -s "Fifth testmail" -r localsender5@example.com fifth-mail@example.com
# Simulate emails with attachments
echo "Let's try an email with an attachment" | mail -s "This email contains an attachment" -r attachments@example.local -A /vagrant/main.go files@example.local
echo "Let's try an email with an attachment" | mail -s "This email contains an attachment" -r attachments@example.com -A /vagrant/main.go files@example.com
# Simulate emails for multiple recipients
echo "I send to multiple people at once" | mail -s 'Hey all!' -r 'multirecip@example.local' one@example.local two@example.local three@example.local four@example.local five@example.local
echo "I send to multiple people at once" | mail -s 'Hey all!' -r 'multirecip@example.com' one@example.com two@example.com three@example.com four@example.com five@example.com