James Hillyerd
62fa52f42c
log: disable color output on windows, closes #93
2018-05-05 09:57:01 -07:00
James Hillyerd
bcede38453
webui: Friendly URL support for #73
2018-04-07 18:17:39 -07:00
James Hillyerd
12f98868ba
smtp/policy: Store messages with full naming for #33
...
- Added some tests to make sure stores do not enforce their own naming.
- Improve recipient structured logging.
2018-04-07 13:06:56 -07:00
James Hillyerd
c2e1d58b90
policy: Accept Root config instead of SMTP for #33
2018-04-02 19:43:05 -07:00
James Hillyerd
8c66a24513
config: lowercase log levels for #90
2018-04-01 20:50:18 -07:00
James Hillyerd
5a28e9f9e7
config: Use log level name DEBUG instead of TRACE
...
Add log level parsing into openLog() for #90
2018-03-31 15:30:36 -07:00
James Hillyerd
deceb29377
inbucket: respect -logfile flag again for #90
...
Removed log file rotation, too racy, not needed in the world of docker
and systemd.
2018-03-31 15:16:22 -07:00
James Hillyerd
92f2da5025
server: -netdebug flag now controls tracing for #90
...
Network trace is sent to stdout, no longer part of normal debug
logging.
2018-03-31 13:37:42 -07:00
James Hillyerd
e2ba10c8ca
Replace pkg/log with zerolog for normal logging #90
2018-03-27 20:26:06 -07:00
James Hillyerd
281cc21412
storage: Make type/params configurable for #88
2018-03-24 13:18:51 -07:00
James Hillyerd
f0a94f4848
More config cleanups for #86
2018-03-22 20:03:05 -07:00
James Hillyerd
845cbedc0d
config: Replace robfig with envconfig for #86
...
- Initial envconfig system is working, not bulletproof.
- Added sane defaults for required parameters.
2018-03-21 22:50:21 -07:00
James Hillyerd
f953bcf4bb
smtp: Move delivery into message.Manager for #69
2018-03-17 17:04:12 -07:00
James Hillyerd
b9003a9328
smtp: Wire in policy.Recipient for #84
2018-03-17 12:39:09 -07:00
James Hillyerd
219862797e
web: remove DataStore from Context and controllers for #81
2018-03-12 20:49:06 -07:00
James Hillyerd
10bc07a18e
message: Implement service layer, stubs for #81
...
I've made some effort to wire the manager into the controllers, but
tests are currently failing.
2018-03-12 20:21:59 -07:00
James Hillyerd
d9b5e40c87
storage: More refactoring for #69
...
- retention: Start from pkg main instead of server/smtp
- file: Remove DefaultStore() constructor
- storage: AllMailboxes replaced with VisitMailboxes for #69
- test: Stub VisitMailboxes for #80
2018-03-10 22:05:10 -08:00
James Hillyerd
a58dfc5e4f
storage: finish renaming storage packages for #79 #69
...
- storage: rename DataStore to Store
- file: rename types to appease linter
2018-03-10 14:00:21 -08:00
James Hillyerd
f8c30a678a
Reorganize packages, closes #79
...
- All packages go into either cmd or pkg directories
- Most packages renamed
- Server packages moved into pkg/server
- sanitize moved into webui, as that's the only place it's used
- filestore moved into pkg/storage/file
- Makefile updated, and PKG variable use fixed
2018-03-10 12:04:13 -08:00
James Hillyerd
5e94f7b750
Address matching should only apply to address, not name
2017-02-05 15:31:31 -08:00
James Hillyerd
64e75face8
Add maxage flag to match subcommand
2017-02-05 15:15:28 -08:00
James Hillyerd
be4675b374
Add powerful match subcommand to cmdline client
...
- Multiple output formats
- Signals matches via exit status for shell scripts
- Match against To, From, Subject via regular expressions
- Can optionally delete matched messages
2017-02-05 14:17:47 -08:00
James Hillyerd
6722811425
Beginnings of a command line REST client
2017-02-04 18:21:55 -08:00