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] 550 Client host rejected: cannot find your hostname
Date: Wed, 02 May 2007 12:00:09 +0600
Message-ID: <m3647bydcm.fsf@vvk.distance.ru> (raw)
In-Reply-To: <200704281611.49936.skompan@kspu.kr.ua> (Serge's message of "Sat, 28 Apr 2007 16:11:49 +0300")

>>>>> On 28 Apr 2007 at 19:11 "S" == Serge  writes:

>>  S> Как сказать postfix, что бы он пропускал письма от computerra.ru
>>  S> (что бы не проверялась обратная зона только у домена computerra.ru)
>>
>> В рестрикшенах прописать перед reject_unknown_client_hostname (with Postfix
>> < 2.3: reject_unknown_client)
>>
>> check_client_access type:table
>>
>> в table прописать
>> 81.176.77.82    OK
 S> прописал в main.cf

 S> smtpd_client_restrictions =   permit_sasl_authenticated,
 S>                                 permit_mynetworks
Вот сюда надо прописать reject_unauth_destination, иначе станете open relay
для всех, кто перечислен как
OK. http://www.freesource.info/wiki/Dokumentacija/Postfix/dontdothis 


 S>                                 check_client_access hash:/etc/postfix/access
 S>                                reject_unknown_client

 S> smtpd_recipient_restrictions =  check_client_access hash:/etc/postfix/access
 S>                                 reject_unknown_recipient_domain,
 S>                                 reject_non_fqdn_recipient,
 S>                                 reject_non_fqdn_sender,
 S>                                 permit_mynetworks,

 check_client_access разместить ниже permit_mynetworks и опять же предварить
записью reject_unauth_destination

 S> cat /etc/postfix/access |grep ^[^#\;]
 S> 81.176.77.82    OK
 S> по прежнему не пропускает

Возможно, неверно указан тип таблицы ;) попробуйте s/hash/cdb. Если не
поможет, показывайте postconf -n.

-- 
vvk

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


  reply	other threads:[~2007-05-02  6:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 16:43 Serge
2007-04-24  4:47   ` Serge
2007-04-28 10:01 ` Vladimir V. Kamarzin
2007-04-28 13:11   ` Serge
2007-05-02  6:00     ` Vladimir V. Kamarzin [this message]
2007-04-28 12:21 ` Sergey
2007-04-28 13:12   ` Serge

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=m3647bydcm.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