From: Michael Shigorin <mike@osdn.org.ua> To: sysadmins@lists.altlinux.org Subject: [Sysadmins] Fwd: Re: [devel] ALTLinux и спам Date: Fri, 12 Jan 2007 17:48:43 +0200 Message-ID: <20070112154843.GX1644@osdn.org.ua> (raw) FYI ----- Forwarded message from Victor Forsyuk <force/altlinux.org> ----- Date: Fri, 12 Jan 2007 16:40:55 +0200 From: Victor Forsyuk <force/altlinux.org> To: ALT Devel discussion list <devel/lists.altlinux.org> Subject: Re: [devel] ALTLinux и спам On Fri, Jan 12, 2007 at 04:41:12PM +0300, Dmitry V. Levin wrote: > On Fri, Jan 12, 2007 at 02:15:04PM +0300, Denis Ovsienko wrote: > > Спасибо за ответы. Но всё же почему бы не уменьшить количество > > принимаемого основным сервером спама вместо того, чтобы потом каждому > > изобретать свой способ дальнейшей порезки? > > Как? Да, машинка слабовата. Но на ней и не особо нужно гонять спамассассин. Есть и более легкие методы. Кстати, спамассассин можно держать и на другой машине и обращаться к нему по tcp. Эффективные и совершенно необременительные для сервера проверки в терминах exim'а: # HELO без точки может быть только от MUA. Пришедшее от MTA - на 99.99% спам deny message = Spam not allowed hosts = ! +relay_from_hosts !condition = ${if match{$sender_helo_name}{\\\.}{yes}{no}} # 100% спам deny condition = ${if eq{$sender_helo_name}{IP.адрес.моего.сервера}{yes}{no}} message = Spam not allowed deny condition = ${if eq{$sender_helo_name}{доменное.имя.моего.сервера}{yes}{no}} message = Spam not allowed deny condition = ${if eq{$sender_helo_name}{просто.мой.домен}{yes}{no}} message = Spam/viruses not allowed Можно добавить и отстрел IPшных HELO не в скобках. Я еще не видел ни одного неспамного письма пришедшего от сервера с таким приветствием. deny condition = ${if isip{$sender_helo_name}{yes}{no}} message = Invalid HELO/EHLO log_message = Bad HELO: IP without brackets Очень эффективен тщательно составленный блеклист доменных имен всяческих диалапов. Они _не должны_ слать письма напрямую, минуя outbound mail server провайдера. В общем, таких приемов есть... :) Ну и, понятное дело, sender verify callout. > master$ awk 'START {count=0; sum=0} /^bogomips/ {count++; sum+=$3} END {if (count>0) print sum/count}' </proc/cpuinfo > 901 > master$ awk '/MemTotal/{print $2}' </proc/meminfo > 257652 ----- End forwarded message ----- -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next reply other threads:[~2007-01-12 15:48 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-01-12 15:48 Michael Shigorin [this message] 2007-01-12 16:34 ` Anatol B. Bazyukin 2007-01-12 20:02 ` Konstantin A. Lepikhov 2007-01-12 22:39 ` Michael Shigorin
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=20070112154843.GX1644@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=shigorin@gmail.com \ --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