MailCatcher: mudanças entre as edições

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 10: Linha 10:
</source>
</source>


<source lang="bash">
mailcatcher --foreground --http-ip=0.0.0.0
</source>


Referências
Referências

Edição das 12h16min de 17 de janeiro de 2020

apt-get update
apt install build-essential libsqlite3-dev ruby-dev
gem install mailcatcher --no-ri --no-rdoc
echo "@reboot root $(which mailcatcher) --ip=0.0.0.0" >> /etc/crontab
update-rc.d cron defaults
echo "sendmail_path = /usr/bin/env $(which catchmail) -f 'www-data@localhost'" >> /etc/php/7.2/mods-available/mailcatcher.ini
phpenmod mailcatcher
/usr/bin/env $(which mailcatcher) --ip=0.0.0.0


mailcatcher --foreground --http-ip=0.0.0.0

Referências