From: "Алексей Шенцев" <ashen@nsrz.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] amavisd-new + spamassassin
Date: Tue, 13 Nov 2007 16:42:25 +0300
Message-ID: <200711131642.25168.ashen@nsrz.ru> (raw)
In-Reply-To: <20071113153542.a3af15c8.dolgov@mail.zp.ua>
В сообщении от 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
next prev parent reply other threads:[~2007-11-13 13:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-13 8:08 Oleg Dolgov
2007-11-13 8:24 ` Алексей Шенцев
2007-11-13 9:23 ` Oleg Dolgov
2007-11-13 9:29 ` Алексей Шенцев
2007-11-13 9:40 ` Oleg Dolgov
2007-11-13 9:46 ` Oleg Dolgov
2007-11-13 11:34 ` Oleg Dolgov
2007-11-13 12:53 ` Алексей Шенцев
2007-11-13 13:35 ` Oleg Dolgov
2007-11-13 13:41 ` Dmitry Lebkov
2007-11-14 8:36 ` Oleg Dolgov
2007-11-14 8:38 ` Oleg Dolgov
2007-11-14 8:56 ` Alexey Shabalin
2007-11-29 7:54 ` Oleg Dolgov
2007-11-13 13:42 ` Алексей Шенцев [this message]
2007-11-14 8:34 ` Oleg Dolgov
2007-11-13 22:40 ` Alexey Shabalin
2007-11-14 8:33 ` Oleg Dolgov
2007-11-14 9:26 ` Oleg Dolgov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200711131642.25168.ashen@nsrz.ru \
--to=ashen@nsrz.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git