[milter-manager-users-ja 61] Re: MIRACLE-Linux8.4へのMilter-managerのインストールでmilterが検出されない

Back to archive index
ymatsuki ymats****@sigma*****
2022年 11月 11日 (金) 10:48:31 JST


須藤様

ありがとうございます。

テストサーバーを走らせた時のログです。

Nov 11 10:38:00 localhost milter-manager[164113]: [statistics] 
[milter][end][connect][stop][0.00053](14): milter-greylist

Nov 11 10:38:00 localhost milter-manager[164113]: [statistics] 
[milter][header][add](15): <X-Virus-Scanned>=<clamav-milter 0.103.7 at 
localhost.localdomain>: clamav-milter
Nov 11 10:38:00 localhost milter-manager[164113]: [statistics] 
[milter][header][add](15): <X-Virus-Status>=<Clean>: clamav-milter
Nov 11 10:38:00 localhost spamd[161841]: spamd: connection from ::1 
[::1]:45772 to port 783, fd 5
Nov 11 10:38:00 localhost spamd[161841]: spamd: setuid to sa-milt succeeded
Nov 11 10:38:00 localhost spamd[161841]: spamd: processing message 
(unknown) for sa-milt:983
Nov 11 10:38:15 localhost spamd[161841]: spamd: clean message (3.3/5.0) 
for sa-milt:983 in 15.0 seconds, 461 bytes.
Nov 11 10:38:15 localhost spamd[161841]: spamd: result: . 3 - 
MISSING_DATE,MISSING_MID,MISSING_SUBJECT,UNPARSEABLE_RELAY 
scantime=15.0,size=461,user=sa-milt,uid=983,required_score=5.0,rhost=::1,raddr=::1,rport=45772,mid=(unknown),autolearn=no 
autolearn_force=no
Nov 11 10:38:15 localhost milter-manager[164113]: [statistics] 
[milter][header][add](16): <X-Spam-Status>=<No, score=3.3 required=5.0 
tests=MISSING_DATE,MISSING_MID,#012#011MISSING_SUBJECT,UNPARSEABLE_RELAY 
autolearn=no autolearn_force=no#012#011version=3.4.6>: spamass-milter
Nov 11 10:38:15 localhost milter-manager[164113]: [statistics] 
[milter][header][add](16): <X-Spam-Level>=<***>: spamass-milter
Nov 11 10:38:15 localhost milter-manager[164113]: [statistics] 
[milter][header][add](16): <X-Spam-Checker-Version>=<SpamAssassin 3.4.6 
(2021-04-09) on#012#011localhost.localdomain>: spamass-milter
Nov 11 10:38:15 localhost milter-manager[164113]: [statistics] 
[session][header][add](13): <X-Virus-Status>=<Clean>
Nov 11 10:38:15 localhost milter-manager[164113]: [statistics] 
[session][header][add](13): <X-Virus-Scanned>=<clamav-milter 0.103.7 at 
localhost.localdomain>
Nov 11 10:38:15 localhost milter-manager[164113]: [statistics] 
[session][header][add](13): <X-Spam-Status>=<No, score=3.3 required=5.0 
tests=MISSING_DATE,MISSING_MID,#012#011MISSING_SUBJECT,UNPARSEABLE_RELAY 
autolearn=no autolearn_force=no#012#011version=3.4.6>
Nov 11 10:38:15 localhost milter-manager[164113]: [statistics] 
[session][header][add](13): <X-Spam-Level>=<***>
Nov 11 10:38:15 localhost milter-manager[164113]: [statistics] 
[session][header][add](13): <X-Spam-Checker-Version>=<SpamAssassin 3.4.6 
(2021-04-09) on#012#011localhost.localdomain>
Nov 11 10:38:15 localhost milter-manager[164113]: [statistics] 
[session][end][end-of-message][pass][15.0508](13)
Nov 11 10:38:15 localhost milter-manager[164113]: [statistics] 
[sessions][finished] 4(+1) 0
Nov 11 10:38:15 localhost spamd[161834]: prefork: child states: II


なお、milter-managerを経由せず、spamass-milter単独でも同じ結果でした。

SPAMテストメールの結果は、正常に見えます。

こんなに時間がかかるのは、初ですので、spamass-milterがspamassassinの問題かなと思っています。
ダウングレードして調べるのが最適でしょうか・・・


X-Spam-Flag:     YES
X-Spam-Status:     Yes, score=999.7 required=5.0 
tests=ALL_TRUSTED,GTUBE, HTML_MESSAGE,MPART_ALT_DIFF,TVD_SPACE_RATIO 
autolearn=no autolearn_force=no version=3.4.6
X-Spam-Report:     * -1.0 ALL_TRUSTED Passed through trusted hosts only 
via SMTP * 1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email * 
0.0 HTML_MESSAGE BODY: HTML included in message * 0.7 MPART_ALT_DIFF 
BODY: HTML and text parts are different * 0.0 TVD_SPACE_RATIO No 
description available.
X-Spam-Level: **************************************************
X-Spam-Checker-Version:     SpamAssassin 3.4.6 (2021-04-09) on 
localhost.localdomain


ちなみに、大分前から気になっていましたが、ログにワーニングが出ておりましたので
下記の変更を加えています。

間違いであれば、ご指摘お願いします。

/etc/postfix/main.cfに以下を追加します。

milter_protocol = 6
milter_default_action = accept
milter_mail_macros = {auth_author} {auth_type} {auth_authen}
↓
milter_mail_macros = i {auth_author} {auth_type} {auth_authen}

松木



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