Ralph Slooten
2d42c87285
Remove redundant check
2025-06-21 17:03:25 +12:00
Ralph Slooten
c208d71a33
Fix formatting
2025-06-21 00:14:17 +12:00
Ralph Slooten
7dee371721
Merge branch 'develop' of github.com:axllent/mailpit into develop
2025-06-19 22:30:22 +12:00
Ben Edmunds
95e3ef6fca
Feature: Allow version checking to be disabled ( #524 )
2025-06-19 22:29:20 +12:00
Ralph Slooten
f88a42fda4
Fix docblock casing
2025-06-18 17:27:31 +12:00
Ralph Slooten
3aae06ff6b
Fix: Improve version polling, add thread safety and exponential backoff ( #523 )
...
Squashed commit of the following:
commit 1ed713dd8de2adb7d761e20bb8018804c2e27ea6
Author: Ralph Slooten <axllent@gmail.com >
Date: Wed Jun 18 17:03:36 2025 +1200
Refactor latest version caching, add console logging if update checks fails
commit bf880e583372d81a0597bc263ab22f6989e48fa9
Author: Ben Edmunds <Tigger2014@users.noreply.github.com >
Date: Wed Jun 18 05:52:35 2025 +0100
Fix: Improve version polling, add thread safety and exponential backoff (#523 )
* make version polling thread safe and add expo backoff
* tidy up
2025-06-18 17:04:07 +12:00
Ralph Slooten
4b5ce0afed
Feature: Store username with messages, auto-tag, and UI display ( #521 )
2025-06-18 16:41:04 +12:00
Ralph Slooten
a1110e5ad8
Chore: Update caniemail testing database
2025-06-14 17:27:40 +12:00
Ralph Slooten
1520143c45
Test: Add small delay in POP3 test after disconnection to allow for background deletion in rqlite
2025-06-14 12:18:36 +12:00
Ralph Slooten
5107ce0191
Fix: Use float64 for returned SQL value types for rqlite compatibility ( #520 )
...
The goqlite library is designed to be flexible and does not make assumptions about the types of JSON values returned from rqlite, using the type `any` for variables. When a numeric value is received in the response, the `any` type does not specify a numeric type, leading Go to default to using `float64`.
2025-06-14 11:52:11 +12:00
Jens-Hilmar Bradt
40afef8ffd
Fix: Add optional message_num argument in POP3 LIST command ( #518 )
...
https://datatracker.ietf.org/doc/html/rfc1939#page-6
> If an argument was given and the POP3 server issues a positive response with a line containing information for that message. This line is called a "scan listing" for that message.
2025-06-13 23:13:51 +12:00
Ralph Slooten
e3538cb86a
Improve Prometheus GetMode detection
2025-06-06 17:43:20 +12:00
Ben Edmunds
82d7bdc971
Feature: Add Prometheus exporter ( #505 )
2025-06-06 14:33:49 +12:00
Ralph Slooten
4dff7adc1d
Reorder send API CLI flags
2025-05-30 11:03:30 +12:00
Ben Edmunds
9bfdeb5f7b
Feature: Send API allow separate auth ( #504 )
...
Co-authored-by: Ben Edmunds <ben.edmunds@dotdigital.com >
2025-05-30 08:34:40 +12:00
Ralph Slooten
b84b428434
Chore: Add note to swagger docs about API date formats
2025-05-25 09:56:53 +12:00
Ralph Slooten
ff272d1c5e
Chore: Extend latest version cache expiration from 5 to 15 minutes
2025-05-20 16:55:37 +12:00
Ralph Slooten
74c6a0a434
Chore: Switch from unnecessary float64 to uint64 API values for App Information, message & attachment sizes
2025-05-20 16:51:02 +12:00
Ralph Slooten
25580b9a68
Chore: Update caniemail database
2025-05-18 10:48:05 +12:00
Ralph Slooten
84a519e84d
Fix: Include SMTPUTF8 capability in SMTP EHLO response ( #496 )
2025-05-17 01:09:17 +12:00
Ralph Slooten
e1a6904eca
Chore: Upgrade to jhillyerd/enmime/v2
2025-05-17 00:34:29 +12:00
Ralph Slooten
bc200c663f
Docs: Add Message ListUnsubscribe to swagger / API documentation ( #494 )
2025-05-13 19:27:27 +12:00
Ralph Slooten
8691afd850
Chore: Update caniemail database
2025-05-03 16:15:53 +12:00
Ralph Slooten
1400936760
Feature: Add ability to mark all search results as read ( #476 )
2025-04-06 18:11:37 +12:00
Ralph Slooten
20b2eb22d4
Chore: Standardize error message casing
2025-03-29 22:20:10 +13:00
Ralph Slooten
6c0ef5ba33
Feature: Add TLS forwarding support and refactor forwarding function
2025-03-29 22:20:09 +13:00
San Chen
2dbc4ea601
Feature: Add TLS relay support and refactor relay function ( #471 )
...
* Feature: Add TLS relay support and refactoring the relay function
* Fix: Prevent simultaneous use of TLS and STARTTLS in relay configuration validation
2025-03-29 22:20:09 +13:00
Ralph Slooten
b4131dbeae
Testing: Add tests for inline HTML Checks
2025-03-15 11:55:03 +13:00
Ralph Slooten
e3e1d734b6
Chore: Improve inline HTML Check style detection ( #467 )
...
Using goquery sometimes resulted in incorrect partial matches, eg `transform:` matching `text-transform:`. This refactor switches to regex matches which should prevent this, and allow more accurate detection.
2025-03-15 11:54:22 +13:00
Ralph Slooten
25671ba94f
Chore: Use Message-ID header instead of Message-Id when generating new IDs (RFC 5322)
2025-03-13 17:34:10 +13:00
Ralph Slooten
ac9b7de295
Fix: Allow searching messages using only Cyrillic characters ( #450 )
2025-03-04 16:51:19 +13:00
Ralph Slooten
3c2e227d32
Ignore gosec warnings for dump folder / file permissions
2025-03-01 23:11:24 +13:00
Ralph Slooten
b827d75c3e
Feature: Add configuration to disable SQLite WAL mode for NFS compatibility
2025-03-01 22:51:42 +13:00
Ralph Slooten
784e3de8a1
Testing: Add tests for message compression levels
2025-03-01 22:51:41 +13:00
Ralph Slooten
6e9760d5d9
Feature: Add configuration to set message compression level in db (0-3) ( #447 & #448 )
2025-03-01 22:51:22 +13:00
Ralph Slooten
aafd2a20d9
Chore: Minor speed & memory improvements when storing messages
2025-03-01 22:51:21 +13:00
Ralph Slooten
284e66f0ba
Chore: Optimize ZSTD encoder for fastest compression of messages ( #447 )
2025-03-01 22:51:21 +13:00
Ralph Slooten
8995cddfa5
Chore: Handle BLOB storage for default database differently to rqlite to reduce memory overhead ( #447 )
2025-03-01 22:51:20 +13:00
Ralph Slooten
8401ffff22
Fix: Display the correct STARTTLS or TLS runtime option on startup ( #446 )
...
This is just a cosmetic fix as the functionality itself was working correctly, however the runtime log said "STARTTLS required" regardless which was set.
2025-03-01 22:51:20 +13:00
Ralph Slooten
1db502ef4e
Fix: Correctly detect maximum SMTP recipient limits, add test
2025-02-15 22:57:25 +13:00
Ralph Slooten
8878ece19f
Feature: Add dump feature to export all raw messages to a local directory ( #443 )
2025-02-15 14:33:11 +13:00
Ralph Slooten
7c366669c7
Fix: Update Swagger JSON to prevent overflow ( #442 )
2025-02-14 16:10:54 +13:00
Ralph Slooten
61a1ed0e49
Remove duplication of swagger:model Triggers
2025-02-14 15:44:19 +13:00
Ralph Slooten
0c63c29769
Feature: Add optional query parameter for HTML message iframe embedding ( #434 )
2025-02-05 15:25:15 +13:00
Ralph Slooten
d7df895261
Feature: SMTP auto-forwarding option ( #414 )
2025-01-26 12:39:39 +13:00
Ralph Slooten
a95bc3d29f
Feature: Option to override the From email address in SMTP relay configuration ( #414 )
2025-01-26 00:22:57 +13:00
Ralph Slooten
4d86297169
Feature: Add Chaos functionality to test integration handling of SMTP error responses ( #402 , #110 , #144 & #268 )
...
Closes #405
2025-01-25 12:17:15 +13:00
Ralph Slooten
2a6ab0476b
Correct format string in EHLO response
2025-01-25 11:57:32 +13:00
Ralph Slooten
168049faf9
Refactor write & writef arguments
2025-01-18 14:47:20 +13:00
Ralph Slooten
e30754a167
Fix: Correct date formatting in TestMakeHeaders
2025-01-01 22:49:23 +13:00