Commit graph

1034 commits

Author SHA1 Message Date
Andris Reinman b8efbfce4f
Index emails for accounts with indexing feature flag 2023-03-10 11:13:12 +02:00
Andris Reinman eb496b509c
v1.38.3 2023-03-09 12:36:28 +02:00
Andris Reinman ddcd8ee8bf
Disable MTA-STS for relayed emails with custom routing 2023-03-09 12:32:44 +02:00
Andris Reinman d0d2a0e140
Log acme results to graylog 2023-01-19 10:46:12 +02:00
Andris Reinman 3610fe9793
started with ES 2023-01-09 11:57:15 +02:00
Andris Reinman 1aa9b9e14a
Do not use sorting for mass action tasks 2022-12-22 09:49:28 +02:00
Andris Reinman 92d54f3bc8
Include BIMI in search results 2022-12-22 09:27:09 +02:00
Andris Reinman ba11d5fc25
v1.38.2 2022-12-15 16:13:28 +02:00
Andris Reinman 583e577b35
Do not break messages with long HTML content 2022-12-15 15:56:31 +02:00
Andris Reinman 8b1bc8b736
Merge branch 'master' of github.com:nodemailer/wildduck 2022-12-15 10:55:57 +02:00
Andris Reinman 831514145a
ensure origin in hook request 2022-12-15 10:55:53 +02:00
Louis Laureys 5f695b2198 Add threadId to exists event 2022-12-11 13:09:24 +00:00
Louis Laureys 35ac8e74cf Only sort searhc by date if order is set 2022-12-10 16:20:51 +00:00
Louis Laureys 1a210d184d Merge remote-tracking branch 'upstream/master' into sort-search-by-date 2022-12-10 14:05:12 +00:00
Andris Reinman 99cd233476
v1.38.0 2022-12-04 11:39:42 +02:00
Andris Reinman 4c940fc3f4
Limit envelope size for draft submissions 2022-12-04 11:18:53 +02:00
Andris Reinman da30e1a046
Replaces argon2-browser with hash-wasm module 2022-12-01 15:35:42 +02:00
Andris Reinman 5a48c662d6
Make sure that wrapped middleware does not return anything 2022-11-24 15:57:11 +02:00
Andris Reinman 4686b81875
Added restifyError handler 2022-11-24 13:21:10 +02:00
Andris Reinman e27eea14ff
Upgraded to Restify v9. Removed next() calls. 2022-11-24 12:26:10 +02:00
Kay Zumbusch b2b4338b15 issue 436: fix regular expression for base64 validation 2022-11-17 20:00:10 +01:00
Andris Reinman 8db04520d6
Fixed acme cert upgrade 2022-11-16 11:38:56 +02:00
Andris Reinman 15fe3c28dc
Added new option 'bimi' for message uploads 2022-11-03 13:50:17 +02:00
Andris Reinman 0d327c1315
Added preauth API endpoint 2022-10-07 10:13:05 +03:00
Andris Reinman 4437a60a3b
Added account export and import API endpoints 2022-10-06 13:57:06 +03:00
Andris Reinman e213df2255
started with import stream parser 2022-09-20 15:49:14 +03:00
Andris Reinman c1acc970d1
started with export/import feature 2022-09-20 15:35:10 +03:00
Andris Reinman ef6fb48b3f
v1.37.5 2022-09-20 11:25:44 +03:00
Andris Reinman 3b138ef4b1
Include BIMI info in message listing 2022-08-31 12:30:13 +03:00
Andris Reinman d3efe41bfb
Mark sent messages as seen 2022-08-24 12:07:14 +03:00
Andris Reinman 4dfee77bf3
Log message restore info to Gelf 2022-08-23 10:04:26 +03:00
Andris Reinman 9c61d147df
Skip BIMI SVG errors if VMC validation succeeded 2022-08-17 22:13:02 +03:00
Andris Reinman 3f738389ba
Fixed CA handling for SNI certificates 2022-08-16 15:22:47 +03:00
jissepo 357b39c880
Remove credential transport type from authenticationOptions allowed credentials list
This is marked as SHOULD in the spec, but it causes chrome 103 to not display "android phone" as a suitable option for authentication even if it is added and the hybrid transportation type is added to the allowed list.
2022-08-15 13:43:45 +03:00
Louis Laureys d197a962e3 Merge remote-tracking branch 'upstream/master' into sort-search-by-date 2022-08-10 18:05:28 +00:00
Andris Reinman a8348e893a
Added message size value to the response of message upload request 2022-08-09 11:11:06 +03:00
Andris Reinman 957359c528
Allow to limit the count of filters per account 2022-07-28 11:54:26 +03:00
Andris Reinman a2b2053222
v1.37.3 2022-07-19 13:26:42 +03:00
Andris Reinman 35d7dff0da
v1.37.2 2022-07-19 09:22:46 +03:00
Andris Reinman 7cc5b2b75c
v1.37.1 2022-07-18 23:06:41 +03:00
Andris Reinman f7d9c75cfb
Use buffers for BIMI docs 2022-07-18 23:03:56 +03:00
Andris Reinman 14d2351123
v1.37.0 2022-07-18 20:24:04 +03:00
Andris Reinman 70afcd44c8
Allow range from UID to end for message updates 2022-07-08 12:23:36 +03:00
Andris Reinman 6a5e6f7793
Removed extra $pull 2022-07-07 13:01:10 +03:00
Andris Reinman 04ba496dc7
bunch of fixes 2022-07-05 11:57:57 +03:00
Andris Reinman f8af999040
allow to configure ASP limit dynamically 2022-07-04 17:18:07 +03:00
Andris Reinman d7cbfccb79
Set a maximum limit for application passwords (50) 2022-07-04 16:52:08 +03:00
Andris Reinman 032c468e8a
prefer user email as the username for plugins 2022-06-27 11:49:07 +03:00
Andris Reinman 28cf0e9ff1
Include user id and origin IP as part of the envelope value provided to plugins 2022-06-21 11:12:59 +03:00
Andris Reinman 73e01827cb
Added partial support for running Zone-mta plugins for message queueing 2022-06-21 10:30:26 +03:00
Andris Reinman 5da63a290d
Allow to specify relaying party ID for Webauthn requests 2022-06-07 12:08:41 +03:00
Andris Reinman 4c542be9c0
Force rehashing of DES hashes 2022-05-24 17:09:24 +03:00
Andris Reinman 7ef45b2307
Added support for DES password hashes 2022-05-24 17:01:45 +03:00
jissepo cf401233cb
Webauthn registration now only excludes same type credentials
This fixes what seems to be a Mac fingerprint reader specific error, where if you have a cross platform authenticator registered, and then try to register a platform authenticator the credentials.create() function always end-s up timing out. 
But returning only the same type of credentials fixes this.
2022-05-24 13:13:29 +03:00
jissepo fda7f199ad
Added rpId to webauthnAssertAuthentication expectations
This allows for authentication from subdomains. Fido2Lib.assertionResult compares the rpIdHash returned by the users browser, and since the key is created on the main domain it can't use the passed in origin for the hash comparison. 

The related Fido2Lib line: a5003fa5bf/lib/validator.js (L437)
2022-05-24 11:43:19 +03:00
Andris Reinman 46961586c5
Changed permissions for deleteing webauthn token 2022-05-18 09:17:04 +03:00
Andris Reinman ee56f13859
fix updated interval 2022-05-16 12:11:41 +03:00
Andris Reinman ec3ec86846
Allow batch updating messages based on search query 2022-05-16 12:08:06 +03:00
Andris Reinman f47ac59f4b
use html parser when preprocessing HTML for message submit structures 2022-05-16 09:32:01 +03:00
Andris Reinman 6045004dc5
Backported API tests from the Hapi branch 2022-05-16 00:18:24 +03:00
Louis Laureys aca00fbf72 Sort message search by date 2022-05-05 02:23:50 +02:00
Andris Reinman f00730a16e
allow subjects up to 2048b 2022-03-29 15:36:07 +03:00
Andris Reinman f7d0c1e80d
include session id in error log messages 2022-03-10 12:08:23 +02:00
Andris Reinman c1c08039a1
removed extra console.log 2022-03-07 10:48:17 +02:00
Andris Reinman f3517370e7
Only list specific type of keys when authenticating 2022-03-07 10:32:28 +02:00
Andris Reinman 5be8f6eb7c
Updated defaults for webauthn 2022-03-07 09:58:22 +02:00
Andris Reinman 778dfac7ed
removed u2f, added webauthn 2022-03-06 00:08:48 +02:00
Andris Reinman ea2d15c9b9
log session id for POP3 2022-01-12 13:50:17 +02:00
Andris Reinman e6bd2f1cf8
Allow to automatically delete previous draftby reference 2021-11-15 14:22:00 +02:00
Justin8303 e85a7703f2 Fixed bug where unencrypted ssl certs are not working probably 2021-11-13 15:38:44 +01:00
Andris Reinman be50d27467
do not count stats only for a single page 2021-11-02 15:55:29 +02:00
Andris Reinman bb59b538e6
Increased cursor page size 2021-10-12 19:36:51 +03:00
Andris Reinman 6b555c050f
pass loggelf for certificate handler 2021-10-08 17:30:15 +03:00
Andris Reinman 17a3d6107c
special case for email lines that end with carriage return only 2021-10-08 17:10:53 +03:00
Andris Reinman ec0715865f
/filters api endpoint updates 2021-10-04 14:06:45 +03:00
Andris Reinman 2173a5c38f
Forward tracking 2021-10-04 11:57:43 +03:00
Andris Reinman 544cd16c34
v1.35.6 2021-10-01 14:33:48 +03:00
Andris Reinman 1b2bebc7b5
include forward resolution in gelf logs 2021-10-01 14:06:26 +03:00
Andris Reinman ca3a365d96 fixed a but with invalid property check 2021-09-14 09:43:09 +03:00
Andris Reinman 5e5a3d7eb0 throw if encryption secret is not provided 2021-09-13 11:56:18 +03:00
Louis Laureys d7d73179ee Make thread counters work correctly 2021-09-12 22:15:39 +02:00
Louis Laureys 48be006eba Add optional thread message counters to listing 2021-09-12 20:25:51 +02:00
Andris Reinman dfe694161b make sure that fingerprint is shown in acme respose 2021-09-10 12:27:31 +03:00
Andris Reinman 4ee6f98ed1 v1.35.5 2021-09-10 10:42:50 +03:00
Andris Reinman 97b53a4fd3 prefer pkcs1 for acme certs 2021-09-10 10:21:33 +03:00
Andris Reinman bf60817694 prefer pkcs1 for acme account 2021-09-10 10:04:22 +03:00
Andris Reinman c8cd86575d log acme redirects 2021-09-08 16:09:14 +03:00
Andris Reinman fe42aa505e allow unauthenticated login if disableSTARTTLS is set to true 2021-09-06 15:29:40 +03:00
Andris Reinman 6e5d8a546d 1.35.4 2021-09-06 14:54:37 +03:00
Andris Reinman cdfc1be2eb Made autoreply interval configurable 2021-09-06 14:19:47 +03:00
Andris Reinman 3110d9bb24 v1.35.3 2021-09-05 14:59:15 +03:00
Andris Reinman 549655394a mixed missing key entry for settings.get 2021-09-05 14:51:10 +03:00
Andris Reinman 64c47ec587 v1.35.1 2021-09-05 14:11:24 +03:00
Andris Reinman 6ccaec201e added simple admin page for settings 2021-09-04 15:32:27 +03:00
Andris Reinman d1885c28e0 Updated /settings endpoint. Added new setting keys 2021-09-04 10:30:50 +03:00
Andris Reinman f500a275af Added settings endpoint, allow to override ARCHIVE_TIME 2021-09-04 00:19:24 +03:00
Andris Reinman eb3e26e153 Upgraded OpenPGP to v5 2021-09-03 21:32:39 +03:00
Andris Reinman 9422d02373 prefer pkcs8 to pkcs1 2021-08-30 13:04:13 +03:00
Andris Reinman 7671a5e140 reverted privateKeyEncoding frmat 2021-08-30 11:23:20 +03:00
Andris Reinman 9075fc226d Merge branch 'master' of github.com:nodemailer/wildduck 2021-08-30 11:22:05 +03:00
Andris Reinman 53cda36329 Upgrade Mongodb library from 3 to 4
update
2021-08-30 11:21:50 +03:00
James Alvarez 3ae17c463d changed encoding of public and private keys 2021-08-30 13:21:58 +08:00
Louis Laureys c03e029b86 Add idate to EXISTS update entry 2021-08-07 00:28:21 +02:00
Andris Reinman 864fa8d8b6 use write lock for move api 2021-07-05 22:31:25 +03:00
Andris Reinman 9419e832cc use locking for MOVE 2021-07-05 20:37:32 +03:00
Andris Reinman db5306274a use locking for EXPUNGE 2021-07-05 20:31:35 +03:00
Andris Reinman 0ef9f442c9 fixed dkim key loading 2021-07-05 15:58:08 +03:00
Andris Reinman 6d3badf1db refactored encrypted fields 2021-07-05 15:24:01 +03:00
Andris Reinman dba85f7fde renewing ACME certs 2021-06-22 15:10:23 +03:00
Andris Reinman 14ecd5cf90 Updated lock handling 2021-06-21 20:32:25 +03:00
Andris Reinman 0c7ad4c107 typo 2021-06-21 15:18:58 +03:00
Andris Reinman 5536bc0f93 added new API endpoint to get info about deleted users 2021-06-21 15:17:31 +03:00
Andris Reinman c50c5097f0 added log for lock error 2021-06-21 14:28:40 +03:00
Andris Reinman bb7c25c8e5 rolled back some constants 2021-06-21 10:49:31 +03:00
Andris Reinman f0062b1aaa Updated task handler 2021-06-20 13:40:04 +03:00
Andris Reinman 9ae177869e Generate ACME certs 2021-06-15 10:47:18 +03:00
Andris Reinman 383bcd6ee2 testing out acme-generated certificates 2021-06-11 15:07:40 +03:00
Andris Reinman d95f4fe4cd allow to use predefined asp passwords 2021-06-04 10:34:26 +03:00
Andris Reinman fb3356e759 include idate value in message info 2021-06-03 16:04:10 +03:00
Andris Reinman 425652d4c0 use public properties to check if a socket is open or not 2021-05-31 16:19:44 +03:00
Andris Reinman 9c04a286e2 updated error codes for API 2021-05-21 20:14:43 +03:00
Andris Reinman 25eb5b198b ensure non-200 response for errors 2021-05-20 14:47:20 +03:00
Andris Reinman 5020adaf22 allow searching certs by SAN 2021-05-20 11:33:53 +03:00
Andris Reinman 2d381db260 testcase for POST certs 2021-05-19 19:43:13 +03:00
Andris Reinman a03c97a943 updates for cert handling 2021-05-15 20:29:11 +03:00
Andris Reinman eec5d66094 Allow using SNI TLS certificates with IMAP/POP3 2021-05-13 17:08:14 +03:00
Andris Reinman 4edad37888 Log submitted drafts to GELF 2021-05-06 14:01:21 +03:00
Andris Reinman 7a4e9514ef fixed broken SEARCH UID response 2021-04-27 13:10:08 +03:00
Andris Reinman 96dbe65f81 v1.33.1 2021-04-26 10:54:19 +03:00
Andris Reinman d487102571 filter by delivered-to 2021-04-26 10:16:21 +03:00
Andris Reinman 2d4cc85257 allow to provide default target mailbox for stored messages 2021-04-21 11:29:30 +03:00
Andris Reinman 8401b5ba7a use noCursorTimeout for mbox queries 2021-04-16 13:31:50 +03:00
Andris Reinman 0df624d39e use noCursorTimeout for mbox queries 2021-04-16 13:29:52 +03:00
Andris Reinman ce15670d7c Make sure that addressregister addresses are decoded from mime-words 2021-04-15 15:41:08 +03:00
Andris Reinman d5503a202e added missing space after challenge response 2021-04-07 11:15:26 +03:00
Andris Reinman 0869d7b391 include retention info in mailboxes list 2021-03-26 11:22:50 +02:00
Andris Reinman 20fda17be4 include hash value in attachment output 2021-03-26 09:58:05 +02:00
Andris Reinman 83f4a0598c removed received header parsing 2021-02-26 16:43:29 +02:00
Andris Reinman f56a19f6b2 include received info in webhook 2021-02-26 16:34:11 +02:00
Andris Reinman b921021d0a Added SPAM/HAM marking webhook 2021-02-26 14:00:13 +02:00
Andris Reinman 97c2ce77b6 added minSize and maxSize search parameters 2021-02-18 10:19:13 +02:00
Andris Reinman b62c7c47b9 v1.32.3 2021-02-09 12:08:53 +02:00
Andris Reinman daa9ac4e29 delete user record placeholder once delete task is completed 2021-01-22 17:40:33 +02:00
Andris Reinman f2f09dce57 added endpoint to recover a deleted user 2021-01-22 15:52:35 +02:00
Andris Reinman 71363e369f use cursor for deleting messages 2021-01-15 10:40:03 +02:00
Andris Reinman 374c96f078 updated user delete task 2021-01-08 10:35:01 +02:00
Andris Reinman e5f97ebd05 updated user delete task 2021-01-08 10:31:43 +02:00
Andris Reinman 766746945d Do not use _id in API response 2021-01-07 09:41:48 +02:00
Andris Reinman ac7073c852 bumped deps 2021-01-04 14:20:48 +02:00
Andris Reinman ea53bac4bf added API endpoint to delete outbound emails 2021-01-04 11:40:44 +02:00