Commit Graph

98 Commits

Author SHA1 Message Date
Tristan B. Kildaire 98c6208fe7 Fixed missing import 2021-01-23 12:34:30 +02:00
Tristan B. Kildaire b4501b5da1 Enabled gogga printlns in client.d 2021-01-23 12:33:58 +02:00
Tristan B. Kildaire c044ec5b31 Code cleanup 2021-01-21 17:44:45 +02:00
Tristan B. Kildaire 738eb9397b API update for 'listFolder' and 'listMail' 2020-07-29 12:21:17 +02:00
Tristan B. Kildaire 65a5ece0c0 Added response for 'moveMail' 2020-07-29 12:18:50 +02:00
Tristan B. Kildaire d8b32368e7 Fixed bug whereby JSONValue object did not exist causing failure, for 'storeMail' 2020-07-29 11:00:52 +02:00
Tristan B. Kildaire fbfc45ec09 Fixed bug whereby JSONValue object did not exist causing failure, for 'storeMail' 2020-07-29 10:57:05 +02:00
Tristan B. Kildaire 0bf0af860a Fixed bug whereby JSONValue object did not exist causing failure, for 'storeMail' 2020-07-29 10:54:19 +02:00
Tristan B. Kildaire d091800ce7 Implemented mail moving 2020-07-28 09:11:48 +02:00
Tristan B. Kildaire 5d12378cd3 Implemented folder deletion in the protocol 2020-07-27 21:54:34 +02:00
Tristan B. Kildaire 478cafd229 Implemented 'deleteMessage' 2020-07-27 21:10:23 +02:00
Tristan B. Kildaire 1e8cd9117d Return mailID of stored mail 2020-07-27 17:02:03 +02:00
Tristan B. Kildaire 785113e5f8 Fixed all compile errors within client.d 2020-07-27 14:56:36 +02:00
Tristan B. Kildaire 1d50c30e29 Implemented `isLocalDomain` function to check if the domain of a recipient is that of this mail server 2020-07-27 14:18:03 +02:00
Tristan B. Kildaire f1756e250a Updated debug prints 2020-07-20 23:46:41 +02:00
Tristan B. Kildaire ded976f709 Upddated error messages 2020-07-20 23:29:04 +02:00
Tristan B. Kildaire 2f204f0e83 Fixed error report sending code placement. 2020-07-20 20:41:48 +02:00
Tristan B. Kildaire 1c43e05e70 Fixed JSON type error 2020-07-20 20:38:48 +02:00
Tristan B. Kildaire 7a3ff57364 Report print out for testing 2020-07-20 20:37:23 +02:00
Tristan B. Kildaire 690e601ab1 Fixed delivery report. 2020-07-20 20:32:57 +02:00
Tristan B. Kildaire bd6c0b6e2a Add mail delivery report printout. 2020-07-20 20:30:19 +02:00
Tristan B. Kildaire 4b28df59f4 Fixed bug whereby the list of failed recipients constructed during mail delivery was not constrcted correctly. 2020-07-20 20:21:45 +02:00
Tristan B. Kildaire c711ad7b19 Add message JSON to the delivery report. 2020-07-20 20:05:16 +02:00
Tristan B. Kildaire 1fcbd5b8f9 Added mail delivery report on failure to delivery to local recipients. 2020-07-20 19:29:13 +02:00
Tristan B. Kildaire b703af686e Cleaned up.
Added documentation.
2020-07-20 19:22:27 +02:00
Tristan B. Kildaire 726e0d2e84 Fixed recipient for mail delivery report 2020-07-20 17:36:13 +02:00
Tristan B. Kildaire 364f5e670f On failed delivery to recipients on remote hosts, generate and send a delivery report to the user. 2020-07-20 17:19:19 +02:00
Tristan B. Kildaire d65077f150 Added code to check whether or not a error delivery message must be sent. 2020-07-18 20:03:29 +02:00
Tristan B. Kildaire b299bd2515 Append the recipient to a list of those whereby mail delivery failed 2020-07-18 19:58:39 +02:00
Tristan B. Kildaire 27ed30a815 Fixed JSON parsing bug in sendMail 2020-07-18 17:39:45 +02:00
Tristan B. Kildaire 0506137e82 Added TODO 2020-07-18 17:38:28 +02:00
Tristan B. Kildaire eaf7caea06 Updated TODO 2020-07-18 17:31:36 +02:00
Tristan B. Kildaire 99d03d63ca Removed debug messages. 2020-07-18 09:37:47 +02:00
Tristan B. Kildaire 90b2a34dd1 Big fixed/ 2020-07-17 21:38:07 +02:00
Tristan B. Kildaire 15f9e363ab One last debug message added. 2020-07-17 21:28:39 +02:00
Tristan B. Kildaire 2774bccfae Added debug message 2020-07-17 21:23:14 +02:00
Tristan B. Kildaire a112517f4c Added debug print 2020-07-17 17:15:23 +02:00
Tristan B. Kildaire 5292264b65 Test 2020-07-17 17:13:34 +02:00
Tristan B. Kildaire 8ecdaed372 Added ebug print for awaiting response after mail delivery. 2020-07-17 17:08:37 +02:00
Tristan B. Kildaire d605591493 Print domain 2020-07-17 16:39:35 +02:00
Tristan B. Kildaire 02db8a8d3d Testing 2020-07-17 16:29:42 +02:00
Tristan B. Kildaire a9dcffb929 Use `remoteHost` and `remotePort` fields 2020-07-17 15:12:26 +02:00
Tristan B. Kildaire 04cfdbdde6 Split domain ito hostname and port 2020-07-17 15:07:33 +02:00
Tristan B. Kildaire 7056bd7a23 Added todo 2020-07-17 14:30:09 +02:00
Tristan B. Kildaire 30053478a5 Filtering to be done using bester. 2020-06-21 15:34:45 +02:00
Tristan B. Kildaire 6c3a9dfa41 Fixed bug whereby incoming mail filters did not apply to mail locally inbound. 2020-06-21 15:31:43 +02:00
Tristan B. Kildaire 69a0cabda1 Moved imports up to top of module.
Added field to all outgoing mail, `sendTimestamp`
2020-06-21 15:23:16 +02:00
Tristan B. Kildaire 0c87ba04a1 Added mail filtering subsystem (imcomplete) for outgoing mail as well.
Also moved some of the work that was done in the main command handler for `sendMail` into the `filterMailOutgoing` filter function.
2020-06-21 15:22:29 +02:00
Tristan B. Kildaire aca9c4cc1b Added mail filtering stub. 2020-06-21 15:00:32 +02:00
Tristan B. Kildaire 7578c2938c Append `from` field to outgoing mail message for `sendMail` command. 2020-06-20 23:49:59 +02:00