Installation From Source
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
mkdir ~/go export GOPATH=~/go
Grab the Inbucket source code and compile the daemon:
go get -v github.com/jhillyerd/inbucket
Test launching the daemon on Linux & OS X:
cd $GOPATH/src/github.com/jhillyerd/inbucket $GOPATH/bin/inbucket etc/inbucket.conf
Test launching the daemon on Windows:
cd $GOPATH/src/github.com/jhillyerd/inbucket $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.