- edited description
"imap-ssl" option is missing in the "Import" function of the GUI
piler version: piler 1.3.11, build 1001, fresh (docker) install
Hi,
I’m testing the docker images everything is ok, great tool, I noticed in the Import function of the GUI that there is not an “imap-ssl” option (like decribed here for the enterprise edition https://mailpiler.com/import-over-the-gui/) and because of this the import from some providers - such as gmail.com - cannot be done (it works via pilerimport but, if I have understood, the GUI Import allows automatically and periodically importing… without it I have to set a cronjob or similar). If this is due to the free edition please sorry me and close the issues.
Regards!
ps: I added $config['ENABLE_IMPORT'] = 1;
in the right file, but nothing. Maybe this line can be added in any case in the docker image.
Comments (8)
-
reporter -
repo owner Get imapfetch.py from the master branch, it defaults to use ssl.
Also you need to add */5 * * * * /usr/libexec/piler/import.sh to piler’s crontab.
-
reporter Hi, uhm I will try… I have seen the python code and just tested it replacing port 143 with 993, obtaining
Processing "[Gmail]"
Traceback (most recent call last):
File "./imapfetch.py", line 188, in <module>
main()
File "./imapfetch.py", line 172, in main
process_folder(conn, folder)
File "./imapfetch.py", line 65, in process_folder
n = int(data[0])
ValueError: invalid literal for int() with base 10: b'[NONEXISTENT] Unknown Mailbox: [Gmail] (now in authenticated state) (Failure)'
How the cronjob undestood what mail account it has to import and how it understood which are the new mails to import for the account?
Seeing the code, if I undestood, I have to execute imapfetch.py with the right parameters for each email account, once; this parameters are saved in a table and import.sh use them to download new mails every 5 minutes?
I’m missing something… with pilerimport I imported the mail but if I re-executed it, it seems to re-process all of them; and I dont know how to scheduling it…
-
reporter Ok, I’ve copied the imapfetch.py from the master but nothing, always has similar errors:
Traceback (most recent call last):
File "/usr/libexec/piler/imapfetch.py", line 193, in <module>
main()
File "/usr/libexec/piler/imapfetch.py", line 177, in main
process_folder(conn, folder)
File "/usr/libexec/piler/imapfetch.py", line 65, in process_folder
n = int(data[0])
ValueError: invalid literal for int() with base 10: b'[NONEXISTENT] Unknown Mailbox: [Gmail] (now in authenticated state) (Failure)'
-
repo owner I’ve just added imap-ssl to the gui with this commit: https://bitbucket.org/jsuto/piler/commits/a31f5b7a2620ac1f400fd2646715e508f5b63b22
-
repo owner - changed status to closed
-
reporter Hi, thanks for the fix…!!! it has been integrated in the docker version? I’m not expert about how import your commit in the container/code
-
repo owner No, it’s not integrated yet.
- Log in to comment