tpitale / mail_room

Forward mail from gmail IMAP to a callback URL or job worker, simply.
MIT License
193 stars 51 forks source link

certificate verify failed #129

Closed ahmadabdelhalim closed 3 years ago

ahmadabdelhalim commented 3 years ago

I keep getting "certificate verify failed (OpenSSL::SSL::SSLError)" when I use the command mail_room -c config/mailroom.yml and I don't understand why exactly, any help?

tpitale commented 3 years ago

Sounds like the certificates on the machine you're running mail_room on does not have them properly configured. Please look up how to configure certificates on the machine. That error is fairly common in the Ruby world.

You can also disable SSL verification, but I would advise against it. (Section about verify_mode in https://github.com/tpitale/mail_room#imap-server-configuration)