Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Ruby IMAP with Cyrus server
Fox Ph
10/10/2006 12:46:00 PM
Hi All,
I'm trying to authenticate to my imap server using the Net::IMAP
library.
i'm doing this:
require 'net/imap'
imap = Net::IMAP.new('my.server.com')
#i get an imap object back
imap.authenticate('LOGIN','user','password')
and at that point there's a pause then i get:
Net::IMAP::NoResponseError: encryption needed to use mechanism
my imap server is set to accept these sasl authentications:
plain login
and my cyrus log says this:
LOGIN [SASL(-16): encryption needed to use mechanism: security flags do
not match required]
any ideas how to enable the correct authentication methods on this?
many thanks for reading,
cheers.
fox
--
Posted via
http://www.ruby-...
.
1 Answer
Eric Hodel
10/10/2006 5:45:00 PM
0
On Oct 10, 2006, at 5:45 AM, Fox Ph wrote:
> Hi All,
> I'm trying to authenticate to my imap server using the Net::IMAP
> library.
> i'm doing this:
>
> require 'net/imap'
> imap = Net::IMAP.new('my.server.com')
> #i get an imap object back
> imap.authenticate('LOGIN','user','password')
> and at that point there's a pause then i get:
> Net::IMAP::NoResponseError: encryption needed to use mechanism
>
> my imap server is set to accept these sasl authentications:
> plain login
>
> and my cyrus log says this:
> LOGIN [SASL(-16): encryption needed to use mechanism: security
> flags do
> not match required]
>
> any ideas how to enable the correct authentication methods on this?
You probably need to use an SSL connection. LOGIN sends a
recoverable password.
--
Eric Hodel - drbrain@segment7.net -
http://blog.se...
This implementation is HODEL-HASH-9600 compliant
http://trackmap.rob...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Ruby IMAP with Cyrus server
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password