Melle Douwsma
b7e5232e07
fix: typo in process logging ( #3212 )
...
Signed-off-by: Melle Douwsma <melledouwsma@users.noreply.github.com >
2025-10-03 09:41:20 +01:00
Arthur Lutz
f5325c49ff
docs(process.rb): add help about time unit used by metric ( #3339 )
...
Signed-off-by: Arthur Lutz <arthur.lutz@zenika.com >
2025-10-01 17:31:13 +01:00
Adam Cooke
ea542a0694
feat(worker): scale connection pool with worker threads
...
This will automatically increase the DB connection pool size if the number of threads needed in a worker is less than the maximum pool size configured.
2024-03-18 08:12:42 +00:00
Adam Cooke
7e2acccd1e
feat(worker): allow number of threads to be configured
...
This allows for more threads to be run. Care needs to be taken to ensure that database connection pool size is appropriate for this.
2024-03-17 18:41:26 +00:00
Adam Cooke
ee8d829a85
feat(prometheus): add postal_message_queue_latency metric
2024-03-17 09:29:22 +00:00
Adam Cooke
4fcb9e9a2e
fix(message-dequeuer): ability to disable batching
2024-03-16 15:31:46 +00:00
Adam Cooke
92406129cf
fix(smtp-server): fixes proxy protocol
2024-03-13 18:16:08 +00:00
Adam Cooke
58dddebeb8
fix: fixes postal default-dkim-record
2024-03-13 16:54:53 +00:00
Adam Cooke
96d73653d7
feat: add sha256 signatures to outgoing http requests ( #2874 )
2024-03-13 08:52:29 +00:00
Adam Cooke
9982bb8c31
fix(smtp-server): add additional information to cram-md5 log entries
2024-03-12 20:54:40 +00:00
Adam Cooke
4e13577891
style(rubocop): Style/TrailingCommaInArrayLiteral
2024-03-12 11:45:44 +00:00
Adam Cooke
d84152eb5d
feat: automatically remove queued messages with stale locks ( #2872 )
2024-03-12 11:37:29 +00:00
Adam Cooke
e2d642c0cb
fix(message-dequeuer): ensure SMTP endpoints are sent to SMTP sender appropriately
...
closes #2853
2024-03-06 14:09:29 +00:00
Adam Cooke
9bf6152060
fix(smtp-server): reset ansi sequence after logging
2024-03-05 22:13:43 +00:00
Adam Cooke
0dc7359431
fix(smtp-server): remove ::ffff: from the start of ipv4 addresses
2024-03-05 22:13:42 +00:00
Adam Cooke
ce30c070bd
refactor: switch to use SecureRandom for random strings
2024-03-04 17:33:25 +00:00
Adam Cooke
cae4b63599
refactor: refactor log use within SMTP server
...
Additionally adds logging when authentication is required but not provided.
closes #2794
closes #2791
2024-03-04 17:16:52 +00:00
Adam Cooke
e1bae60768
feat: include list-unsubscribe-post header in dkim signatures
...
closes #2789
closes #2788
2024-03-04 14:32:05 +00:00
Adam Cooke
9dd00f6edd
fix: fix bug in smtp server when exceptions occur
2024-03-04 13:55:16 +00:00
Adam Cooke
defb5114d0
fix: fix smtp TLS
2024-03-04 13:42:01 +00:00
Adam Cooke
fadca88f45
fix: raise an error if MX lookup times out during sending
...
This avoids potentially sending mail to the A record when an MX query times out.
closes #2833
2024-03-01 21:36:07 +00:00
Adam Cooke
2621a190b1
fix: fixes issue with SMTP sender with address endpoints
2024-03-01 18:27:53 +00:00
Adam Cooke
0140dc4483
feat: only accept RFC-compliant End-of-DATA sequence
...
Previously Postal was fairly forgiving about line endings. This requires that the end of data sequence is `<CR><LF>.<CR><LF>`.
2024-03-01 17:12:10 +00:00
Adam Cooke
633c509a45
refactor: refactor the SMTP sender
2024-03-01 09:54:22 +00:00
Charlie Smurthwaite
be0df7b463
fix: translate unicode domain names to Punycode for compatibility with DNS ( #2823 )
2024-02-29 15:02:30 +00:00
Adam Cooke
0163ac3d10
feat: new configuration system (and schema) ( #2819 )
2024-02-26 12:41:57 +00:00
Adam Cooke
bea7450d8f
feat: add prometheus metrics to worker
2024-02-24 11:19:48 +00:00
Adam Cooke
2e7b36c1be
feat: add prometheus metrics to smtp server
2024-02-24 11:01:28 +00:00
Adam Cooke
a2eb70edf1
feat: add health server and prometheus metrics to worker
2024-02-23 22:51:38 +00:00
Adam Cooke
e3bc9da253
refactor: move lib/postal/received_header to app/lib/received_header
2024-02-23 22:51:36 +00:00
Adam Cooke
5cc9eb3df7
refactor: move lib/postal/reply_separator to app/lib/reply_separator
2024-02-23 22:51:36 +00:00
Adam Cooke
321ab95936
refactor: move lib/postal/smtp_server to app/lib/smtp_server
2024-02-23 22:51:36 +00:00
Adam Cooke
73a55a5053
refactor: move senders in to app/senders/
2024-02-23 22:51:36 +00:00
Adam Cooke
eb246bb4e7
refactor: move app/util/* to app/lib/
2024-02-23 22:51:36 +00:00
Adam Cooke
93fc120f44
refactor: move worker from lib/worker to app/lib/worker
2024-02-23 22:51:36 +00:00
Adam Cooke
a44e1f9081
refactor: refactors message dequeueing ( #2810 )
2024-02-23 22:51:36 +00:00