ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Bolonkin <sb@izh.com>
To: ALT Linux Community <community@altlinux.ru>
Subject: Re: [Comm] Re: SpamAssassin
Date: Wed, 07 Sep 2005 13:47:01 +0400
Message-ID: <431EB715.4070706@izh.com> (raw)
In-Reply-To: <20050907122348.01ffd1ed.bga@tepkom.ru>

Grigory Batalov пишет:
> On Tue, 06 Sep 2005 21:34:25 +0400
> Sergey Bolonkin <sb@izh.com> wrote:
> 
> 
>>Master 2.4 + Updates
>>
>>Заметил сегодня в логе ошибки.
>>Был SpamAssassin 3.0.1, обновился до 3.0.4 - не помогло.
>>
>>Не могу сообразить, в чем дело :(
> 
> 
>   Возможно, это "выстрел в небо", но я бы посоветовал
>   проверить версию старых db-файлов spamassassin утилитой file
>   и сравнить с версией новых (создать для теста).
> 
>   У меня это была единственная неприятность, так что больше
>   ничего предположить не могу.
> 
> 

Спасибо.

Я уже разобрался.
Один из наших клиентов решил проспамить.
Регистрация по SMTP естественно стоит,
и вычислить его не составило большого труда.
Он легально авторизовался .
В общей сложности от него на входе около 3тыс. писем,
а на выходе более 50тыс.
В очереди болталось около 8.5 тыс. писем.
Снесло крышу amavisd
#service amavisd restart
говорит, что сервис не запущен, нет pid файла.
#ps ax | grep amavis
Показывает запущенные сеансы.
Машина ушла в жуткий своп.
Прибил эти сеансы вручную
Запустил amavisd вроде полегчало.
Такую прцедуру пришлось раза 3-4 делать.
У меня еще есть подозрение на monit.
Может он помог амавису упасть.
Выключил monit.

Теперь еще вопрос.
Пока не нашел решения.
Стоит Postfix + SASL + MySQL + Courier + Amavis + Clamav.

Задача - прибить спамера еще на подступах, желательно
при smtp сеансе авторизации.

1.
В smtpd.conf стоит
sql_select: SELECT password FROM mailbox WHERE username = '%u@%r' and
active=1
Есть мысль добавить на этом этапе проверку на "MAIL FROM"
Пока не смотрел в доке, возможно ли это.
Кто нибудь делал?

2.
Какими средствами ножно настроить ограничение на количество
входящих сообщений в еденицу времени?


-- 
_______________
Sergey Bolonkin


  reply	other threads:[~2005-09-07  9:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06 17:34 [Comm] SpamAssassin Sergey Bolonkin
2005-09-07  8:23 ` [Comm] SpamAssassin Grigory Batalov
2005-09-07  9:47   ` Sergey Bolonkin [this message]
2005-09-07 10:15     ` Pavel Usischev
2005-09-07 10:25       ` Slava Dubrovskiy
2005-09-07 10:32         ` Sergey Bolonkin
2005-09-07 10:27       ` Sergey Bolonkin

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=431EB715.4070706@izh.com \
    --to=sb@izh.com \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git