James Hillyerd
f50061ac82
Handle space after "MAIL FROM:" for Outlook SMTP
2013-09-13 09:01:36 -07:00
James Hillyerd
06ce860435
Impl deletes, update SMTP session tracing
2013-09-12 17:00:08 -07:00
James Hillyerd
01f6ad514b
Started impl DELE
2013-09-12 15:55:45 -07:00
James Hillyerd
983b4f745a
More basic POP3 implementation
...
Filestore/Datastore now supports a Size() method.
2013-09-10 17:56:04 -07:00
James Hillyerd
9ee9afe5cc
More shutdown work, closes #11
...
- Drain SMTP connections
- Force exit after 15 seconds of draining
2012-11-16 21:29:53 -08:00
James Hillyerd
7ccef7b977
Basic SIGTERM handling
2012-11-16 20:44:41 -08:00
James Hillyerd
cabc5f0d2b
Metrics: rename Delivered to Received, closes #10
2012-11-14 17:36:39 -08:00
James Hillyerd
afe14da506
Metrics improvements
...
- Label graphs by their duration, not update period
- Extend to 60 units so they are either 10 minutes or an hour of data
- Improvements to retention information
- Change javascript calculations, fixes #9 (I hope)
2012-11-14 17:22:25 -08:00
James Hillyerd
b8f2527b93
Mixed use support
...
You can now optionally configure a "no store" domain. When inbucket
receives a message destined for a user at that domain, it will accept
the message but not store it to disk. This allows the same instance
of Inbucket to be shared by people who wish to view email content and
those who want to load test.
2012-11-07 15:26:15 -08:00
James Hillyerd
afe0d779cb
Replace internal MIME with go.enmime
2012-11-04 13:25:24 -08:00
James Hillyerd
ec58e79874
Add store.messages option for SMTP load testing
2012-10-27 17:33:37 -07:00
James Hillyerd
a4ad7b13cc
Wire in retention
...
- Update README
- Add retention metrics
- Start retention scanner if configured
2012-10-26 13:38:59 -07:00
James Hillyerd
53bcb52e64
Implementing AllMailboxes
2012-10-25 22:54:17 -07:00
James Hillyerd
57d3b198b2
Refactore FileDataStore into its own file
2012-10-25 22:33:50 -07:00
James Hillyerd
d8d0d1b4ff
Basic retention scanner w/ unit tests
...
Not wired into anything yet!
2012-10-25 22:15:53 -07:00
James Hillyerd
b665612190
Start retention code/unit tests
2012-10-25 18:11:27 -07:00
James Hillyerd
45e1995d17
Begin work on message retention
...
- Refactor datastore such that we have a FileDataStore that implements
the DataStore interface.
- Add in missing SMTP configuration options: max recips, max idle, max
message size
- Add retention options to config
2012-10-25 18:06:29 -07:00
James Hillyerd
81423a0b61
Handle EOFs different from other net io errors
2012-10-24 13:07:07 -07:00
James Hillyerd
81bb394755
More metrics, better logging
2012-10-24 12:40:17 -07:00
James Hillyerd
bf0d6a6be5
Add some metric history
...
The count of connections and count of delivered messages now have 50
minutes of history available in the /about sparklines.
2012-10-23 19:48:59 -07:00
James Hillyerd
9789eab6cf
Limit datastore/mail to 65k dirs
...
Added a new layer where we take the first 4 chars of the mailbox hash
and use it to create directories. Should prevent us from having a
million directories under "mail" directly.
2012-10-23 13:51:33 -07:00
James Hillyerd
5833bb0701
Add expvar JSON @ /debug/vars
...
Counters include:
- Uptime
- SMTP connections
- SMTP connections (current)
- SMTP messages delivered
2012-10-23 09:51:30 -07:00
James Hillyerd
7215c041dc
Package reorganization part 2
...
End goal is to simplify build
2012-10-22 15:48:55 -07:00
James Hillyerd
4e5c0ce4d8
Reorganize packages pt 1
...
End goal: simplify build process
2012-10-22 15:20:33 -07:00
James Hillyerd
442e8fbe14
Web server now starts
...
Can serve static content, no dynamic stuff yet
2012-10-20 23:03:59 -07:00
James Hillyerd
81fea97a90
SMTP server is running with new config engine
...
Web still not working
2012-10-20 21:36:57 -07:00
James Hillyerd
ce9289140a
Config file loading/validation implemented.
...
Builds, does not run!
2012-10-20 19:20:42 -07:00
James Hillyerd
3dd0206b48
New directory layout - DOES NOT COMPILE
2012-10-20 16:40:25 -07:00