Open
Conversation
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.
This reverts commit fbc011c.
This reverts commit 956dcc0.
This reverts commit a0de020.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.