ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Roman Lesnichenko <sysadmins@avangard.dn.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Вопрос по amavis+spamassassin+clamav
Date: Thu, 20 Nov 2008 16:49:16 +0200
Message-ID: <200811201649.16656.sysadmins@avangard.dn.ua> (raw)

Добрый день!
Настроил я все-таки postfix+mysql+dovecot+amavis+spamassassin+clamav+sqlgrey 
:)

Как бы все работает, но меня терзают смутные сомнения.

Когда у меня Спамассассин раньше работал вот так
smtp            inet    n       -       -       -       -       smtpd
          -o content_filter=filter:spamcheck

Все было нормально и понятно. В каждом письме были соответствующие строки 
типа:
X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on xxx.xxx.xxx.xxx
X-Spam-Level: **
X-Spam-Status: No, score=2.7 required=6.0 tests=MIME_BASE64_TEXT autolearn=no
	version=3.2.4

Теперь его пускает amavis, что скрыто от меня завесой тайны, хоть я и включал 
логгирование и дебаги :)

Теперь же в тех письмах, которые проходят :) такие header-fields далеко не во 
всех. И выглядят по другому:
X-Spam-Flag: NO
X-Spam-Score: 2.235
X-Spam-Level: **
X-Spam-Status: No, score=2.235 tagged_above=2 required=6.31
	tests=[DEAR_SOMETHING=2.234, HTML_MESSAGE=0.001]



Это касается, только заголовков от спама.
Заголовки X-Virus-Scanned: by amavisd-new using ClamAV at xxx.xxx.xxx
Присутствуют всегда. Даже пара вирусов выловилась.

Вобщем, что я делаю не так. :)

Конфигу спам-ассасина не менял естессно.



И еще вопрос. Как согласно линии партии всю эту ерунду политически правильно 
запускать?

На данный момент как-то все из разных мест:
postfix/main.cf:

#Amavis
content_filter=smtp-amavis:[127.0.0.1]:10024
# Open relay disable
smtpd_recipient_restrictions = 
permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination,reject_rbl_client 
list.dsbl.org,reject_rbl_client dynablock.wirehub.net,reject_rbl_client 
dnsbl.njabl.org,reject_rbl_client sbl-xbl.spamhaus.org,check_policy_service 
inet:127.0.0.1:2501


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
            -o  max_use=20
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_delay_reject=no
            -o  smtpd_client_restrictions=
            -o  smtpd_helo_restrictions=
            -o  smtpd_sender_restrictions=
            -o  smtpd_recipient_restrictions=permit_mynetworks,reject
#           -o  smtpd_data_restrictions=reject_unauth_pipeling
#           -o  smtpd_end_of_data_restrictions=
            -o  myntworks=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  smtpd_client_connection_count_limit=0
#           -o  smtpd_client_connection_rate_limit=0
#           -o  
receive_override_options=no_header_body_checks,no_unknown_recipient_checks
#           -o  local_header_rewrite_clients=

smtp            inet    n       -       -       -       -       smtpd



Роман.

             reply	other threads:[~2008-11-20 14:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-20 14:49 Roman Lesnichenko [this message]
2008-11-21  6:07 ` Sergey
2008-11-21  9:57   ` Konstantin A. Lepikhov
2008-11-21 10:15     ` Roman Lesnichenko
2008-11-22  2:24       ` Alexey Shabalin
2008-11-22  6:35         ` Sergey
2008-11-23 21:33         ` Roman Lesnichenko

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=200811201649.16656.sysadmins@avangard.dn.ua \
    --to=sysadmins@avangard.dn.ua \
    --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