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)
のままです?なぜでしょう?
AntiVir MailGeteを停止せずにClamAV + amavisd-newを導入されたのではないでしょうか?
一度サーバーを再起動しても駄目でしょうか?
> AntiVir MailGeteを停止せずにClamAV + amavisd-newを導入されたのではないでしょうか?
>
> 一度サーバーを再起動しても駄目でしょうか?
確かに、AntiVir MailGeteを停止せずに
ClamAV + amavisd-newを導入しました。
AntiVir MailGeteのサービスがサーバー起動時に起動しない
ようにする方法が分からないのですが・・・
chkconfig --add avgate や chkconfig avgate on
は、対応していないってエラーが返っています(TT)
ご教授よろしくお願いいたします。
サーバーを再起動しても駄目でしたか?
AntiVir MailGeteの関連ファイルやディレクトリをすべて削除してから、サーバーを再起動してみてはどうですかね?
下記コマンドで探して、消せばいいと思います。
# locate avmailgate
# locate AntiVir
# locate avgate
既にやっているとは思いますが、
Mail Gate用に設定した部分は、元に戻してください。
ありがとうございます。
試してみます。
試してみたのですが、
ポートが見つからない見たいなエラー
になってPostfixのキューからメール配信されませんでした。
ClamAVのインストールが不味いのでしょうか(TT)
/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の手前にはちゃんと半角スペースは入っていますか?
ありがとうございます。
タブでは、駄目なんでしょうか・・・
サーバーが手元ではないので、また近いうちに試して見たいとおもいます
> ありがとうございます。
> タブでは、駄目なんでしょうか・・・
OKです。