1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
James Hillyerd
e6f95c9367 Make @inbucket prompt configurable, closes #31 2017-01-28 17:27:50 -08:00
James Hillyerd
62b77dfe5e Refactor configuration parser to use tables 2017-01-22 18:57:03 -08:00
James Hillyerd
9ae428ca44 Make monitor configurable for #44 2017-01-21 20:23:04 -08:00
James Hillyerd
28adcf0437 Graceful shutdown on error for httpd, smtpd, pop3d 2016-02-29 20:21:49 -08:00
James Hillyerd
bbfdd4216f Session cookie key is now configurable
- Added [web] cookie.auth.key to configuration
- Inbucket generates a random key if none is configured
- Added [default] default.domain to be reference by SMTP and POP3
  configs
- Updated default/sample config files
2016-02-27 15:43:44 -08:00
James Hillyerd
e6b7e335cb Follow meta-linter recommendations for all of Inbucket
- Rename BUILD_DATE to BUILDDATE in goxc
- Update travis config
- Follow linter recommendations for inbucket.go
- Follow linter recommendations for config package
- Follow linter recommendations for log package
- Follow linter recommendations for pop3d package
- Follow linter recommendations for smtpd package
- Follow linter recommendations for web package
- Fix Id -> ID in templates
- Add shebang to REST demo scripts
- Add or refine many comments
2016-02-22 00:16:45 -08:00
James Hillyerd
88ae99abb0 Reformat *.go with goimports command 2014-05-19 19:40:33 -07:00
James Hillyerd
13868d85d4 HTML view encoding fix
- HTML popup now specifies UTF8 encoding
- Version and build date are captured from goxc
- Version is displayed on status page, and initial log entry
2014-03-12 09:09:47 -07:00
James Hillyerd
46fa714cc7 Add configurable mailbox message cap
- Add new configuration option [datastore]mailbox.message.cap
- Modify filestore to enforce message cap if value > 0
- Filestore unit tests for message cap when enabled & disabled
- Change to DataStore.Mailbox.NewMessage() interface to allow error
  return
2013-11-12 10:42:39 -08:00
James Hillyerd
97a2016177 Add customizable greeting to index page
Allow an organization to copy the greeting.html file out of the themes
directory, customize it, then point the greeting.file config option at
it so that it will survive Inbucket upgrades.
2013-10-10 14:04:22 -07:00
James Hillyerd
aa7b760385 POP3 is working
Added pop3.domain config option (for APOP greeting)
Implemented CAPA command
Implemented APOP "encrypted" authorization
Updated all sample config files to include [pop3] section
Closes #8
2013-09-12 22:07:24 -07:00
James Hillyerd
338698d461 Add empty shell of POP3 server 2013-09-09 15:51:26 -07:00
James Hillyerd
ca4f9f570f Switch from robfig/goconfig to robfig/config
Unbreak the build.
2013-08-05 16:50:27 -07: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
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
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
16a68000d3 Make log level configurable 2012-10-22 18:07:16 -07:00
James Hillyerd
7215c041dc Package reorganization part 2
End goal is to simplify build
2012-10-22 15:48:55 -07:00