timwaters / mapwarper

free open source public map georeferencer, georectifier and warper
http://mapwarper.net
MIT License
196 stars 80 forks source link

Vagrant provision update: add `sendmail` and configure for mailing #103

Closed kamataryo closed 7 years ago

kamataryo commented 7 years ago

I wanted for the Mapwarper instance on Vagrant to send emails but not sent. Rails console described absence of package sendmail.

Devise::Mailer#confirmation_instructions: processed outbound mail in 742.5ms
sh: 1: /usr/sbin/sendmail: not found

This PR contains a few points on Vagrant machine provisioning for mail sending debugging.

I am sorry that the trailing space fixations make unclear which lines were essentially fixed. The lines are below.

timwaters commented 7 years ago

maybe if you could redo this with just the two files that would be great, also I don't think we should change the development environment as by default it shouldn't raise mailing errors in dev mode.

Developers can look in the log to see the content of emails.

kamataryo commented 7 years ago

Thank you for always commenting! I understood that and reverted the development environment to default.

kamataryo commented 7 years ago

This pull request now become legacy.