Adam Cooke
c3c304e98b
refactor: remove reloading on the smtp server
2024-02-13 15:51:44 +00:00
Adam Cooke
ec636661d5
style(rubocop): remaining offences
2024-02-12 09:55:20 +00:00
Adam Cooke
c6326a6524
style(rubocop): Style/MultilineBlockChain
2024-02-12 09:55:19 +00:00
Adam Cooke
013b3ea931
style(rubocop): Style/PreferredHashMethods
2024-02-12 09:55:19 +00:00
Adam Cooke
ffcb707247
style(rubocop): Style/MissingRespondToMissing
2024-02-12 09:55:19 +00:00
Adam Cooke
83ac764510
style(rubocop): Style/HashExcept
2024-02-12 09:55:19 +00:00
Adam Cooke
c995027ff5
style(rubocop): Style/HashEachMethods
2024-02-12 09:55:19 +00:00
Adam Cooke
ec7dcf4f9a
style(rubocop): Lint/UnderscorePrefixedVariableName
2024-02-12 09:55:19 +00:00
Adam Cooke
a1dc0f77ac
style(rubocop): Lint/DuplicateBranch
2024-02-12 09:55:18 +00:00
Adam Cooke
0e0aca06c9
style(rubocop): Layout/*
2024-02-12 09:55:18 +00:00
Adam Cooke
9ce28a427f
style(rubocop): Style/SelectByRegexp
2024-02-12 09:55:18 +00:00
Adam Cooke
157d11457c
style(rubocop): Style/GlobalVars
2024-02-12 09:55:18 +00:00
Adam Cooke
4674e63b5f
style(rubocop): Lint/MissingSuper
2024-02-12 09:55:15 +00:00
Adam Cooke
75be690748
style(rubocop): Style/GlobalStdStream
2024-02-12 09:40:35 +00:00
Adam Cooke
9563f30c96
style(rubocop): Naming/MemoizedInstanceVariableName
2024-02-12 09:40:34 +00:00
Adam Cooke
00a02f2655
style(rubocop): Style/SafeNavigation
2024-02-12 09:40:34 +00:00
Adam Cooke
04a34831c7
style(rubocop): Style/For
2024-02-12 09:40:34 +00:00
Adam Cooke
6a58ecf605
style(rubocop): Style/IdenticalConditionalBranches
2024-02-12 09:40:31 +00:00
Adam Cooke
6ad56ee9c9
style(rubocop): Lint/IneffectiveAccessModifier
2024-02-10 23:03:28 +00:00
Adam Cooke
c558f1c69c
style(rubocop): Style/NumericPredicate
2024-02-10 22:59:30 +00:00
Adam Cooke
7119e8642d
style(rubocop): Lint/ShadowingOuterLocalVariable
2024-02-10 22:51:09 +00:00
Adam Cooke
bd85920565
style(rubocop): Style/WordArray
2024-02-10 22:39:43 +00:00
Adam Cooke
129dffab9e
style(rubocop): Style/MutableConstant
2024-02-10 17:34:29 +00:00
Adam Cooke
ee94e4e1a0
style(rubocop): Lint/UnusedBlockArgument
2024-02-10 17:20:13 +00:00
Adam Cooke
7590a46234
style(rubocop): Lint/UselessAssignment
2024-02-10 17:18:24 +00:00
Adam Cooke
e142d0da5f
style(rubocop): Layout/LineLength
2024-02-10 17:18:23 +00:00
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