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
James Hillyerd
3099777044
Update README
...
Switch to github.com for source of httpbuf, thegoods.biz is not firewall
friendly because it refers people to the git:// URL
2012-10-22 16:08:13 -07:00
James Hillyerd
db0d553f5d
Package reorg part 3
...
- binary "inbucketd" is now "inbucket"
- renamed "conf" to "etc" so it doesn't get confused with "config" pacakge dir
2012-10-22 15:57:05 -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
21a9211c0f
Remove Revel URL from README
2012-10-21 14:51:37 -07:00
James Hillyerd
01955d3cb2
Moved inbucketd to main to make building easier
...
Updated README.md with a install procedure that actually works
2012-10-21 14:47:41 -07:00
James Hillyerd
3650b93de7
Replace Revel favicon
2012-10-21 14:15:43 -07:00
James Hillyerd
2c7419c661
Gorilla is fully operational
...
- All mailbox actions working: index, list, show, html, source and delete
- Cleaned up extra files from Revel
- Took a guess at install process for README.md
This closes #4
2012-10-21 13:42:34 -07:00
James Hillyerd
71bb52a64a
Added partial templates
...
mailbox/list now renders
2012-10-21 12:42:54 -07:00
James Hillyerd
9c94bb2ab1
The main index template renders now!
2012-10-21 09:57:42 -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
ec0823b452
mime & util unit tests pass
...
added a sample of what the config should look like, may need tweaking
once I actually try to parse & use it.
2012-10-20 17:30:32 -07:00
James Hillyerd
3dd0206b48
New directory layout - DOES NOT COMPILE
2012-10-20 16:40:25 -07:00
James Hillyerd
2b3491fc87
Improved message rendering
...
Added a decodeSection function to mime.go that uses go-qprintable to
parse quoted-printable emails or MIME parts, fixes #7
Added a very basic TextToHtml converter to provide nicer rending of text
message bodies.
2012-10-19 12:50:16 -07:00
James Hillyerd
9e389e00d3
Quoted Printable sample data for upcoming fix
2012-10-18 22:49:56 -07:00
James Hillyerd
69313046aa
Second attempt at screenshot in README.md
2012-10-17 23:29:11 -07:00
James Hillyerd
0889e6469a
Add screenshot to readme
2012-10-17 23:20:41 -07:00
James Hillyerd
ddaeb9ee01
Update readme
2012-10-17 21:58:13 -07:00
James Hillyerd
24dcd62951
Basic HTML email rendering
...
Messages with a MIME text/html MIME part will now be displayed with an
`HTML` button above them that will open another window and render the
HTML when clicked.
There is no sanitization performed, and inline attachment display is
not support.
This closes #2
2012-10-17 21:47:48 -07:00