1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-20 11:07:01 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
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