Install various packages on remote server, ie Postfix
A. Modify MTA so that so that MIME attachments are split recursively by GMIME and a SHA-256 based hash of email attachments name(s) and and sub-component files of attachment(s)becomes a static link
B. Modify DBMail (specifically, dbmail-lmtpd, using LMTP aka Local Mail Transport Protocol) so that the above exploded attachments SHA-256 based hash of email attachments name(s) and sub-component filenames of attachment(s) are placed into DBmail (as as opposed to the attachment), meaning the hierarchial filename(s) and SHA-256 hash are the only components stored in dbMail
C. Push exploded attachment files to OCR engine and create API to DBmail so that text from OCR for each attachment file(s) is returned a text field in DB
## Deliverables
Ideally this is:-
a) Convert existing sendmail ruleset to Postfix, and mbox to maildir
The VALUE ADDED EXTRAS are:-
Install Postfix
b) Modify MTA so that so that MIME attachments are split recursively by GMIME and a SHA-256 based hash of email attachments name(s) and and sub-component files of attachment(s)becomes a static link
c) Modify DBMail (specifically, dbmail-lmtpd, using LMTP aka Local Mail Transport Protocol) so that the above exploded attachments SHA-256 based hash of email attachments name(s) and sub-component filenames of attachment(s) are placed into DBmail (as as opposed to the attachment), meaning the hierarchial filename(s) and SHA-256 hash are the only components stored in dbMail
d) Push exploded attachment files to OCR engine and create API to DBmail so that text from OCR for each attachment file(s) is returned a text field in DB
e) Modify dbMail to allow user text annotations to email that is stored sparately to email but dislayed to user under client (ie annotation is never forwarded in error)
f) Modify DBMail so outbound attachments over 1Mb are stored (with SHA-256) and a static link is inserted in outbound email attachments field