ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Vladimir V. Kamarzin" <vvk@vvk.pp.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Настройка POSTFIX
Date: Thu, 07 Jul 2005 13:29:33 +0600
Message-ID: <m33bqrdqg2.fsf@vvk.pp.ru> (raw)
In-Reply-To: <119760003906.20050707101807@aston.ru> (Roman V. Tutov's message of "Thu, 7 Jul 2005 10:18:07 +0400")

>>>>> On 07 Jul 2005 at 12:18 Roman V Tutov writes:

DY>> Нет ничего невозможного.
DY>> 1) Сказать, что этот человек - postmaster@somedomain.org. Postmaster получает
DY>> всю почту. Так рекомендует делать великий RFC.
 RVT> ХМ...и тогда к нему повалят все служебные сообщения от postfix ???
DY>> 2) Поставить выше всех проверку header_checks с указанием фильтра.
DY>> Пример фильтра:
DY>> /^To: *someuser@somedomain\.someorg$/ OK
 RVT> Вот сдесь я не очень понял принципа . Вызывать какой-то внешний фильтр ?

Вот как сделано у меня:

В main.cf:
smtpd_recipient_restrictions = reject_unknown_recipient_domain,
        reject_non_fqdn_recipient,
        reject_non_fqdn_sender,
        reject_unknown_sender_domain,
        check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
        check_client_access hash:/etc/postfix/access,
        permit_mynetworks,
        reject_non_fqdn_hostname,
        reject_rbl_client bl.spamcop.net,
        reject_rbl_client xbl.spamhaus.org,
        reject_rbl_client dnsbl.njabl.org,
        check_helo_access hash:/etc/postfix/helo_checks,
        reject_unauth_destination check_policy_service inet:127.0.0.1:60000


neptune:~# cat /etc/postfix/recipient_checks.pcre
/^\@/           550     Invalid address format.
/[!%\@].*\@/    550     This server disallows weird address syntax.
/^postmaster\@/ OK
/^hostmaster\@/ OK
/^abuse\@/      OK


P.S. если бы вы спросили в isp-list@, я бы ответил оперативнее ;-)

-- 
WBR, Vladimir V. Kamarzin.

>P.S. А вы пробовали на MS Exchange настроить бэкапный почтовый релей? ;)))
Рэлеит вовсю, что попало куда угодно, аж интерфейсы трещат.
		-- Valentin Davydov in RU.OS.CMP


  reply	other threads:[~2005-07-07  7:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-06  6:37 Roman V. Tutov
2005-07-06 18:42 ` Denis Yakimov
2005-07-07  6:18   ` Re[2]: " Roman V. Tutov
2005-07-07  7:29     ` Vladimir V. Kamarzin [this message]
2005-07-07  8:33       ` Roman V. Tutov
2005-07-07  9:40         ` Vadim V. Zhytnikov
2005-07-08  6:50         ` 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=m33bqrdqg2.fsf@vvk.pp.ru \
    --to=vvk@vvk.pp.ru \
    --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