Commit Graph
209 Commits
Author SHA1 Message Date
Grex 6bace2c905 Add explicit DNS timeout
This makes DNS timeouts occur much more quickly and avoid clients with nonfunctional reverse DNS timing out while waiting for a response to their EHLO requests.
2022-08-17 11:13:24 +01: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 d22237d0ec chore: support for different postal environments 2022-02-14 14:35:01 +00:00
Ayoub AMINE 1beb30869a Remove duplicate character 2021-11-19 13:23:38 +01: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 dfe1970afb refactor: refactor message inspectors into own classes 2021-08-02 15:55:47 +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 1247dae2e0 feat(ui): add footer with links to docs and discussions 2021-07-30 19:41:14 +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 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 e9a52e9512 refactor(dkim_signing): refactor dkim signing with direct reference to RFC 2021-07-28 14:15:50 +00:00
Adam Cooke 52a23fa86f fix: replace Fixnum with Integer
closes #996
2021-07-28 08:53:05 +00:00
Vishnu SudhakaranandVishnu S e8ba9ee427 fix(smtp_server): updated line split logic, normalize all linebreaks to \r\n (#897)
Co-authored-by: Vishnu S <vishnu@zerodha.com>
2021-07-27 23:15:38 +01:00
Will Power 670ea65712 fixes for link conversion (#296) 2021-07-27 23:08:53 +01: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 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 c09ab62d0c chore: various tweaks to support running tests in the CI 2021-07-26 17:40:56 +00:00
Adam Cooke 1d22ca0f85 fix: always obey POSTAL_CONFIG_ROOT 2021-07-26 11:21:26 +00:00
Jim 70d9ba6d09 Add log line for failed authentication attempts
Resolves #1182
2020-10-01 12:35:34 +01:00
Charlie Smurthwaite 044edd9afa renumber migration 2020-10-01 10:53:07 +01:00
Charlie Smurthwaite 1ecc4684cd Truncate long message subjects when storing metadata
This avoids SQL errors dropping messages when subjects are too long.
2020-10-01 10:45:30 +01:00
Charlie Smurthwaite 752558f0f3 Change SQL charset for message_db to utf8mb4
Squashed commit of the following:

commit c434c868d111fd091f638216e2dec2685c7ac296
Author: Charlie Smurthwaite <charlie@krystal.uk>
Date:   Thu Oct 1 10:37:17 2020 +0100

    change utf8mb4_bin to utf8mb4_unicode_ci

commit 68031c470b41edd9906e3b10ccbb6d2c71a2c9a7
Merge: 9f277d4 9b98339
Author: Charlie Smurthwaite <charlie@krystal.uk>
Date:   Thu Oct 1 10:29:02 2020 +0100

    Merge remote-tracking branch 'origin/master' into mb4

commit 9f277d4ce2
Author: Petter Helset <petter@helset.eu>
Date:   Thu Oct 26 15:15:16 2017 +0200

    Migrate message database with main database

commit 3be337e265
Author: Petter Helset <petter@helset.eu>
Date:   Thu Oct 26 14:45:26 2017 +0200

    Migrations for existing messagedbs to utf8mb4

commit 3d8d3956fe
Author: Petter Helset <petter@helset.eu>
Date:   Thu Oct 26 13:49:57 2017 +0200

    Change SQL charset for message_db to utf8mb4
2020-10-01 10:39:30 +01:00
Dmitriy Alekseev 71b059f9d2 Add common DKIM headers (#1218)
Add commonly used headers to DKIM signatures
2020-09-30 16:04:36 +01:00
Charlie Smurthwaite 9a3d568b27 Add IP-based SMTP authentication (#1149) 2020-07-17 11:43:51 +01:00
Will Power 5c7802d218 add migration to increase links url size (#683) 2020-07-17 10:38:04 +01:00
Will Power 73b4afdb2b Bypass for newer OpenSSL versions (#999) 2020-07-17 10:35:24 +01:00
Adam Cooke b08af5ab7d Add docker 2020-02-12 16:29:32 +00:00
Dan Pastori 7e5403ace1 Add reply_to in JSON API (#850) 2019-12-05 17:25:36 +00:00
Mark Rodgers d067944301 When Net::HTTP::Post is being instantiated only the uri.path was being passed (#924)
fixed bug causing webhook not to trigger unless query params were present
2019-12-05 17:21:07 +00:00
Oliver Kuldmäe 2d9a18f658 Parse multipart/related parts recursively (#808)
This is to ensure that tracking pixels are correctly added to all nested parts of the email.
2019-11-22 17:33:50 +00:00
Will Power dcb2919cc6 Suppression list improvements (#867) 2019-11-22 17:28:11 +00:00
Paul Cleary 10f4808fbf Adds support for Basic Auth in HTTP Endpoint URLs (#884) 2019-11-22 17:26:55 +00:00
Charlie Smurthwaite 634d3af59d fix syntax for compatibility 2019-07-17 14:46:33 +01:00
Charlie Smurthwaite 34e5085c37 ignore Mail::Field::IncompleteParseError errors when mail gem can't parse header 2019-07-17 14:37:21 +01:00
Dan Wentworth 5c8f9b99c0 add auto-submitted value to HTTP JSON payload (#838) 2019-06-28 12:26:04 +01:00
Charlie Smurthwaite 0fb323af3f reset SMTP transaction automatically after any DATA response, not just success 2019-04-08 15:05:55 +01:00
Charlie Smurthwaite 183f3b4192 http 429 responses should suppress bounce messages to reduce email volume in rate limiting situations 2019-04-08 11:20:25 +01:00
Antony Ryabov 9f2e3ca1fa added ability to use clustered rabbitmq 2019-04-08 11:08:35 +01:00
Charlie Smurthwaite 1ef7dbd67e complete upgrade of letsencrypt to ACME v2. resolves #674 2019-03-14 11:58:41 +00:00
Charlie Smurthwaite c3f2adc10d fix acme initializer call 2019-03-14 10:53:53 +00:00
Luiz Eduardo e55b081721 Option do Change Hold Time 2019-02-25 12:01:15 +00: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 ce68d9eacd update Received headers to use UTC timestamps 2018-01-13 19:28:31 +00:00