TOPページ掲示板
作成日:2006年02月04日 作成:Yosi

Vine Linuxで自宅サーバーの掲示板で過去に質問された内容です。

No.1206 ClamAV + amavisd-newに乗り換え


No.1206 投稿時間:2006年02月04日(Sat) 16:16 投稿者名:しん URL:
タイトル:ClamAV + amavisd-newに乗り換え

AntiVir MailGeteを使用していてのですが
期限が切れそうなので、ClamAV + amavisd-newに
切替えようとおもったのですが、
/etc/postfix/master.cf を編集
#localhost:smtp-backdoor inet n - n - - smtpd -o content_filter=
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes

127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
/etc/postfix/main.cf を編集
#content_filter = smtp:127.0.0.1:10024
content_filter=smtp-amavis:[127.0.0.1]:10024
てしたのですが、メールの詳細が
X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-8; AVE: 6.27.0.4; VDF: 6.27.0.10; host: server)
のままです?なぜでしょう?


No.1208 投稿時間:2006年02月07日(Tue) 19:42 投稿者名:Yosi URL:
タイトル:Re: ClamAV + amavisd-newに乗り換え

AntiVir MailGeteを停止せずにClamAV + amavisd-newを導入されたのではないでしょうか?

一度サーバーを再起動しても駄目でしょうか?


No.1209 投稿時間:2006年02月08日(Wed) 08:58 投稿者名:しん URL:
タイトル:Re^2: ClamAV + amavisd-newに乗り換え

> AntiVir MailGeteを停止せずにClamAV + amavisd-newを導入されたのではないでしょうか?
>
> 一度サーバーを再起動しても駄目でしょうか?
確かに、AntiVir MailGeteを停止せずに
ClamAV + amavisd-newを導入しました。
AntiVir MailGeteのサービスがサーバー起動時に起動しない
ようにする方法が分からないのですが・・・
chkconfig --add avgate や chkconfig avgate on
は、対応していないってエラーが返っています(TT)
ご教授よろしくお願いいたします。


No.1210 投稿時間:2006年02月08日(Wed) 10:10 投稿者名:Yosi URL:
タイトル:Re^3: ClamAV + amavisd-newに乗り換え

サーバーを再起動しても駄目でしたか?

AntiVir MailGeteの関連ファイルやディレクトリをすべて削除してから、サーバーを再起動してみてはどうですかね?

下記コマンドで探して、消せばいいと思います。

# locate avmailgate
# locate AntiVir
# locate avgate

既にやっているとは思いますが、
Mail Gate用に設定した部分は、元に戻してください。


No.1211 投稿時間:2006年02月08日(Wed) 11:33 投稿者名:しん URL:
タイトル:Re^4: ClamAV + amavisd-newに乗り換え

ありがとうございます。
試してみます。


No.1276 投稿時間:2006年03月08日(Wed) 16:27 投稿者名:しん URL:
タイトル:Re^5: ClamAV + amavisd-newに乗り換え

試してみたのですが、
ポートが見つからない見たいなエラー
になってPostfixのキューからメール配信されませんでした。
ClamAVのインストールが不味いのでしょうか(TT)


No.1277 投稿時間:2006年03月09日(Thu) 00:07 投稿者名:Yosi URL:
タイトル:Re^6: ClamAV + amavisd-newに乗り換え

/etc/postfix/master.cf を編集
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes

127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000

-oの手前にはちゃんと半角スペースは入っていますか?


No.1278 投稿時間:2006年03月09日(Thu) 15:07 投稿者名:しん URL:
タイトル:Re^7: ClamAV + amavisd-newに乗り換え

ありがとうございます。
タブでは、駄目なんでしょうか・・・
サーバーが手元ではないので、また近いうちに試して見たいとおもいます


No.1279 投稿時間:2006年03月09日(Thu) 22:45 投稿者名:Yosi URL:
タイトル:Re^8: ClamAV + amavisd-newに乗り換え

> ありがとうございます。
> タブでは、駄目なんでしょうか・・・

OKです。



TOPページ掲示板▲頁先頭