Forums: users (Thread #9672)

`authenticate': unknown auth type (2005-12-20 02:50 by Anonymous #18607)

imap上のフォルダにまとめたメールを、再学習させようと以下のようにした際に、題名のようなエラーが出て、うまくいきません。
%bsfilter --imap --config-file ~/.bsfilter/bsfilter.conf --sub-clean --add-spam inbox.Junk.clean2spam

ただ、下のコマンドでは問題なく実行されるため、confファイルの書き間違いではないようです。
% bsfilter --imap --imap-fetch-unflagged --insert-flag --insert-probability --imap-folder-spam inbox.Junk inbox

またサーバ名やパスワードをすべてオプションで指定しても同じエラーが表示されます。
どなたか解決方法をご教授ください。

エラーは以下のとおりです。
/usr/local/lib/ruby/1.8/net/imap.rb:353:in `authenticate': unknown auth type - "USER_NAME" (ArgumentError)
from (eval):24:in `auto_authenticate'
from /usr/local/bin/bsfilter:2238:in `update_token_dbs'
from /usr/local/bin/bsfilter:3261:in `run'
from /usr/local/bin/bsfilter:3339

Reply to #18607×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: `authenticate': unknown auth type (2005-12-20 21:51 by Anonymous #18633)

1.0.6から1.0.7以降にバージョンアップした時に,同じ症状になります.

/usr/local/lib/ruby/1.8/net/imap.rb:353:in `authenticate': unknown auth type - "TOGAWA" (ArgumentError)
from (eval):24:in `auto_authenticate'
from /usr/local/bin/bsfilter:2238:in `update_token_dbs'
from /usr/local/bin/bsfilter:3261:in `run'
from /usr/local/bin/bsfilter:3339

confファイルの関係部分は以下のとおりです.
imap-server localhost
imap-port 143
imap-user togawa
imap-password password
imap-folder-clean inbox
imap-folder-spam inbox.0spam

Reply to #18607

Reply to #18633×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: `authenticate': unknown auth type (2005-12-20 21:53 by Anonymous #18634)

実行したコマンドは
bsfilter -u -C -s --imap inbox.1spam_to_bsfilter
でした.
Reply to #18633

Reply to #18634×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: `authenticate': unknown auth type (2005-12-20 23:05 by nabeken #18636)

すみません。バグだと思われます。
全くテストしていないのですが、revision 1.76をcommitしました。動作確認後、release 1.0.11として出したいと思います。
Reply to #18607

Reply to #18636×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: `authenticate': unknown auth type (2006-01-12 21:47 by Anonymous #19041)

遅くなりましたが,動作確認できました.
ありがとうございました.
Reply to #18636

Reply to #19041×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: `authenticate': unknown auth type (2006-01-14 18:24 by nabeken #19095)

1.0.11 をリリースしました
Reply to #19041

Reply to #19095×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login