ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Vladimir V. Kamarzin" <vvk@vvk.pp.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Настройки Postfix
Date: Thu, 16 Nov 2006 14:38:28 +0500
Message-ID: <m364dfu3xn.fsf@vvk.distance.ru> (raw)
In-Reply-To: <010301c70960$f3286650$0d00a8c0@agral.ru> (Shcherbina N. Timur's message of "Thu, 16 Nov 2006 12:23:38 +0300")

>>>>> On 16 Nov 2006 at 14:23 "SNT" == Shcherbina N Timur writes:

 SNT> Такая проблема, Постфикс почему то не хочет выполнять правила: 
 SNT> main.cf

 SNT> smtpd_sender_restrictions = permit_mynetworks,
 SNT> regexp:/etc/postfix/sender_access, reject_non_fqdn_sender,
 SNT> reject_unknown_sender_domain, permit

 SNT> строка в sender_access

 SNT> /.*sls-hosting\.com/i REJECT

 SNT> Заголовок письма, которое все равно пролезает, хотя должно резаться:

 SNT> Received: from customer.klimatstroy.205.sls-hosting.com
 SNT> (customer.klimatstroy.205.sls-hosting.com [204.14.1.205])


Естественно, резаться оно не должно, потому как
customer.klimatstroy.205.sls-hosting.com это не sender а client, бишь надо
прописывать нечто вроде

smtpd_sender_restrictions = permit_mynetworks,
      check_client_access regexp:/etc/postfix/sender_access,

 SNT>             by agralgate.agral.ru (Postfix) with SMTP id 0791612800E

 SNT>             for <agral@agral.ru>; Thu, 16 Nov 2006 04:09:47 +0300 (MSK)

 SNT> в main.cf пробовал также такую строчку, но не помогло... 
 SNT> smtpd_sender_restrictions = ... check_sender_access
 SNT> hash:/etc/postfix/sender_access  ...
 
То же самое.
   
-- 
vvk

Russian Postfix irc: irc.freenode.net #postfix-ru


      parent reply	other threads:[~2006-11-16  9:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-16  9:23 ` Shcherbina N. Timur
2006-11-16  9:35   ` Dmitriy L. Kruglikov
2006-11-16  9:38   ` Vladimir V. Kamarzin [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=m364dfu3xn.fsf@vvk.distance.ru \
    --to=vvk@vvk.pp.ru \
    --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