Giter Site home page Giter Site logo

Comments (6)

acatton avatar acatton commented on May 20, 2024

I can take a look at it @Nithanim . Quick question are you running zeyple on python2 or python 3?

from zeyple.

Nithanim avatar Nithanim commented on May 20, 2024

Thank you so much for that! I am not sure how postfix calles the script but when I type "python" in bash it prints "Python 2.7.3".

from zeyple.

Nithanim avatar Nithanim commented on May 20, 2024

So yesterday and today I waited for an email that bounced again (the send plain on bounce would still be great). This might be related to this issue but I am not sure about that.

Sep 12 16:48:23 host postfix/pipe[11251]: 7D00536A00A: to=<myemail>, orig_to=<mypublicemail>, relay=zeyple, delay=1.7, delays=0.53/0.04/0/1.1, dsn=5.3.0, status=bounced (Command died with status 1: "/usr/local/bin/zeyple.py". Command output: Traceback (most recent call last):   File "/usr/local/bin/zeyple.py", line 264, in <module>     zeyple.process_message(message, recipients)   File "/usr/local/bin/zeyple.py", line 105, in process_message     out_message = self._encrypt_message(in_message, key_id)   File "/usr/local/bin/zeyple.py", line 156, in _encrypt_message     payload = payload.encode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 431: ordinal not in range(128) )

The emails in question are the verification emails of discord. I hope there is nothing private in it: https://gist.github.com/Nithanim/e9a38c05b66201be922d81b098e9923d

Thank you in advance :)

from zeyple.

infertux avatar infertux commented on May 20, 2024

Hi @Nithanim,

Thanks for your patience. This should be fixed now (please reopen the issue if not).

Here's a helper script to upgrade to v1.2.0: https://github.com/infertux/zeyple/blob/master/upgrade.sh

from zeyple.

Nithanim avatar Nithanim commented on May 20, 2024

Hello @infertux,

Thank you so much for your work!
Unfortunately, I had to convert my environment (from semi-production) to production completely and I had to disable zeyple in this process.
I might be able to enable it again when it is guaranteed that no email gets lost (#20) and no double encryption is possible (#32). However, I am still not so sure if zeyple is production-ready.
Since I still got no time for anything (including tinkering with this :( ), you can take all time you need :)

from zeyple.

infertux avatar infertux commented on May 20, 2024

No problem. I wouldn't use Zeyple for anything critical, at least until #20 is done like you say. I just wish I could spend more time on this project... hopefully it'll be production-ready one day :)

from zeyple.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.