IMAP config template #32

Closed
opened 2019-10-02 13:17:52 +03:00 by bruce78 · 4 comments

Is there any chance you can add an IMAP connection template to the default config file? Something like Gmail or similar would be great if possible? Thanks...

Is there any chance you can add an IMAP connection template to the default config file? Something like Gmail or similar would be great if possible? Thanks...

Thank you for your request, I've added a template in fb8a4b020d. I haven't tested Gmail yet and I expect it not to be very standards compliant? If you try it please post your results!

Thank you for your request, I've added a template in fb8a4b020d. I haven't tested Gmail yet and I expect it not to be very standards compliant? If you try it please post your results!

Ok... I've hit an error with configuring an IMAP account, here are some of the error messages...

bruce@bruce-vaio:~/Downloads/meli/target/release$ ./meli
Config file contains errors: missing field `accounts` at line 1 column 1
bruce@bruce-vaio:~/Downloads/meli/target/release$ ./meli
Config file contains errors: invalid type: boolean `true`, expected a string for key `accounts.imap` at line 28 column 1
bruce@bruce-vaio:~/Downloads/meli/target/release$ ./meli
Config file contains errors: expected an equals, found a newline at line 28 column 16

And here's the section from the config file

[accounts."imap"]         
root_folder = "INBOX"
format = "imap"
server_hostname="mail.mydomain.net"
server_password="12345"
server_username="email@mydomain.net"
server_port="993" # imaps
server_port="465" # STARTTLS
use_starttls=true #optional
index_style = "Conversations"
identity = "email@mydomain.net"
display_name = "Me"
subscribed_folders = ["INBOX", "INBOX/Sent", "INBOX/Drafts", "INBOX/Junk"]

Do you know what I'm missing?

Ok... I've hit an error with configuring an IMAP account, here are some of the error messages... ``` bruce@bruce-vaio:~/Downloads/meli/target/release$ ./meli Config file contains errors: missing field `accounts` at line 1 column 1 bruce@bruce-vaio:~/Downloads/meli/target/release$ ./meli Config file contains errors: invalid type: boolean `true`, expected a string for key `accounts.imap` at line 28 column 1 bruce@bruce-vaio:~/Downloads/meli/target/release$ ./meli Config file contains errors: expected an equals, found a newline at line 28 column 16 ``` And here's the section from the config file ``` [accounts."imap"] root_folder = "INBOX" format = "imap" server_hostname="mail.mydomain.net" server_password="12345" server_username="email@mydomain.net" server_port="993" # imaps server_port="465" # STARTTLS use_starttls=true #optional index_style = "Conversations" identity = "email@mydomain.net" display_name = "Me" subscribed_folders = ["INBOX", "INBOX/Sent", "INBOX/Drafts", "INBOX/Junk"] ``` Do you know what I'm missing?

Oh, this one seems like an oversight on my part. use_starttls should be a string boolean i.e. "true"/"false". I will write a fix to convert it automatically.

Oh, this one seems like an oversight on my part. use_starttls should be a string boolean i.e. "true"/"false". I will write a fix to convert it automatically.

Ok... thanks...

Ok... thanks...
Manos Pitsidianakis referenced this issue from a commit 2019-12-05 00:04:21 +02:00
Manos Pitsidianakis referenced this issue from a commit 2019-12-13 00:40:33 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meli/meli#32
There is no content yet.