imap使用時にget_tagged_responseのエラーが出る (2005-04-03 23:56 by Anonymous #13562)
imapで使用予定ですが、実行したところ
% bsfilter --imap --imap-fetch-unflagged --insert-flag --insert-probability --imap-folder-spam test/spam test/test
/usr/local/lib/ruby/1.8/net/imap.rb:970:in `get_tagged_response': The specified
authentication package is not supported. (Net::IMAP::NoResponseError)
from /usr/local/lib/ruby/1.8/net/imap.rb:1021:in `send_command'
from /usr/local/lib/ruby/1.8/net/imap.rb:1006:in `synchronize'
from /usr/local/lib/ruby/1.8/net/imap.rb:1006:in `send_command'
from /usr/local/lib/ruby/1.8/net/imap.rb:357:in `authenticate'
from (eval):24:in `auto_authenticate'
from /usr/local/bin/./bsfilter:2451:in `do_imap'
from /usr/local/bin/./bsfilter:3015:in `run'
from /usr/local/bin/./bsfilter:3066
とエラーが出て上手く動いてくれません。
FAQにあったものを実行すると
% ruby /usr/local/lib/ruby/1.8/net/imap.rb --user=hoge --auth=
login hogehoge.jp
password: *****
/usr/local/lib/ruby/1.8/net/imap.rb:970:in `get_tagged_response': The specified
authentication package is not supported. (Net::IMAP::NoResponseError)
from /usr/local/lib/ruby/1.8/net/imap.rb:1021:in `send_command'
from /usr/local/lib/ruby/1.8/net/imap.rb:1006:in `synchronize'
from /usr/local/lib/ruby/1.8/net/imap.rb:1006:in `send_command'
from /usr/local/lib/ruby/1.8/net/imap.rb:357:in `authenticate'
from /usr/local/lib/ruby/1.8/net/imap.rb:3285