[milter-manager-users-ja] [ANN] milter manager 2.1.1

Back to archive index

Kazuhiro NISHIYAMA zn****@mbf*****
2017年 8月 29日 (火) 23:18:33 JST


西山和広です。

> 実験的な機能ですが、Rmilter[1]とRspamd proxy[2]の自動検出をサポートしま
> した。
> RmilterはRspamd1.6から非推奨なのでRspamdを使うようにしてください。

この変更の影響だと思うのですが、amd64 の Debian GNU/Linux 9.1 (stretch) の
環境で sudo service milter-manager restart を実行すると、以下のように
エラーになります。

Aug 29 23:07:59 hostname milter-manager[30008]: TypeError: no implicit conversion of nil into String:
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager/rs
pamd-proxy-detector.rb:10:in `executable?'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager/rs
pamd-proxy-detector.rb:10:in `detect'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager/de
tector.rb:93:in `detect_rspamd_proxy_connection_spec'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager/sy
stemd-detector.rb:110:in `guess_application_specific_spec'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager/sy
stemd-detector.rb:96:in `guess_spec'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager/sy
stemd-detector.rb:24:in `enabled?'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager/de
bian-detector.rb:15:in `apply'
Aug 29 23:07:59 hostname milter-manager[30008]: /etc/milter-manager/defaults/debian.conf:57:in `block in load_configur
ation'
Aug 29 23:07:59 hostname milter-manager[30008]: /etc/milter-manager/defaults/debian.conf:54:in `each'
Aug 29 23:07:59 hostname milter-manager[30008]: /etc/milter-manager/defaults/debian.conf:54:in `load_configuration'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager.rb
:383:in `instance_eval'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager.rb
:383:in `load_configuration'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager.rb
:415:in `block in load'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager.rb:414:in `each'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager.rb:414:in `load'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager.rb:420:in `load_if_exist'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager.rb:432:in `load_default'
Aug 29 23:07:59 hostname milter-manager[30008]: /etc/milter-manager/milter-manager.conf:4:in `load_configuration'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager.rb:383:in `instance_eval'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager.rb:383:in `load_configuration'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager.rb:344:in `block in load'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/core/callback.rb:20:in `guard'
Aug 29 23:07:59 hostname milter-manager[30008]: /usr/lib/x86_64-linux-gnu/milter-manager/binding/lib/milter/manager.rb:343:in `load'

とりあえず /etc/milter-manager/defaults/debian.conf で

=begin
  [
    "rspamd",
    [
      "Remote Network",
      "Unauthenticated",
      "No Stress",
    ],
  ]
=end

のように rspamd のところををコメントアウトすると起動するようになりました。


-- 
|ZnZ(ゼット エヌ ゼット)
|西山和広(Kazuhiro NISHIYAMA)




milter-manager-users-ja メーリングリストの案内
Back to archive index