Skip to content

Instantly share code, notes, and snippets.

@Bouhnosaure
Created May 15, 2015 00:22
Show Gist options
  • Save Bouhnosaure/8173f85ddd4b056282bf to your computer and use it in GitHub Desktop.
Save Bouhnosaure/8173f85ddd4b056282bf to your computer and use it in GitHub Desktop.
Addind Mailcatcher to debian
first install
apt-get install ruby rubygems ruby-dev libsqlite3-dev
gem install mailcatcher
puis ajouter un script pour le lancer
https://gist.github.com/Bouhnosaure/49d733254d11d4240364
nano /etc/init.d/mailcatcher
ne pas oublier de changer les ip pour les faire correspondre a l'ip du server
puis ajouter les rules dans le firewall
-A INPUT -p tcp --dport 22025 -j ACCEPT
-A INPUT -p tcp --dport 22080 -j ACCEPT
Et faire
/etc/init.d/mailcatcher start
et voilaaaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment