[Sysadmins] amavisd-new + spamassassin
Алексей Шенцев
=?iso-8859-1?q?ashen_=CE=C1_nsrz=2Eru?=
Вт Ноя 13 16:42:25 MSK 2007
В сообщении от Tuesday 13 November 2007 16:35:42 Oleg Dolgov написал(а):
> Явного включения/выключения не видно, но строки с шаблонами
> информ.писем раскоментированы.
>
> Конфиг по умолчанию, за исключением правил на баны экзешников и т.п.
Посмотрите в этом районе:
[root на gw conf.d]# cat 30-rules.conf | grep '$spam_'
#$spam_admin = "postmaster\@$mydomain";
$spam_admin = undef; # do not send spam admin notifications (default)
# $spam_admin, # the usual default
#$spam_quarantine_method = 'local:spam-%m.gz'; # default
#$spam_quarantine_method = 'local:spam/%m.gz';
#$spam_quarantine_method = "bsmtp:$QUARANTINEDIR/spam-%m.bsmtp";
#$spam_quarantine_method = 'pipe:argv=/usr/bin/myscript.sh spam-%b ${sender}';
#$virus_quarantine_method = $spam_quarantine_method =
# variables $virus_quarantine_method/$spam_quarantine_method/
# The value of scalar $virus_quarantine_to/$spam_quarantine_to (or a
# Setting $virus_quarantine_to ($spam_quarantine_to) to this string will:
$spam_quarantine_to = 'spam-quarantine'; # local quarantine
#$spam_quarantine_to = "spam-quarantine\@$mydomain";
# $spam_quarantine_to, # the usual default
# It is similar to $spam_quarantine_to, but the lookup key is the
#$spam_quarantine_bysender_to = undef; # dflt: no by-sender spam quarantine
[root на gw conf.d]# cat 30-rules.conf | grep '$virus_'
$virus_admin = "postmaster\@$mydomain";
# $virus_admin = 'virus-admin на example.com';
# $virus_admin = undef; # do not send virus admin notifications (default)
# $virus_admin, # the usual default
# equivalent to $virus_admin, but for spam admin notifications:
#$virus_quarantine_method = 'local:virus-%m'; # default
#$virus_quarantine_method = 'local:virus/%m';
#$virus_quarantine_method = "bsmtp:$QUARANTINEDIR/virus-%m.bsmtp";
#$virus_quarantine_method = $spam_quarantine_method =
# variables $virus_quarantine_method/$spam_quarantine_method/
# The value of scalar $virus_quarantine_to/$spam_quarantine_to (or a
# Setting $virus_quarantine_to ($spam_quarantine_to) to this string will:
$virus_quarantine_to = 'virus-quarantine'; # traditional local quarantine
#$virus_quarantine_to = 'infected@'; # forward to MTA for delivery
#$virus_quarantine_to = "virus-quarantine\@$mydomain"; # similar
#$virus_quarantine_to = 'virus-quarantine на example.com'; # similar
#$virus_quarantine_to = undef; # no quarantine
# $virus_quarantine_to, # the usual default
[root на gw conf.d]# cat 30-rules.conf | grep '$mail'
$mailfrom_notify_admin = "postmaster\@$mydomain";
$mailfrom_notify_recip = "postmaster\@$mydomain";
$mailfrom_notify_spamadmin = "postmaster\@$mydomain";
# with $mailfrom_notify_sender, which is the envelope return address
# $hdrfrom_notify_admin = $mailfrom_notify_admin;
# $hdrfrom_notify_spamadmin = $mailfrom_notify_spamadmin;
$mailfrom_to_quarantine = ''; # override sender address with null return
path
#$mailfrom_to_quarantine = undef; # pass on the original sender address
[root на gw conf.d]#
--
С уважением Шенцев Алексей Владимирович.
E-mail: ashen на nsrz.ru
XMPP: ashen на altlinux.org, AlexShen на jabber.ru
ICQ: 271053845
Подробная информация о списке рассылки Sysadmins