Created
May 15, 2015 00:22
-
-
Save Bouhnosaure/8173f85ddd4b056282bf to your computer and use it in GitHub Desktop.
Addind Mailcatcher to debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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