ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Serge Polkovnikov <p_serge@fromru.com>
To: community@altlinux.ru
Subject: Re: Re[2]: [Comm] kill spam (postfix)
Date: Fri, 10 Jan 2003 09:31:54 +0200
Message-ID: <200301100931.54601.p_serge@fromru.com> (raw)
In-Reply-To: <11398.030110@taxpol.krasnoyarsk.su>

В сообщении от Пт 10 Янв 2003 04:33 aek написал:
> Hello Serge,
>
> Thursday, January 09, 2003, 3:30:41 PM, you wrote:
> >>   Подскажите плз. Как убивать
> >>   нежелательные письма в постфиксе???
> >>   (от домена или конкретного адреса)
> >>   я завел несколько строк в /etc/posfix/access
>
> Подправил main.cf Вот кусок оттеда:
> smtpd_helo_required = yes
> smtpd_recipient_limit = 50
> smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname
> #smtpd_client_restrictions = permit_mynetworks, reject_maps_rbl
> smtpd_client_restrictions = permit_mynetworks,
> hash:/etc/postfix/access, reject_maps_rbl, permit
> smtpd_sender_restrictions = reject_unknown_sender_domain
> smtpd_recipient_restrictions = permit_mynetworks, check_relay_domains
>
> alias_maps = hash:/etc/postfix/aliases
> smtpd_banner = $myhostname ESMTP $mail_name
>
> Ничего не изменилось. Письма с перечисленных доменов проходят.
> Еще раз формат (кусок) файла access:
> smilepop.com                            REJECT
> primetimedirect.net                     REJECT
> z2p.net                                 REJECT
> yourbigvote.com                         REJECT
> 1stoffers.com                           REJECT
>
> Вроде все правильно???
> При postmap access; reload postfix на консоли и
> в /var/log/mail все нормально, ошибок не выдает.
>
> Куда дальше???

У меня из этих опций:
smtpd_helo_required = yes
smtpd_client_restrictions = 
permit_mynetworks,hash:/etc/postfix/access,reject_maps_rbl,permit
Остальное по дефолту

После изменений в /etc/postfix/access делаю service postfix reload 
И всё работает..

-- 
С уважением,
  Сергей Полковников              JID: p_serge@jabber.ru


  parent reply	other threads:[~2003-01-10  7:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-09  8:19 aek
2003-01-09  8:10 ` Igor Homyakov
2003-01-09  8:30 ` Serge Polkovnikov
2003-01-10  2:33   ` Re[2]: " aek
2003-01-10  2:59     ` Re[3]: " Carry Ram
2003-01-10  3:22     ` Ilya Palagin
2003-01-10  9:19       ` Re[2]: " aek
2003-01-10  9:26       ` aek
2003-01-10 10:31         ` Ilya Palagin
2003-01-10 11:41           ` Re[2]: " aek
2003-01-14  3:16           ` aek
2003-01-14  5:27             ` Evgeniy Kobzev
2003-01-10  7:31     ` Serge Polkovnikov [this message]
2003-01-10  8:26       ` Re[4]: " aek
2003-01-09 15:53 ` Vitaly Lugovsky
2003-01-10  2:20   ` Re[2]: " aek
2003-01-10 10:54   ` Igor Homyakov

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=200301100931.54601.p_serge@fromru.com \
    --to=p_serge@fromru.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