Commit Graph
10 Commits
Author SHA1 Message Date
Charlie Smurthwaite 04f69ece30 chore(release): 2.1.3 2023-04-17 09:07:49 +01:00
Charlie Smurthwaite 159509a3ed Connect to SMTP by IP addresses rather than hostname 2023-03-22 14:46:06 +00: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 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
Charlie Smurthwaite 02c93a4850 style(rubocop): install rubocop configuration 2023-03-16 15:50:02 +00:00
Charlie Smurthwaite 7ea00dfa3b Correctly match link in multipart/alternative messages 2023-03-13 15:23:20 +00:00
Charlie Smurthwaite a188a161cb Truncate 'output' field to avoid overflowing varchar(512) in database 2023-03-13 13:50:16 +00:00
Charlie Smurthwaite a7dd19baac Use non-blocking function to negotiate TLS connections 2022-11-09 13:55:17 +00:00