- smtpd/handler uses ParseEmailAddress() when opening mailbox and
checking domainNoStore
- Added host info to logging for both SMTP and POP3, closes#16
- Wrote more unit tests to make sure filestore behaves as expected
- Renamed NewFileDataStore to DefaultFileDataStore, implemented a new
NewFileDataStore for unit tests.
- filestore now removes entire mailbox dir when last message is deleted
Logging methods were renamed so they don't trigger go-vet warnings for
error() and Error() formatting.
Unit tests were updated to use new github.com/stretchr repo (was renamed
from stretchrcom)
Missing methods were added to Message mock object.
Most of the stuff in RFC1939 is implemented, and I was able to download
messages with Thunderbird. We do not yet purge deleted messages, and
probably need to implement some more auth modes.