ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Щербина Тимур" <timur@hlbprime.com>
To: "'ALT Linux Community general discussions'"
	<community@lists.altlinux.org>
Subject: Re: [Comm] FW: ALTLINUX SERVER 4.0 Postfix
Date: Wed, 27 Feb 2008 12:18:32 +0300
Message-ID: <00cb01c87921$b905dcf0$2b1196d0$@com> (raw)
In-Reply-To: <6c7be88d0802270102m455236dh7d2cbf89cda84056@mail.gmail.com>



27.02.08, Щербина Тимур написал(а):
>  2 вопрос по поводу спама от тех кто в команде HELO представляется как
localhost, от них проваливается спам, что нужно дописать в конфиге, чтобы
реджектить тех кто представляется как localhost:
+++
(/etc//postfix)# cat helo_check
# This file has to be "compiled" with "postmap"
#makemap hash helo_check < helo_check
# Reject anybody that HELO's as being in our own domain(s)
# (Note that if you followed the order suggested in the main.cf
# examples, above, that machines in mynetworks will be okay.)

your_domain.com.ua                REJECT You are not me

# Somebody HELO'ing with our IP address?
192.168.0.254                   REJECT You are not me # Тут внутренний адрес
82.207.102.3                    REJECT You are not me # Тут внешний ...

# Somebody HELO'ing as "localhost?"  Impossible, we're "localhost"
localhost                       REJECT You are not me localhost
localhost.localdomain           REJECT You are not me localdomain
+++


Я правильно понимаю, что это надо делать в дерективе
smtpd_helo_restrictions???


smtpd_helo_restrictions = 
smtpd_sender_restrictions = 
smtpd_recipient_restrictions = 
smtpd_client_restrictions =  


  reply	other threads:[~2008-02-27  9:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-27  8:23 Щербина Тимур
2008-02-27  9:02 ` Dmitriy Kruglikov
2008-02-27  9:18   ` Щербина Тимур [this message]
2008-02-27 10:27     ` Dmitriy Kruglikov
2008-02-28 19:32 ` Vladimir V. Kamarzin

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='00cb01c87921$b905dcf0$2b1196d0$@com' \
    --to=timur@hlbprime.com \
    --cc=community@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 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