Commit Graph
100 Commits
Author SHA1 Message Date
Adam Cooke 6570ff1f77 fix(docker): fixes issue caused by changes to underlying ruby:2.6 image 2021-10-21 09:08:25 +00:00
Adam Cooke 232b605f5b fix(dkim): fixes timing race condition when signing emails
closes #1652
2021-10-21 08:55:04 +00:00
Adam Cooke a1277baba5 feat: support for using rspamd for spam filtering 2021-08-02 19:57:33 +00:00
Adam Cooke 724325a1b9 feat: support for configuring the default spam threshold values for new servers 2021-08-02 16:17:18 +00:00
Adam Cooke dfe1970afb refactor: refactor message inspectors into own classes 2021-08-02 15:55:47 +00:00
Adam Cooke 47fbe6a470 chore(release): 2.0.0 2021-08-02 15:30:50 +00:00
Adam Cooke 2a11e0c0a5 fix(logging): fix spelling of graylog 2021-08-02 14:43:06 +00:00
Adam Cooke 476129cc1b fix(dkim): ensure DKIM-Signature headers are appropriately wrapped
closes #339
2021-08-01 21:00:37 +00:00
Adam Cooke 4404b3e02c fix(docs): update port numbers to specify the actual port number the SMTP server is listening on 2021-07-30 19:57:25 +00:00
Adam Cooke 1247dae2e0 feat(ui): add footer with links to docs and discussions 2021-07-30 19:41:14 +00:00
Adam Cooke 9bcb5993fa chore: remove old scripts 2021-07-30 19:20:44 +00:00
Adam Cooke 419a4e0f46 docs: add link to installation help 2021-07-30 19:20:08 +00:00
Adam Cooke 4ba2195ae0 docs: update links to old docs 2021-07-30 19:16:41 +00:00
Adam Cooke 0b6aac6874 chore(release): 2.0.0-beta.1 2021-07-30 19:07:35 +00:00
Adam Cooke cef7cc2ad6 build(gha): allow releases to be made 2021-07-30 19:06:56 +00:00
Adam Cooke 9a0f643bf7 docs: remove the title to the readme 2021-07-29 20:01:13 +00:00
Adam Cooke dfe6904a80 docs: add a title to the readme 2021-07-29 20:00:37 +00:00
Adam Cooke 80213bac75 docs: use a smaller logo on the readme 2021-07-29 19:59:52 +00:00
Adam Cooke 232c323121 docs: use a smaller logo on the readme 2021-07-29 19:59:39 +00:00
Adam Cooke 7a1d1fad20 docs: update readme 2021-07-29 19:59:01 +00:00
Adam Cooke 30dd48defa build: add postal ./bin to path and set config root in container 2021-07-29 16:47:23 +00:00
Adam Cooke 293ad9ee8c refactor: use bin/postal as the entrypoint for everything 2021-07-29 16:36:40 +00:00
Adam Cooke 9d1d80e931 refactor: remove old nginx config 2021-07-29 16:25:58 +00:00
Adam Cooke 4e5b621232 refactor: remove old logging defaults based on /opt/postal 2021-07-29 16:25:25 +00:00
Adam Cooke 5cd06e126b fix: remove a few leftover fast server artifacts 2021-07-29 16:10:53 +00:00
Adam Cooke d3bdfbae96 build: allow ruby in container to listen on privileged ports 2021-07-29 15:53:15 +00:00
Adam Cooke 17dd7cc757 refactor: remove the fast server 2021-07-29 11:20:47 +00:00
Adam Cooke 8e3294ba1a feat(config): support for loading a postal.local.yml config file from the config root if it exists 2021-07-29 11:16:44 +00:00
Adam Cooke 189dfa509b fix(dkim): fixes bug with signing dkim bodies 2021-07-28 17:01:42 +00:00
Adam Cooke 21a8d89045 feat: add priorities to IP address assignment 2021-07-28 14:18:40 +00:00
Adam Cooke daf469ce7f refactor: user management 2021-07-28 14:17:59 +00:00
Adam Cooke e9a52e9512 refactor(dkim_signing): refactor dkim signing with direct reference to RFC 2021-07-28 14:15:50 +00:00
Adam Cooke 83a7e1f625 ci: update location of docker image 2021-07-28 14:05:24 +00:00
Adam Cooke 84a04d810e ci(gha): specify the registry as ghcr.io 2021-07-28 13:54:31 +00:00
Adam Cooke 52a23fa86f fix: replace Fixnum with Integer
closes #996
2021-07-28 08:53:05 +00:00
Adam Cooke 4a410c8c9f feat(smtp_server): allow bind address to be configured
closes #1166
2021-07-27 22:00:16 +00:00
Adam Cooke e0ba05acb1 fix(smtp_server): fixes issue with malformed rcpt to
closes #1299
closes #1019
2021-07-27 14:32:29 +00:00
Adam Cooke eef1a365a2 fix: add resolv 0.2.1
closes #1381
closes #1377
2021-07-27 14:10:24 +00:00
Adam Cooke bc22394fdd fix(smtp_server): refactor mx lookups to randomly order mx records with the same priority
closes #1408
closes #1405
2021-07-27 14:07:38 +00:00
Adam Cooke fcb63616e1 fix(smtp_server): attempt to redact plain-text passwords from log output 2021-07-27 13:10:32 +00:00
Adam Cooke 1976649c52 chore: remove example config files from config/postal 2021-07-26 20:08:39 +00:00
Adam Cooke 5f515d0461 ci(makefile): we have no secrets here 2021-07-26 17:52:57 +00:00
Adam Cooke dcd5716d28 ci(gha): disable release action for now 2021-07-26 17:52:51 +00:00
Adam Cooke 03232a4e8b ci(gha): add initial github actions workflow 2021-07-26 17:51:03 +00:00
Adam Cooke c09ab62d0c chore: various tweaks to support running tests in the CI 2021-07-26 17:40:56 +00:00
Adam Cooke 9288d642b9 chore: use github rather than dockerhub for containers 2021-07-26 16:18:40 +00:00
Adam Cooke 1d22ca0f85 fix: always obey POSTAL_CONFIG_ROOT 2021-07-26 11:21:26 +00:00
Adam Cooke e2409a663c test: add test for dkim header generation 2021-07-22 19:17:13 +01:00
Adam Cooke 3352642c16 chore(deps): upgrade moonrope to 2.0.2 (also json) 2021-07-22 16:36:52 +01:00
Adam Cooke eab9e93ac1 chore(deps): upgrade rails to 5.2.6 2021-07-22 16:34:11 +01:00
Adam Cooke ab2c9ed9af chore(deps): upgrade nokogiri to 1.11.7 2021-07-22 16:05:43 +01:00
Adam Cooke d5c528e73f chore(deps): upgrade puma to 4.3.8 2021-07-22 16:04:29 +01:00
Adam Cooke 8145dba157 chore(docker): add tools for generating docker images 2021-06-29 17:47:37 +01:00
Adam Cooke 5ecc3a5a80 upgrade rails to 5.2.5 2021-03-31 16:26:21 +01:00
Adam Cooke a4bdafac13 be more precise about the presence of the invite parameter
closes #1001
closes #1002
2020-07-17 10:29:58 +01:00
Adam Cooke 138f1c0983 upgrade rails 2020-07-17 09:10:16 +01:00
Adam Cooke 487365182b upgrade puma, kaminari and rack 2020-07-17 09:08:57 +01:00
Adam Cooke c8d1178918 support for environment variable for puma PORT 2020-07-17 09:05:19 +01:00
Adam Cooke 0f30a53ebb upgrade rails & puma 2020-04-01 09:05:40 +00:00
Adam Cooke a66b94b228 ignore the PotamusFile in the image 2020-02-12 16:32:36 +00:00
Adam Cooke fe0cf6bb7f the docker image can live on dockerhub 2020-02-12 16:30:44 +00:00
Adam Cooke b08af5ab7d Add docker 2020-02-12 16:29:32 +00:00
Adam Cooke 4cad787343 upgrade dependencies
* rails, puma, bunny, mysql2
* remove createsend which isn't needed/used
* don't require highline all the time
2020-02-12 10:53:03 +00:00
Adam Cooke 396acfedd0 add link to google groups 2019-11-22 17:02:00 +00:00
Adam Cooke f56dac2284 renaming factory girl => factory bot 2019-03-14 10:46:41 +00:00
Adam Cooke 145a5f3cba upgrade rails to 5.1.6.2 2019-03-14 10:46:41 +00:00
Adam Cooke 15c6795a24 update default configuration file to document multiple bind addresses for the fast server 2018-04-04 19:16:01 +01:00
Adam Cooke 7fa457008e update process concurrency script to include root & user 2018-03-29 14:39:32 +01:00
Adam Cooke cd6f942a92 upgrade loofah [CVE-2018-8048] 2018-03-21 10:33:21 +00:00
Adam Cooke f778498fbe add an example config file for development use 2018-01-13 19:28:52 +00:00
Adam Cooke ce68d9eacd update Received headers to use UTC timestamps 2018-01-13 19:28:31 +00:00
Adam Cooke 5f88ee85bf make sure to use the user's time zone when composing test messages 2018-01-13 19:06:44 +00:00
Adam Cooke 21039f07e8 update link to using the api 2017-11-10 14:18:53 +00:00
Adam Cooke 9e91c75157 send the mail from and rcpt to on raw messages too 2017-06-14 09:59:09 +01:00
Adam Cooke 464bf21e2a fixes queue size script 2017-06-14 09:37:13 +01:00
Adam Cooke 126a59200a add script to return current queue size (for monitoring) 2017-06-14 09:30:23 +01:00
Adam Cooke 724a6405a5 don't check for untrusted relays on outgoing messages 2017-06-07 09:59:06 +01:00
Adam Cooke 9f9cdc6a47 don't log exceptions when something can't go to greylog 2017-06-02 17:59:26 +01:00
Adam Cooke 1547022b2a tidy greylog 2017-06-02 17:20:27 +01:00
Adam Cooke 83176e7361 only submit entries to greylog that apply to the current level 2017-06-02 17:18:19 +01:00
Adam Cooke 0177a7b8de autoload SMTPSender 2017-06-02 16:24:45 +01:00
Adam Cooke 6f29bc8d3f ensure all timestamps from the message DB go through a zone 2017-06-02 15:36:12 +01:00
Adam Cooke 6e009f16b9 use explicit autoloads rather than from paths 2017-06-02 15:29:54 +01:00
Adam Cooke 9f4568e81a callbacks for catching errors on the worker 2017-06-02 14:25:25 +01:00
Adam Cooke 97f95fe831 only exclude asset gems if there are prebuilt assets 2017-06-02 12:47:20 +01:00
Adam Cooke 7178977ef5 export RAILS_GROUPS for precompiling assets 2017-06-02 12:45:39 +01:00
Adam Cooke adb3eccec4 require asset gems in development too 2017-06-02 12:44:35 +01:00
Adam Cooke 3fb4ac3804 require assets for precompilation of assets 2017-06-02 12:42:02 +01:00
Adam Cooke 477fb4b199 don't include assets when bundling 2017-06-02 12:14:02 +01:00
Adam Cooke 0f61c8bfa4 put asset gems in their own group 2017-06-02 12:12:27 +01:00
Adam Cooke fda0cfafc6 rename admin to advanced settings & add help text
closes #163
2017-06-02 12:11:19 +01:00
Adam Cooke 4e7cec443c ensure IP addresses are unique
fixes #165
2017-06-01 14:41:38 +01:00
Adam Cooke c3f71b0d2a don't use moonrope from repo 2017-06-01 14:26:58 +01:00
Adam Cooke ce90a1d4f5 don't use acme-client from the repo 2017-06-01 14:25:00 +01:00
Adam Cooke e443a3addb improvements to the auto upgrade script
* change how the channel is passed
* restart rather than stop/start when upgrading
* add safe mode for forcing a stop/start on upgrade
2017-06-01 14:07:25 +01:00
Adam Cooke 42ba1bb9f2 configurable database pool sizes 2017-06-01 13:49:29 +01:00
Adam Cooke 132078f84f multi-threaded workers 2017-06-01 13:48:50 +01:00
Adam Cooke 26ca38c2e1 only update links if there's a message ID 2017-06-01 10:45:32 +01:00
Adam Cooke 96f190ae25 fixes style issue on error when no messages found 2017-05-30 15:16:01 +01:00
Adam Cooke 47d78b0725 rename the session from _deliver_session to _postal_session 2017-05-26 13:18:45 +01:00