MailCatcher: mudanças entre as edições
De MochilaWiki
Ir para navegaçãoIr para pesquisar
Criou página com 'https://mailcatcher.me/ https://gist.github.com/shark0der/28f55884a876f67c92ce <source lang="bash"> apt-get update apt install build-essential libsqlite3-dev ruby-dev gem ins...' |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
<source lang="bash"> | <source lang="bash"> | ||
apt-get update | apt-get update | ||
| Linha 12: | Linha 9: | ||
/usr/bin/env $(which mailcatcher) --ip=0.0.0.0 | /usr/bin/env $(which mailcatcher) --ip=0.0.0.0 | ||
</source> | </source> | ||
Referências | |||
* https://mailcatcher.me/ | |||
* https://gist.github.com/shark0der/28f55884a876f67c92ce | |||
Edição das 17h33min de 12 de novembro de 2019
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
Referências