1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-06-09 23:03:35 +00:00
Commit Graph

223 Commits

Author SHA1 Message Date
James Hillyerd 7b91a667a1 Reorganize URI routes to be more RESTful 2013-10-11 17:16:23 -07:00
James Hillyerd d8ac1d78b0 Change format of json msg header 2013-10-11 16:40:06 -07:00
James Hillyerd a12147930c Can now list mailbox contents via REST 2013-10-11 14:42:00 -07:00
James Hillyerd 27015b3c58 Update github link in integral templates 2013-10-10 15:26:33 -07: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 9354b9692f First crack at single gob per mailbox, hardly works 2013-10-09 21:43:45 -07:00
James Hillyerd dcc5d240cb Add listener configuration details to status page 2013-10-09 16:20:13 -07:00
James Hillyerd 9c924d5659 Revise README 2013-10-01 15:07:14 -07:00
James Hillyerd b073987da0 Update README w/ POP3 and github.io 2013-10-01 15:05:37 -07:00
James Hillyerd e3e0e19fdc Update README w/ POP3 and github.io 2013-10-01 14:56:51 -07:00
James Hillyerd 62b4abf26e Fix broken MockMessage 2013-10-01 14:05:16 -07:00
James Hillyerd c9392c7eb1 Wired character-set decoding into From and Subject
- Removed extra message object from ReadBody() return type
 - We now use enmime's GetHeader() when building the GOB, this will get
   us alternate character set decoding for the From and Subject headers.
 - Added a swaks test with a utf-8 subject line
2013-10-01 14:01:08 -07:00
James Hillyerd d9b728ef46 Added goxc config for cross compile builds
https://github.com/laher/goxc
2013-09-17 11:00:37 -07:00
James Hillyerd 2e78e4e6f7 Logging and unit test changes
Logging methods were renamed so they don't trigger go-vet warnings for
error() and Error() formatting.

Unit tests were updated to use new github.com/stretchr repo (was renamed
from stretchrcom)

Missing methods were added to Message mock object.
2013-09-13 14:06:57 -07:00
James Hillyerd f50061ac82 Handle space after "MAIL FROM:" for Outlook SMTP 2013-09-13 09:01:36 -07:00
James Hillyerd edd65ff415 Merge pull request #13 from jhillyerd/pop3
Merge POP3 changes into master
2013-09-12 22:09:01 -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 06ce860435 Impl deletes, update SMTP session tracing 2013-09-12 17:00:08 -07:00
James Hillyerd 5a44456db5 Most of RFC1939 implmented
Most of the stuff in RFC1939 is implemented, and I was able to download
messages with Thunderbird.  We do not yet purge deleted messages, and
probably need to implement some more auth modes.
2013-09-12 16:20:04 -07:00
James Hillyerd 01f6ad514b Started impl DELE 2013-09-12 15:55:45 -07:00
James Hillyerd 4649fd0b05 Started impl DELE 2013-09-11 23:12:22 -07:00
James Hillyerd 983b4f745a More basic POP3 implementation
Filestore/Datastore now supports a Size() method.
2013-09-10 17:56:04 -07:00
James Hillyerd 338698d461 Add empty shell of POP3 server 2013-09-09 15:51:26 -07:00
James Hillyerd 49073d2733 Line ending normalization 2013-09-05 16:37:11 -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 19794a7e26 Point footer at website instead of github page 2012-11-17 15:22:51 -08:00
James Hillyerd 1dc7a9707f Fix status page title 2012-11-17 15:19:59 -08:00
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