Adam Cooke
0e4ed5ca03
style(rubocop): Layout/EmptyLineAfterMagicComment
2024-02-10 17:18:23 +00:00
Adam Cooke
6ab36c09c9
style(rubocop): Style/FrozenStringLiteralComment
2024-02-10 17:18:22 +00:00
Adam Cooke
ba5bfbd6a0
fix: fix bug with received header in SMTP server
2024-02-10 17:17:06 +00:00
Adam Cooke
ed2e62b94f
feat: remove strip_received_headers config option
...
This previously removed all Received headers which were sent to the smtp
server when enabled. This is not something that should be happening.
2024-02-07 09:45:12 +00:00
Adam Cooke
15f9671b66
feat: privacy mode
...
Adds support for hiding IP addresses & hostnames associated with clients sending
authenticated mail in to Postal over SMTP and HTTP
2024-02-07 09:45:09 +00:00
Adam Cooke
54306a9748
fix: adds new connection pool which will discard failed clients
...
closes #2780
2024-02-06 12:43:28 +00:00
Adam Cooke
4528a14d27
fix: fixes issue starting application in production mode
...
I haven't observed these all that recently and these fixes are temporary until
I have time to look properly.
2024-02-03 22:17:51 +00:00
Adam Cooke
96ba4b8f30
refactor: remove Postal.database_url
2024-02-01 18:09:39 +00:00
Adam Cooke
ce19bf7988
fix: use utc timestamps when determining raw table names
2024-02-01 16:41:41 +00:00
Adam Cooke
4a46f690de
feat: load signing key path from POSTAL_SIGNING_KEY_PATH
2024-01-30 14:13:19 +00:00
Adam Cooke
854aa5ebc8
feat: support for configuring postal with environment variables
2024-01-30 13:11:56 +00:00
Adam Cooke
990b575902
refactor: remove Postal::Job.perform method
...
this wasn't used
2024-01-30 11:06:39 +00:00
Adam Cooke
2bad645d98
fix: don't use indifferent access for job params
...
All jobs refer to parameters using string keys.
closes #2477
closes #2714
closes #2476
closes #2500
2024-01-30 11:06:22 +00:00
Adam Cooke
0f9882f132
refactor: remove explicit autoload
2024-01-30 09:15:25 +00:00
Charlie Smurthwaite
8b525d0381
fix: match IPv4 mapped IPv6 addresses when searching for SMTP-IP credentials
2023-05-15 01:10:43 +01:00
Charlie Smurthwaite
f0a8aca6e1
fix: duplicate string before modifying it to prevent frozen string errors
2023-05-15 00:52:32 +01:00
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
159509a3ed
Connect to SMTP by IP addresses rather than hostname
2023-03-22 14:46:06 +00:00
Joost Kalwij - van Horssen
c6fb8d223b
Make resent-sender header optional ( #2384 )
2023-03-22 14:01:04 +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
87e9b3e346
Use DKIM identifier from config file instead of hardcoded value
2023-03-17 12:25:10 +00:00
Charlie Smurthwaite
fd289c46fd
style(rubocop): fix all safe auto correctable offenses
2023-03-16 15:50:53 +00:00
Florent Poinsaut
2e82deebae
Allow SMTP server to load different key types ( #2126 )
2023-03-13 14:11:10 +00:00
Charlie Smurthwaite
a188a161cb
Truncate 'output' field to avoid overflowing varchar(512) in database
2023-03-13 13:50:16 +00:00
wadabum
9b1ed1e7e1
Log access CRAM-MD5 authentication failures ( #2304 )
...
see https://github.com/postalserver/postal/issues/1182#issuecomment-1360832523
2023-03-13 11:41:51 +00:00
Wouter van Os
9f4ef8f57a
fix: do not change \r to \r\n ( #2154 )
...
As this may cause issues when a new buffer is exactly in between \r and \n.
Fixes #1624
2023-01-23 15:09:35 +00:00
Charlie Smurthwaite
a7dd19baac
Use non-blocking function to negotiate TLS connections
2022-11-09 13:55:17 +00:00
Adam Cooke
0dc6824a8f
fix: retry connections without SSL when SSL issue is encountered during smtp sending
2022-09-12 12:48:49 +01:00
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 Sudhakaran
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