Email consuming problem #117
Comments
Can you try to change the following from:
to:
that is, removing the quotating-marks? I have had issues before with quotating-marks being part of the variable itself. If your password contains spaces and further issues arise, you should also be able to quote the entire line:
If this is in fact the issue, we should update the documentation regarding quotes! |
It seems that quotating-marks were the problem. Now consumer throw SSL message: consumer_1 | [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:645) I have changed the SSL in /usr/src/paperless/src/paperless/settings.py MAIL_CONSUMPTION = { But seems that the container inst able to apply the changes dynamically. Maybe because the consumer is in the infinite loop and dont listen the changes??. Is neccesary compile the python proyect??? Should i to build my own container with this change and restart the containers?? Thx |
Finding a solution, seems that python to work with SSL need this module https://github.com/python-git/python/blob/master/Modules/_ssl.c |
If you make changes to a config file, you have to restart the consumer. Otherwise, it won't know that anything has changed. I also note that you've got
Note that by default most Python installations should have SSL enabled by default. In fact, it'd be very weird if it weren't installed that way, so your solution proposed here should not be necessary. Indeed, it should already be the case. |
The issue is that the I see two options:
|
Ah I see it now. Yes, the |
I remember now why I didn't do this in the first place. Setting booleans via environment variables makes for ugly code. It should be working now though. @pitkley, do we need to add something to |
@danielquinn Nope, nothing more needed. Thanks for implementing! 👍 @buhino An up-to-date Docker image is available from Docker Hub, simply |
Good morning everyone, im testing the email consuming via docker with this config:
PAPERLESS_CONSUME_MAIL_HOST="mydomain.com"
PAPERLESS_CONSUME_MAIL_PORT=143
PAPERLESS_CONSUME_MAIL_USER="paperless@mydomain.com"
PAPERLESS_CONSUME_MAIL_PASS="******"
The output nc in the consumer container:
root@06b23568a3f4:/usr/src/paperless/src# nc -vv mail.mydomain.com 143
DNS fwd/rev mismatch: mail.mydomain.com != ns1.mydomain.com
mail.mydomain.com [87.98.227.144] 143 (imap2) open
And now the error:
consumer_1 | Starting document consumer at /consume
consumer_1 | [Errno -2] Name or service not known
consumer_1 | [Errno -2] Name or service not known
The error isnt so much descriptive :(
Anyone know anything about this??
Thx and best reggards.
The text was updated successfully, but these errors were encountered: