Skip to content

cannot use self signed certificate #289

@graemev

Description

@graemev

I want to use imapfilter to move emails between my home imap server and a commercial one. They use starttls so the option options.starttls needs to be true.

(I tried my simple example with options.starttls=false and it works fine)
(I use starttls with thunderbird to my home imap server (dovecot) , it also works fine)

Reading:
#123

It would seem I should just need to do:

$ imapfilter -c imaptest1.lua -d debug

And I should get a prompt (to which I should reply P) ...as you can see (below) I get no such prompt:


$ imapfilter -c imaptest1.lua -d debug 
imapfilter: initiating SSL connection to imap.home; error:0A000086:SSL routines::certificate verify failed


graeme@real:~/src/email_tools/imapfilter$ cat debug
getting response (4):

* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN] Dovecot (Debian) ready.

sending command (4):

1000 NOOP

getting response (4):

1000 OK NOOP completed.

sending command (4):

1001 CAPABILITY

getting response (4):

* CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN
1001 OK Pre-login capabilities listed, post-login capabilities have more.

sending command (4):

1002 STARTTLS

getting response (4):

1002 OK Begin TLS negotiation now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions