Ralph Slooten
dddc52a668
Feature: Set tagging filters via a config file
2024-04-26 14:52:10 +12:00
Ralph Slooten
15a5910695
Feature: Search filter support for auto-tagging
2024-04-25 23:04:35 +12:00
Ralph Slooten
cbcf0be1a2
Feature: Option to auto relay for matching recipient expression only ( #274 )
2024-04-20 23:42:36 +12:00
Ralph Slooten
072db266be
Fix: Add delay to close database on fatal exit ( #280 )
2024-04-20 10:28:12 +12:00
Ralph Slooten
31e4f84f9a
Chore: Remove deprecated --disable-html-check option
2024-04-13 00:25:48 +12:00
Ralph Slooten
48c73ae97b
Chore: Switch database flag/env to --database
/ MP_DATABASE
...
The original `--db-file` / `MP_DATA_FILE`, although deprecated, won't be removed any time soon to ensure backwards compatibility with existing integrations
2024-04-12 14:47:47 +12:00
Ralph Slooten
6a410a28b6
Feature: Add optional tenant ID to isolate data in shared databases ( #254 )
2024-04-09 21:30:56 +12:00
Ralph Slooten
a805567810
Feature: Add readyz subcommand for Docker healthcheck ( #270 )
2024-03-31 00:06:25 +13:00
Ralph Slooten
83c70aa7c1
Chore: Code cleanup, remove redundant functionality
2024-03-24 21:37:37 +13:00
Ralph Slooten
528c35eec6
Feature: Add SMTP TLS option ( #265 )
2024-03-17 14:57:41 +13:00
Ralph Slooten
a324d817b3
Feature: Allow setting SMTP relay configuration values via environment variables ( #262 )
2024-03-12 17:10:13 +13:00
Ralph Slooten
053779c656
Chore: Reorder CLI flags to group by related functionality
2024-03-12 17:10:07 +13:00
Ralph Slooten
0f725ef1d8
Feature: Option to enforce TitleCasing for all newly created tags
2024-03-01 17:22:13 +13:00
Ralph Slooten
f548bbb874
Feature: Optional POP3 server ( #249 )
...
Originally requested in #72
2024-02-24 23:10:48 +13:00
Ralph Slooten
26a2095674
Chore: Security improvements (gosec)
2024-02-17 12:38:30 +13:00
Ralph Slooten
7318c5ca4a
Feature: Add option to log output to file ( #246 )
2024-02-05 22:20:57 +13:00
Ralph Slooten
dda0b0c8a6
Feature: Add TLSRequired option for smtpd ( #241 )
2024-01-27 23:00:07 +13:00
Ralph Slooten
6725db4fa5
Feature: Add option to disable SMTP reverse DNS (rDNS) lookup ( #230 )
2024-01-21 09:05:08 +13:00
Ralph Slooten
9cda71f21a
Feature: Add optional SpamAssassin integration to display scores ( #233 )
2024-01-20 12:07:49 +13:00
Ralph Slooten
cdab59b295
Feature: Add option to only allow SMTP recipients matching a regular expression (disable open-relay behaviour #219 )
2024-01-03 12:06:36 +13:00
Ralph Slooten
83e291208a
Chore: Standardize error logging & formatting
2024-01-01 15:25:38 +13:00
Ralph Slooten
262b77b0fe
Testing: Add new ingest
subcommand to import an email file or maildir folder over SMTP
2023-12-17 10:12:36 +13:00
Ralph Slooten
085e76f33e
Feature: Add configuration option to set maximum SMTP recipients ( #205 )
2023-12-14 16:26:12 +13:00
Ralph Slooten
f69106a67a
Deprecate environment MP_STRICT_RFC_HEADERS => MP_SMTP_STRICT_RFC_HEADERS
2023-12-14 16:26:12 +13:00
Ralph Slooten
4c5b024eca
Feature: Option to allow untrusted HTTPS certificates for screenshots & link checking ( #204 )
2023-11-11 23:10:43 +13:00
Ralph Slooten
f29016a175
Docs: Update documentation links
2023-10-25 10:01:03 +13:00
Ralph Slooten
140bdd6c20
Feature: Set optional webhook for received messages ( #195 )
2023-10-20 23:16:56 +13:00
Ralph Slooten
2b18b1bee1
Feature: Add reindex
subcommand to reindex all messages
2023-10-05 17:04:05 +13:00
Ralph Slooten
044525fcca
Chore: Remove some flags deprecated 08/2022
2023-09-29 16:44:03 +13:00
Ralph Slooten
0ab4210640
Feature: Set auth credentials directly from environment variables
...
Credentials for the UI and SMTP can now be exported via the `MP_UI_AUTH` and `MP_SMTP_AUTH` environment variables. See #173
2023-09-29 16:40:23 +13:00
Ralph Slooten
737cff5a96
Chore: Update internal/storage import paths
2023-09-25 19:29:32 +13:00
Ralph Slooten
b6d5a8c182
Chore: Update internal import paths
2023-09-25 19:29:30 +13:00
Ralph Slooten
7875160aa7
Feature: Workaround for non-RFC-compliant message headers containing <CR><CR><LF>
...
Due to a bug in some common sendmail implementations and PHP >=8.0, message headers sometimes contain `\r\r\n` which is not RFC compliant.
Mailpit will now fix these non-compliant headers. This can be disabled via `--smtp-strict-rfc-headers`
See #87 / #153
2023-08-15 17:13:25 +12:00
Ralph Slooten
1922651d41
Feature: HTML check to test & score mail client compatibility with HTML emails
2023-07-30 17:04:06 +12:00
Ralph Slooten
7d2716ee17
UI: Add flag to block all access to remote CSS and fonts (CSP)
...
This is now set to allow by default.
@see #140
2023-07-29 22:25:37 +12:00
Ralph Slooten
4e2f02ee0a
Fix: Only display sendmail help when sendmail subcommand is invoked
...
This was overriding all Mailpit's help commands
2023-06-15 09:50:11 +12:00
Ralph Slooten
48387c3a13
Rename hidden long flags
2023-06-07 07:35:34 +12:00
Ronaldo Richieri
a2ab350aff
Fix: Add single dash arguments support to sendmail command ( #123 )
...
mailpit sendmail -t was not working because of the single dash argument
parsing. This commit fixes it.
Co-authored-by: Ronaldo Richieri <ronaldo@bestpractical.com>
2023-06-07 07:33:47 +12:00
Ralph Slooten
e5888ede8b
Bugfix: Fix sendmail/startup panic
...
Fixes #122
2023-06-03 17:18:52 +12:00
Ralph Slooten
c01f473e79
Feature: Add sendmail -bs
functionality
...
Symfony's mailer uses `sendmail -bs` by default. This adds the required internal telnet functionality to connect directly to the SMTP server.
2023-06-03 10:57:13 +12:00
Ralph Slooten
316b5d7c66
Feature: Add -S
short flag for sendmail --smtp-addr
2023-05-05 15:23:51 +12:00
Ralph Slooten
5f919cc9dd
Feature: Option to ignore duplicate Message-IDs
...
This option (default off) silently ignores any new messages with duplicate Message-IDs. This update includes a new database structure and automatic rebuild of existing data.
2023-05-04 21:48:09 +12:00
Ralph Slooten
7c62dca14b
API: Enable cross-origin resource sharing (CORS) configuration
...
This feature allows the setting of the `Access-Control-Allow-Origin` header via `--api-cors`.
@see #91
2023-04-21 12:49:49 +12:00
Ralph Slooten
04462f76c6
API: Message relay / release
...
This enables a SMTP server to be configured, and messages to be manually "released" via the relay server. Aditionally, messages can be auto-relayed via the SMTP server do Mailpit acts as a form of caching proxy.
@see #29
2023-04-21 12:10:13 +12:00
Ralph Slooten
2752a09ca7
Move logging variable level to logger module
2023-04-21 11:59:26 +12:00
Ralph Slooten
9c8329a05c
Feature: Inject/update Bcc header for missing addresses when SMTP recipients do not match messsage headers
...
In order to capture Bcc recipients from some platfoms (eg: Laravel) when the SMTP recipients contain Bcc recipients but are not listed in the message headers, the missing addresses are now added into the message Bcc header. If the Bcc header does not exist then it is created.
Resolves #35
2023-04-15 11:34:31 +12:00
Ralph Slooten
85291683b6
Bugfix: Enable SMTP auth flags to be set via env
...
Fixes #77
2023-04-01 22:37:31 +13:00
Ralph Slooten
169c476c56
Feature: Rename SSL to TLS, add deprecation warnings to flags & ENV variables referring to SSL
2023-03-31 18:44:06 +13:00
Ralph Slooten
57b0e1666f
Feature: Options to support auth without STARTTLS, and accept any login
...
@see #56
2023-03-31 18:44:06 +13:00
Ralph Slooten
a9ce35b741
Feature: Option to use message dates as received dates (new messages only)
2023-03-31 18:44:05 +13:00