wmorgan/heliotrope — Issue #28: imap-dumper.rb needs ssl (can't --dont-use-ssl)
Author: emory
Created: 2011-11-28 15:58:22+00:00
State: open

```ruby -Ilib bin/heliotrope-add -i imapserver.local --dont-use-ssl
IMAP username: lusername
IMAP password:
/Projects/heliotrope/lib/heliotrope/imap-dumper.rb:117:in `block in initialize': need ssl (ArgumentError)
from /Projects/heliotrope/lib/heliotrope/imap-dumper.rb:115:in `each'
from /Projects/heliotrope/lib/heliotrope/imap-dumper.rb:115:in `initialize'
from bin/heliotrope-add:94:in `new'
from bin/heliotrope-add:94:in `

'
```

I get an error for self-signed SSL when I connect using SSL and couldn't figure out how to tell heliotrope to trust my untrustworthy self-signed certificate.

Upon attempting to use non-SSL'ed IMAP (which I have enabled server-side, using dovecot and enabling plain-text authentication) I get the above error.

I'm not sure that I'm not doing something dumb.