ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@elan.com.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Опция smtpd_recipient_restrictions для postfix работает?
Date: Wed, 11 May 2005 13:24:15 +0300
Message-ID: <4281DD4F.3040008@elan.com.ua> (raw)
In-Reply-To: <42811B0A.6050303@gmail.com>

Pavel Usischev пишет:

> В примере всё правильно, но указаны только restrictions, относящиеся к
> теме README (restriction classes).
>
> > /etc/postfix/main.cf:
> >     smtpd_recipient_restrictions =
> >         check_recipient_access hash:/etc/postfix/access
> >         ...the usual stuff...
>
> Под the usual stuff имеется в виду всё прочее, описанное в деталях
> (вместе с требованиями) в другой части документации.
>
Убедил. А может кто-то поделится работающим конфигом для вот этого
примера, что описан в RESTRICTION_CLASS_README.html#external ?
Вот что у меня:

/etc/postfix/main.cf:

smtpd_recipient_restrictions =  check_recipient_access
hash:/etc/postfix/access,
                                check_sender_access
hash:/etc/postfix/restricted_senders,
                                permit_mynetworks, reject_unauth_destination
smtpd_restriction_classes = local_only
local_only = check_recipient_access hash:/etc/postfix/local_domains, reject

/etc/postfix/restricted_senders:
    slava@      local_only


/etc/postfix/local_domains:

    my.domain     OK


И постфикс ругается:
May 11 13:20:10 server postfix/smtpd[20705]: fatal: open database
/etc/postfix/local_domains.db: No such file or directory
May 11 13:20:11 server postfix/master[20693]: warning: process
/usr/lib/postfix/smtpd pid 20705 exit status 1
May 11 13:20:11 server postfix/master[20693]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling

-- 
С уважением,
Дубровский Вячеслав.


  reply	other threads:[~2005-05-11 10:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-10 12:10 Slava Dubrovskiy
2005-05-10 12:23 ` Valery V. Inozemtsev
2005-05-10 12:43   ` Slava Dubrovskiy
2005-05-10 12:47   ` Slava Dubrovskiy
2005-05-10 20:35     ` Pavel Usischev
2005-05-11 10:24       ` Slava Dubrovskiy [this message]
2005-05-11 12:01         ` Mike Lykov
2005-05-11 12:07           ` Slava Dubrovskiy
2005-05-11 12:47             ` Mike Lykov
2005-05-11 12:57               ` Slava Dubrovskiy
2005-05-11 13:11                 ` Slava Dubrovskiy
2005-05-11 13:17             ` Pavel Usischev

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=4281DD4F.3040008@elan.com.ua \
    --to=slava@elan.com.ua \
    --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