If .DS_Store was never added to your git repository, simply add it to your .gitignore file.
If you don't have one, create a file called
In your the root directory of your app and simply write
This should help you get Sendmail installed with basic configuration on Ubuntu.
sudo apt-get install sendmail
127.0.0.1 localhost yourhostname
sudo service apache2 restart