You will need functioning Go and Git installations for this to work.

If you are running on Windows, you will need to perform the steps in this document from within Git Bash shell, otherwise Go will be unable to clone (download) the Inbucket source code and its dependencies.

If you don’t have a GOPATH setup, create a directory for holding Go source code and export the GOPATH variable:

mkdir ~/go
export GOPATH=~/go


Grab the Inbucket source code and compile the daemon:

go get -v


Test launching the daemon on Linux & OS X:

cd $GOPATH/src/
$GOPATH/bin/inbucket etc/inbucket.conf

Test launching the daemon on Windows:

cd $GOPATH/src/
$GOPATH/bin/inbucket etc/win-sample.conf

By default the SMTP server will be listening on localhost port 2500 and the web interface will be available at localhost:9000.

Next Steps

Please see our RedHat and Ubuntu installation guides for information on configuring Inbucket to run as a daemon.