ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Shcherbina N. Timur" <timur@agral.ru>
To: <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Дайджест списка рассылки Sysadmins; том 12, выпуск 13
Date: Thu, 16 Nov 2006 12:59:53 +0300
Message-ID: <010d01c70966$07fe02b0$0d00a8c0@agral.ru> (raw)
In-Reply-To: <mailman.614.1163669766.15644.sysadmins@lists.altlinux.org>


SNT == Shcherbina N. Timur

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

> Если я не ошибаюсь, то в начале строки должен быть пробел ... 
> Тогда она считается продолжением предыдущей ...

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

> Вот так должно выглядеть...

> А может быть я и не прав ....

Тут не в этом смысл, в main.cf эта строчка вообще в одну строку написана,
речь идет о том что правило написаное в sender_access, а именно  

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

X-AntiVirus: Checked by Dr.Web [version: 4.33, engine: 4.33.5.10110, virus
records: 153326, updated: 15.11.2006]
Return-Path: <musalev@vsehoposho.com>
X-Original-To: agral@agral.ru
Delivered-To: agral@agral.ru
Received: from customer.klimatstroy.205.sls-hosting.com
(customer.klimatstroy.205.sls-hosting.com [204.14.1.205])
            by agralgate.agral.ru (Postfix) with SMTP id 0791612800E
            for <agral@agral.ru>; Thu, 16 Nov 2006 04:09:47 +0300 (MSK)
Received: from dhcp-net-02dw-5p-02-0100fk1u.local ([10.194.85.163])
            by customer.klimatstroy.205.sls-hosting.com () with ESMTP id
B64690FAC6
          for <agral@agral.ru>;Wed, 15 Nov 2006 19:09:18 -0600

 О, пока писал, пришла мысль, а это же правило smtpd_sender_restrictions
действительно на этапе MAIL FROM, и соответсвено он проверяет адрес
отправителя, т.е. вот эту строчку: Return-Path: <musalev@vsehoposho.com>, а
не  эту: Received: from customer.klimatstroy.205.sls-hosting.com
(customer.klimatstroy.205.sls-hosting.com [204.14.1.205])... Так это?

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-16  9:59 ` Shcherbina N. Timur [this message]
2006-11-16 10:07   ` Dmitriy L. Kruglikov
2006-11-16 12:23 ` [Sysadmins] Настройки Postfix Shcherbina N. Timur

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='010d01c70966$07fe02b0$0d00a8c0@agral.ru' \
    --to=timur@agral.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