matomo-org / matomo-dev-environment

Matomo Development Environment (Vagrant)
http://developer.matomo.org
GNU General Public License v3.0
33 stars 21 forks source link

Install MailCatcher #5

Open tsteur opened 9 years ago

tsteur commented 9 years ago

MailCatcher runs a super simple SMTP server which catches any message sent to it to display in a web interface see http://mailcatcher.me/ It would be nice to have this preinstalled otherwise one has to set it up over and over again. Maybe even Piwik could be configured to use it automatically.

UI could be maybe available under mail.piwik

tsteur commented 9 years ago

In config.ini.php I have this section to configure to use mailcatcher:

[mail]
transport = "smtp"
port = 1025
host = "localhost"
mnapoli commented 9 years ago

:+1:

I have this config on my machine:

sendmail_path = /usr/local/bin/catchmail -f test@example.com

That avoids running the fake smtp server in the background.