James Hillyerd
d7965e0eaa
Ubuntu etc files
...
- Point RedHat README to website
- Add ubuntu upstart, logrotate configs
2012-11-17 14:49:40 -08: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
2ba9eaa779
Abbreviate README
2012-11-13 15:24:18 -08:00
James Hillyerd
f4c81c41a1
Make dist-win more GUI friendly
2012-11-12 20:45:40 -08:00
James Hillyerd
5214f30f87
Add Windows config
...
- Dist building powershell script
- Sample config
- Simple .bat launcher
2012-11-12 20:36:27 -08:00
James Hillyerd
2974e7c64e
Add a redhat6 readme
2012-11-07 15:39:16 -08:00
James Hillyerd
1b697e0daa
Update unix sample config
2012-11-07 15:28:01 -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
e2cc4fc8a1
Allow cmdline opts on swaks run-tests script
2012-11-07 13:55:35 -08:00
James Hillyerd
a246be6e5f
Allow use of privileged ports in init script
2012-11-06 09:45:47 -08:00
James Hillyerd
5fe57f2e3f
Merge branch 'master' of https://github.com/jhillyerd/inbucket
2012-11-06 09:33:36 -08:00
James Hillyerd
c167dca5e4
Tweak dist-unix.sh for OS X
2012-11-05 22:25:00 -08:00
James Hillyerd
e45a420dae
Add body to attach test
2012-11-05 22:17:18 -08:00
James Hillyerd
86bb40d9f9
More README updates
2012-11-05 22:02:56 -08:00
James Hillyerd
6a654075ad
Update README
2012-11-05 21:48:24 -08:00
James Hillyerd
1da98a9f7e
Attachment display & downloading!
2012-11-05 21:35:34 -08:00
James Hillyerd
7145249d65
Add a sample Apache vhost config
2012-11-05 13:53:24 -08:00
James Hillyerd
09b8534b9b
Add redhat init reload & logrotate config
2012-11-05 13:43:54 -08:00
James Hillyerd
ac807ed0b0
Cycle logfiles on SIGHUP for logrotated
2012-11-05 12:50:16 -08:00
James Hillyerd
8361fa6b6e
Dist scripts...
...
- Add files to tarball as root/root
- Move redhat-init script to etc/redhat-el6 so it's included in dist tarball
2012-11-05 09:33:27 -08:00
James Hillyerd
12b8a079ac
Add a script to generate a few test emails
2012-11-04 21:09:18 -08:00
James Hillyerd
afe0d779cb
Replace internal MIME with go.enmime
2012-11-04 13:25:24 -08:00
James Hillyerd
24e74936b7
provide redhat init script + config
2012-10-31 18:00:26 -07:00
James Hillyerd
9a09be2382
Make easier for daemonization
...
- Create pidfile if requested
- Create logfile and close std* streams if requested
2012-10-31 16:29:38 -07:00
James Hillyerd
ec58e79874
Add store.messages option for SMTP load testing
2012-10-27 17:33:37 -07:00
James Hillyerd
ae05f75055
Merge branch 'master' of https://github.com/jhillyerd/inbucket
2012-10-27 15:24:56 -07:00
James Hillyerd
69d0e6c341
Make links clickable in text view of emails
2012-10-27 15:24:29 -07:00
James Hillyerd
b5eb40940a
Fixes to run with dash as /bin/sh
2012-10-27 12:56:41 -07:00
James Hillyerd
e9bde25790
Forgot to delete temp dir after packaging
2012-10-27 12:14:50 -07:00
James Hillyerd
9ee8a2e1e3
Tarball building script for unix
2012-10-27 12:09:27 -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
0db9aa8966
Adjust captions
2012-10-24 22:20:34 -07:00
James Hillyerd
8aa804bbe5
Add another screenshot
2012-10-24 22:16:05 -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
606fb124a6
Rename about page to status
2012-10-24 09:48:56 -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
3b956a5341
Add sparklines to metrics
2012-10-23 16:41:54 -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
30d7cbc2a4
Metrics on about page are working
2012-10-23 13:43:40 -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
16a68000d3
Make log level configurable
2012-10-22 18:07:16 -07:00