[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[postfix-jp: 3388] Re: Postfix + amavisd-new + Clam AntiVirusで突然送受信ができなくなった
- Subject: [postfix-jp: 3388] Re: Postfix + amavisd-new + Clam AntiVirusで突然送受信ができなくなった
- From: 田中 <tanaka@xxxxxxxxxxx>
- Date: Mon, 30 Mar 2009 21:04:24 +0900
> とりあえず \ と数字の羅列の部分ですが、
> 「そのようなファイルやディレクトリはありません」
> と、言ってます。/var/amavis/db が無いのか、bad db env と言ってる
> ので、amavis の設定がおかしいのかチェックしてみてはいかがでしょう。
ここ数年amavisd.confの設定は変えてなくて問題なかったのですが、3/21に初めてこの症状が出ました。
その時、インターネットを調べて、
$QUARANTINEDIR = "/var/virusmails";
をコメントアウト(ウィルスメールを隔離しないで直ぐ削除)で直るかもというような情報がありコメントアウトしたのですが、3/29に同じ症状が出てしまいました。
休日に大量の迷惑メールが集中して送られてくるためamavisがクラッシュしてしまうように見えるのですが、はっきりとはわかりません。
以下amavisd.confの主な設定です。
田中
------------------------------------------------------------------------------------------------------
【amavisd.conf】
use strict;
$max_servers = 2; # number of pre-forked children (2..15 is common)
$daemon_user = "amavis"; # (no default; customary: vscan or amavis)
$daemon_group = "amavis"; # (no default; customary: vscan or amavis)
$mydomain = 'XXX.co.jp'; # a convenient default for other settings
$MYHOME = "/var/amavis";
$TEMPBASE = "$MYHOME/tmp"; # working directory, needs to be created manually
$ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR
# $QUARANTINEDIR = "/var/virusmails";
$db_home = "$MYHOME/db";
@local_domains_maps = ( [".$mydomain"] );
$log_level = 0; # verbosity 0..5
$log_recip_templ = undef; # disable by-recipient level-0 log entries
$DO_SYSLOG = 1; # log via syslogd (preferred)
$SYSLOG_LEVEL = 'mail.debug';
$LOGFILE = "/var/log/amavis.log";
$enable_db = 1; # enable use of BerkeleyDB/libdb (SNMP and nanny)
$enable_global_cache = 1; # enable use of libdb-based cache if $enable_db=1
$inet_socket_port = 10024; # listen on this local TCP port(s) (see $protocol)
$sa_tag_level_deflt = 2.0; # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 6.31; # add 'spam detected' headers at that level
$sa_kill_level_deflt = 6.31; # triggers spam evasive actions
$sa_dsn_cutoff_level = 9; # spam level beyond which a DSN is not sent
$sa_quarantine_cutoff_level = 20; # spam level beyond which quarantine is off
$sa_mail_body_size_limit = 200*1024; # don't waste time on SA if mail is larger
$sa_local_tests_only = 0; # only tests which do not require internet access?
$sa_auto_whitelist = 1; # turn on AWL in SA 2.63 or older (irrelevant
# for SA 3.0, cf option is 'use_auto_whitelist')
$virus_admin = "virusalert\@$mydomain"; # notifications recip.
$mailfrom_notify_admin = "virusalert\@$mydomain"; # notifications sender
$mailfrom_notify_recip = "virusalert\@$mydomain"; # notifications sender
$mailfrom_notify_spamadmin = "spam.police\@$mydomain"; # notifications sender
$mailfrom_to_quarantine = ''; # null return path; uses original sender if undef
@addr_extension_virus_maps = ('virus');
@addr_extension_spam_maps = ('spam');
@addr_extension_banned_maps = ('banned');
@addr_extension_bad_header_maps = ('badh');
$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
$MAXLEVELS = 14;
$MAXFILES = 1500;
$MIN_EXPANSION_QUOTA = 100*1024; # bytes (default undef, not enforced)
$MAX_EXPANSION_QUOTA = 300*1024*1024; # bytes (default undef, not enforced)
$defang_virus = 1; # MIME-wrap passed infected mail
$defang_banned = 1; # MIME-wrap passed mail containing banned name
$final_spam_destiny = D_PASS;
・・・
@av_scanners = (
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"],
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
・・・
);
1; # insure a defined return
_______________________________________________
Postfix-jp-list mailing list
Postfix-jp-list@xxxxxxxxxxxxxxxxxxxx
http://lists.sourceforge.jp/mailman/listinfo/postfix-jp-list
- Follow-Ups
-
- [postfix-jp: 3389] Re: Postfix + amavisd-new + Clam AntiVirusで突然送受信ができなくなった, Soukaku TATARA
- References
-
- [postfix-jp: 3386] Postfix + amavisd-new + Clam AntiVirusで突然送受信ができなくなった, ELCOM 田中進
- [postfix-jp: 3387] Re: Postfix + amavisd-new + Clam AntiVirusで突然送受信ができなくなった, Tokio Kikuchi
[検索ページ]
[Postfix-JP ML Home]