ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igor Homyakov <homyakov@ramax.spb.ru>
To: community@altlinux.ru
Subject: Re: [Comm] DSPAM+Postfix+DrWeb
Date: Wed, 31 Mar 2004 11:55:08 +0400
Message-ID: <406A795C.40101@ramax.spb.ru> (raw)
In-Reply-To: <200403302321.03820.dikov@imbg.org.ua>



Dmitry Kovalsky said the following on 31.03.2004 0:21:
> On Tuesday 30 March 2004 18:31, Igor Homyakov wrote:
> 
>>Dmitry Kovalsky said the following on 30.03.2004 18:28:
>>
>>>On Tuesday 30 March 2004 13:11, Igor Homyakov wrote:
>>>
>>>>в ~/.forward
>>>>
>>>>или настраивайте почтовый фильтр как написано на "ядерномслоне"
>>>>
>>>>Dmitry Kovalsky said the following on 30.03.2004 13:24:
>>>>
>>>>>On Tuesday 30 March 2004 10:08, Igor Homyakov wrote:
>>>>>
>>>>>>работает прекрасно
>>>>>
>>>>>был бы ооочень признателен за описание как вы dspam прикручивали в такую
>>>>>связку. Дело в том, что у меня стоит DRWEB evaluation и поэтому еще
>>>>>поставил RAV (который сканирует архивы) там где у вас стоит dspam и
>>>>>поэтому куда впихнуть dspam я не представляю)
>>>>>
>>>>>Дима
>>>>>
>>>>>
>>>>>>postfix -> drweb -> postfix -> dspam (MYSQL) -> procmail
>>>
>>>Имело бы смысл фильтровать спам до DrWeb,  чтоб снять лишнюю нагрузку с
>>>сервака. И это дается как описано на сайте Dspamа. Но едиственный вопрос
>>>который мне не понятен как сделать так, чтоб dspam перенаправлял письма
>>>прошедшие проверку на ДрВеб??
>>
>>способ описанный на сайте мне не нравиться, потомучто в нем
>>используеться dspam c setuid и для каждого пользователя придеться
>>заводить 2 почтовых алиаса. Вариант с .forward безопаснее и удобнее
> 
> 
> Сорри за тормоза
> но можно более полно описать вариант с форвард, а то я не могу врубиться как 
> вы это сделали.

DSPAM: ./configure --disable-static \
--with-storage-driver=mysql_drv \
--with-dspam-mode=0755 \
--enable-spam-delivery \
--enable-alternative-bayesian \
--enable-source-address-tracking \
--enable-opt-in  \
--enable-homedir-dotfiles \
--enable-whitelist \
--enable-toe \
--enable-client-compression \
--with-userdir-group=dspam

в такой конфигурации dspam будет вызывать для доставки сообщения procmail

~/.forward
|/usr/local/bin/dspam --deliver-spam --user $LOGNAME

~/.forward-notspam
| dspam_pre | dspam --user $LOGNAME --falsepositive --deliver-fp

~/.forward-spam
| dspam --user $LOGNAME --addspam

/etc/postfix/main.cf
recipient_delimiter = -
allow_mail_to_commands = alias, forward

вот кажется и всё. Если пользователи забирают почту по POP3 оутлуками,
то придется в procmailrc добавит вызов скрипта который будет ставить в
заголовок метку спама, т.к. outlook не умеет фильтровать по скрытым
полям. У меня всё работает через IMAP для чего сделан набор скриптов для
переобучения фильтра.


      reply	other threads:[~2004-03-31  7:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-29 19:58 Dmitry Kovalsky
2004-03-29 20:09 ` Sergey V. Degtyaryov
2004-03-29 20:20   ` Dmitry Kovalsky
2004-03-30  7:08     ` Igor Homyakov
2004-03-30  9:24       ` Dmitry Kovalsky
2004-03-30 10:11         ` Igor Homyakov
2004-03-30 14:28           ` Dmitry Kovalsky
2004-03-30 15:31             ` Igor Homyakov
2004-03-30 20:21               ` Dmitry Kovalsky
2004-03-31  7:55                 ` Igor Homyakov [this message]

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=406A795C.40101@ramax.spb.ru \
    --to=homyakov@ramax.spb.ru \
    --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