Commit Graph
43 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
Charlie Smurthwaite c8d27b2963 Change retry and batching timing calculations (#2371)
This patch changes the requeue behaviour to requeue messages that are 30 seconds past their retry time.
Batching now includes messages that are any amount past their retry time.
This change avoids batching messages before theur graylisting time, but maintains efficient batching.
2023-03-22 14:02:28 +00:00
Charlie Smurthwaite 1e3622c49a Consistently treat tinyint(1) fields in message database as booleans (#2380)
* Update mysql2 query call to cast booleans

* Treat messages:held field as boolean

* Treat messages:inspected field as boolean

* Treat messages:spam field as boolean

* Treat messages:threat field as boolean

* Treat messages:bounce field as boolean

* Treat messages:received_with_ssl field as boolean

* Treat deliveries:sent_with_ssl field as boolean
2023-03-22 13:49:48 +00:00
Charlie Smurthwaite fd289c46fd style(rubocop): fix all safe auto correctable offenses 2023-03-16 15:50:53 +00:00
Will Power d0db1345a2 Message body parts should be a sub body (#376) 2023-03-13 13:27:39 +00:00
Adam Cooke c60c69db18 feat: allow @ and % in webhook urls 2022-02-14 16:12:47 +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 232c323121 docs: use a smaller logo on the readme 2021-07-29 19:59:39 +00:00
Adam Cooke 17dd7cc757 refactor: remove the fast server 2021-07-29 11:20:47 +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
Charlie Smurthwaite 8d44c90188 do not find the original message when returning batchable messages (#1225) 2020-09-30 15:34:38 +01:00
Charlie Smurthwaite 9a3d568b27 Add IP-based SMTP authentication (#1149) 2020-07-17 11:43:51 +01:00
Charlie Smurthwaite bb27d8c8a1 Fix access to variable in check_dkim_record 2019-06-22 09:26:20 +01:00
Morne Lotze 7ca7b43fda add semicolon to DKIM record data (#825)
* add semicolon to dkim record data

Addresses https://github.com/atech/postal/issues/812

As the semicolon at the end of a DKIM record is optional, some DNS software removes it.
The above change sanitizes the DKIM record before it gets checked

* fixed method typo

fixed a typo caused by my US spelling checker

* typo fix v2

a proper fix for the typo
2019-06-11 10:41:39 +01:00
Charlie Smurthwaite 1ef7dbd67e complete upgrade of letsencrypt to ACME v2. resolves #674 2019-03-14 11:58:41 +00:00
Charlie Smurthwaite cfc60d0e41 upgrade rails and supporting gems, refresh schema 2018-08-22 11:30:54 +01:00
Will Power b3456036c0 missing equals sign in webhook url validation (#483) 2018-04-20 12:27:16 +01:00
Adam Cooke ce68d9eacd update Received headers to use UTC timestamps 2018-01-13 19:28:31 +00:00
anhofmann 98daf6d30c Add possibility to use other ports than 80/443 in webhooks (#234)
* Added possibility to use other ports than 80/443

* simplify regex to allow colon anywhere
2017-08-21 22:23:31 +01:00
Will Power 457afb90c1 don't create empty parts in a multi part email (#267) 2017-07-25 15:47:18 +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 cb0e3a4f4e support for a null send limit for unlimited
part of #144
2017-05-16 15:52:43 +01:00
Adam Cooke 9a76538f11 remove IP pool rules when deleting an IP pool 2017-05-15 10:43:44 +01:00
Adam Cooke e9b03987fe only allow users with an invite to create accounts 2017-05-12 14:45:42 +01:00
Adam Cooke 5cd0e4dc04 add option to not provision databases for servers 2017-05-08 16:41:37 +01:00
Adam Cooke f023ff0bc1 don't check the dns on create if there already is a status 2017-05-08 16:38:29 +01:00
Adam Cooke 3e281b576e global domains aren't supported any longer 2017-05-04 13:04:48 +01:00
Adam Cooke 3ba0a72779 log errors from cert verification 2017-05-04 12:37:16 +01:00
Adam Cooke e7b88842ca logging on certificate verification & issuance
closes #94
2017-05-04 11:18:44 +01:00
Alex Bouma b396920d47 Config to use local nameservers for DNS validation 2017-05-02 13:11:55 +01:00
Adam Cooke 6af6e58d88 remove wildcard validation on routes
closes #57
2017-04-30 19:26:10 +01:00
Adam Cooke 2be702fac3 make sure resolv is required before it is used everywhere
closes #67
2017-04-30 19:25:03 +01:00
Alex Bouma ddf2a859bf Fix removed ip_pool type errors (#62)
* Fix undefined method description

Sice `:description` was removed from the IP pools it should display the IP pool `:name` instead of the `:description`.

* Fix using the removed ip_pool type
2017-04-29 19:42:29 +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 698b580db4 remove types from ip pools
closes #24
2017-04-28 16:40:53 +01:00
Adam Cooke 3ed9438a00 fixes issue with creating new organizations when there are no ip pools 2017-04-27 10:34:22 +01:00
Adam Cooke 61da4bf48c hide away IP pool things in the UI if not enabled 2017-04-27 09:41:21 +01:00
Adam Cooke ec73bffce0 admins don't need to verify domain ownership 2017-04-21 10:23:14 +01:00
Adam Cooke e6528663c6 when a new user is added with a verified timestamp, don't just clear it 2017-04-21 09:58:06 +01:00
Adam Cooke 2fdba0ceb5 initial commit from appmail 2017-04-19 13:07:25 +01:00