Grails: Working with the mail plugin

I just started working with the mail plugin. The idea is to finish the user registration scenario that Ive been working on.

Now working with the mail plugin in development requires me to have a SMTP server running locally.

I’m not really Interested in a real one, instead I basically just want on that says these are all the mails sent to me.

What I found was Dumpster, a nice little library that allows you to set up a mock mail server. It’s designed to be run with unit tests, but its really easy to write up a server that runs in the command line, printing all the messages received by the server.