Commit Graph
66 Commits
Author SHA1 Message Date
Adam Cooke 957b784658 chore: Upgrade to Ruby 3.2.1 & Rails 6.0
* chore: upgrade to rails 6.0

* chore: upgrade ruby to 3.2.1

* chore: upgrade bundler

* chore: upgrade execjs

* chore: upgrade to rails 6.1

* chore: switch to sentry-ruby from raven

* chore: add extra platforms to gemfile
2023-04-06 11:40:45 +01:00
Joost Kalwij - van Horssen c6fb8d223b Make resent-sender header optional (#2384) 2023-03-22 14:01:04 +00:00
Charlie Smurthwaite fd289c46fd style(rubocop): fix all safe auto correctable offenses 2023-03-16 15:50:53 +00:00
Dmitriy Alekseev 9f0697f194 feat: support for AMQPS for rabbitmq connections (#1911)
* Support AMQPS

* Update rabbit_mq.rb
2022-03-16 09:38:13 +00:00
Adam Cooke 152633adfe chore: upgrade to puma 5 2022-02-14 14:36:34 +00:00
Adam Cooke 51e3a1fb5e chore: remove setting process name since procodile has gone 2022-02-14 14:34:34 +00:00
Adam Cooke 5b04faca39 fix: use the Postal logger system for the rails log 2022-02-14 14:17:51 +00:00
Adam Cooke e49ae56d27 chore: replace procodile with foreman for dev 2022-02-14 14:16:11 +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 2a11e0c0a5 fix(logging): fix spelling of graylog 2021-08-02 14:43:06 +00:00
Adam Cooke 4e5b621232 refactor: remove old logging defaults based on /opt/postal 2021-07-29 16:25:25 +00:00
Adam Cooke 17dd7cc757 refactor: remove the fast server 2021-07-29 11:20:47 +00:00
Adam Cooke daf469ce7f refactor: user management 2021-07-28 14:17:59 +00:00
Adam Cooke 4a410c8c9f feat(smtp_server): allow bind address to be configured
closes #1166
2021-07-27 22:00:16 +00:00
Jim 73870d6a92 fix: fix issue with determining if an SMTP connection is encrypted or not (#1338) 2021-07-27 15:13:06 +01: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 1976649c52 chore: remove example config files from config/postal 2021-07-26 20:08:39 +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 c8d1178918 support for environment variable for puma PORT 2020-07-17 09:05:19 +01:00
Antony 57cc0239bd Added explanation to config/postal.example.yml about #725 (#920) 2019-12-05 17:21:32 +00:00
Will Power dcb2919cc6 Suppression list improvements (#867) 2019-11-22 17:28:11 +00:00
Luiz Eduardo e55b081721 Option do Change Hold Time 2019-02-25 12:01:15 +00:00
Charlie Smurthwaite cfc60d0e41 upgrade rails and supporting gems, refresh schema 2018-08-22 11:30:54 +01:00
George Drak b264c5bd50 Configurable SMTP client timeouts (#456)
* fix #295 by adding configurable timeouts
2018-04-20 13:16:44 +01: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 f778498fbe add an example config file for development use 2018-01-13 19:28:52 +00:00
Petter Helset 67e37b0770 Configurable OpenSSL versions and ciphers (#387) 2017-12-05 11:25:42 +00:00
Petter Helset 93434bbb7e Configurable message size limit. Defaults to 14MB. (#383) 2017-12-05 11:21:23 +00:00
igerzog 41d9014d47 Certificate file name extensions unified (#354)
* Fix for default smtp certificate name

This fixes the defaut smtp certificate file name from smtp.crt to smtp.cert as it is used throughout the postal code.
2017-09-11 20:50:59 +01:00
mackinra 2a9702ba47 Added option to strip incoming Received headers (#282) 2017-08-10 00:05:40 +01:00
Adam Cooke 1547022b2a tidy greylog 2017-06-02 17:20:27 +01:00
Adam Cooke 6e009f16b9 use explicit autoloads rather than from paths 2017-06-02 15:29:54 +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 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 47d78b0725 rename the session from _deliver_session to _postal_session 2017-05-26 13:18:45 +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 90d534574d add a configurable log root 2017-05-18 11:41:02 +01:00
Adam Cooke e9b03987fe only allow users with an invite to create accounts 2017-05-12 14:45:42 +01:00
Adam Cooke d4fd6b9925 By default, we will now listen directly on various ports [breaking]
This allows us to avoid messing around with changes to iptables and generally makes installation easier for everyone.

If you have an instance of postal before this, you will need to do a couple of things to ensure your installation continues to work.

1. You will need to specify a `fast_server.bind_address` in your postal.yml configuration file. This is the IP that you dedicated to the fast server.
2. You will need to allow Ruby to listen on privileged ports (sudo setcap 'cap_net_bind_service=+ep' /usr/bin/ruby2.3).
3. You will need to remove any iptables rules that you may have added previously to accomodate the older way of doing this.
2017-05-05 11:45:27 +01:00
Adam Cooke 608b73afd4 add an example password to postal.example.yml 2017-05-05 10:49:44 +01:00
Adam Cooke 010e8c0e58 add a default certificate for the fast server 2017-05-05 09:57:39 +01:00
Adam Cooke 22e0dd27ae attempt to renew track certificates more frequently for a better experience 2017-05-04 12:38:06 +01:00
Alex Bouma b396920d47 Config to use local nameservers for DNS validation 2017-05-02 13:11:55 +01:00
Adam Cooke f779e45f45 move espect into Postal::MessageInspection 2017-04-29 12:38:40 +01:00
Adam Cooke 45fd472f76 configurable maximum delivery attempts
closes #59
2017-04-29 11:56:25 +01:00
Adam Cooke 3333a7baf3 add script for testing app SMTP connections 2017-04-28 17:09:39 +01:00
Adam Cooke 1adedc6343 support for smtp relay hosts 2017-04-28 16:26:59 +01:00