Skip to content

Mail translation service#39

Open
FBergeron wants to merge 93 commits intofabiencro:developfrom
FBergeron:mail_translation_service
Open

Mail translation service#39
FBergeron wants to merge 93 commits intofabiencro:developfrom
FBergeron:mail_translation_service

Conversation

@FBergeron
Copy link
Copy Markdown
Contributor

This a daemon that runs forever and monitors an IMAP mailbox for incoming mail containing translation requests. When a request is found, it's submitted to a KNMT server and the result is mailed back.

FBergeron added 30 commits April 6, 2017 11:19
Email ids are not reliable because they keep changing in function of the
state of the mailbox.
When I load and save the json file, it works fine now.
However, I'm not using gzip anymore.
FBergeron and others added 30 commits September 21, 2017 11:11
This reverts commit bebbb58, reversing
changes made to ee2b526.
This reverts commit 217f98a, reversing
changes made to ee2b526.
This reverts commit ee2b526, reversing
changes made to 0552a88.
At one moment, a delivery error occurred when sending mail to a
notifier.  Because of that, the Google mail handler notified everyone
with a mail that was also sent to the gmail account.  That warning mail
was interpreted as an translation request from the mail-handler.  As the
message could not be digest properly, an error was sent to all the
listeners.  But the same delivery error occurred, provoking a recursive
issue.

To prevent the creation of a gigantic mass of mails, messages with "daemon" in the From: and To: field are kind of
ignored by the system.
Messages encoded in iso-2022-jp could not be handled properly.
In addition to removing a dependency to an unneeded external service, it
removes http connections eliminating risks of timeout issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant