Commit Graph
100 Commits
Author SHA1 Message Date
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
Adam Cooke 1e62f9bd0e re-add postal signatures to outgoing http requests 2017-05-26 10:36:31 +01:00
Adam Cooke 7d2484d47f make sure nano & wget are installed on the quick install 2017-05-18 12:28:38 +01:00
Adam Cooke 3f8c52501b put postal version in footer 2017-05-18 12:25:28 +01:00
Adam Cooke 525fd8cc05 update ubuntu 16.04 script 2017-05-18 12:24:16 +01:00
Adam Cooke 2a5d8034ae pass the channel along with auto-upgrade 2017-05-18 12:23:41 +01:00
Adam Cooke 3485cd7229 update auto upgrade script to work with packages plus direct from repo 2017-05-18 12:08:04 +01:00
Adam Cooke 58a8b96611 don't compile assets on initialization if they already are built 2017-05-18 12:02:16 +01:00
Adam Cooke 0ef7d4c0e4 only compile assets on upgrade if they aren't prebuilt 2017-05-18 12:01:05 +01:00
Adam Cooke 965d9a7ec6 require fileutils 2017-05-18 11:51:33 +01:00
Adam Cooke 91de111946 use the log_root for the puma log redirection 2017-05-18 11:48:00 +01:00
Adam Cooke 73b4edd92e put rails logging through the app logger 2017-05-18 11:47:59 +01:00
Adam Cooke 76e1f6e9f7 update procodile logging to be outside of the app root 2017-05-18 11:45:43 +01:00
Adam Cooke b1048b6986 attempt to make the log directory if missing 2017-05-18 11:44:52 +01:00
Adam Cooke 90d534574d add a configurable log root 2017-05-18 11:41:02 +01:00
Adam Cooke bf35d207d6 fixes build script 2017-05-18 10:58:51 +01:00
Adam Cooke df72f5e2b9 upgrade nokogiri 2017-05-18 10:46:25 +01:00
Adam Cooke 734c8781c3 add a script to build & upload postal packages 2017-05-17 19:30:33 +01:00
Adam Cooke fde35add28 update version to include revision & channel 2017-05-17 19:25:48 +01:00
Adam Cooke cb0e3a4f4e support for a null send limit for unlimited
part of #144
2017-05-16 15:52:43 +01:00
Adam Cooke 8b7bcd9a6a remove some nbsp 2017-05-16 15:35:13 +01:00
Adam Cooke 36db40cfe7 fixes issue with query string parsing when a z exists
closes #127
2017-05-16 15:25:35 +01:00
Adam Cooke 4106ac6c7e fixes bug with receiving messages to the return path
treats all messages sent to the return path and any domain with the return path prefix the same
2017-05-16 14:49:56 +01:00
Adam Cooke 9a76538f11 remove IP pool rules when deleting an IP pool 2017-05-15 10:43:44 +01:00
Adam Cooke d33994ce0f fixes bug with IP rules list
closes #136
2017-05-12 17:06:35 +01:00
Adam Cooke 5e13d7d052 hold incoming messages when in development mode
(not very dry but this unqueueing logic could do with some tidying)
2017-05-12 15:07:56 +01:00
Adam Cooke 9bea99e633 verify new users straight away
users who signup will have received a link to do so which means their address is already verified
2017-05-12 14:47:16 +01:00
Adam Cooke e9b03987fe only allow users with an invite to create accounts 2017-05-12 14:45:42 +01:00