ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Postfix. Проблема.
@ 2005-03-29  6:58 unix9
  2005-03-29  8:56 ` Dmitry Lebkov
  0 siblings, 1 reply; 2+ messages in thread
From: unix9 @ 2005-03-29  6:58 UTC (permalink / raw)
  To: community

Приветствую всех!
В целях избавления от спама, в конфиг main.cf добавил строку 
smtpd_sender_restrictions = hash:/etc/postfix/blacklist
в файле blacklist есть запись 
reject_unknown_sender_domain
reject_unknown_recipient_domain

затем на файл blacklist делаю postmap и получаю ошибку
postmap: warning: /etc/postfix/blacklist, line 2: expected format: key whitespace value
postmap: warning: /etc/postfix/blacklist, line 2: expected format: key whitespace value

Подскажите где я ошибся или что не дописал.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Postfix. Проблема.
  2005-03-29  6:58 [Comm] Postfix. Проблема unix9
@ 2005-03-29  8:56 ` Dmitry Lebkov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Lebkov @ 2005-03-29  8:56 UTC (permalink / raw)
  To: community

unix9 wrote:
> Приветствую всех!
> В целях избавления от спама, в конфиг main.cf добавил строку 
> smtpd_sender_restrictions = hash:/etc/postfix/blacklist
> в файле blacklist есть запись 
> reject_unknown_sender_domain
> reject_unknown_recipient_domain
> 
> затем на файл blacklist делаю postmap и получаю ошибку
> postmap: warning: /etc/postfix/blacklist, line 2: expected format: key whitespace value
> postmap: warning: /etc/postfix/blacklist, line 2: expected format: key whitespace value

man 5 access, man postmap на предмет формата записей в мапах и
парсить www.postfix.org на предмет примеров UCE-конфигураций.

-- 
WBR, Dmitry Lebkov


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-29  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-29  6:58 [Comm] Postfix. Проблема unix9
2005-03-29  8:56 ` Dmitry Lebkov

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