ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@psv.com.ua>
To: community@altlinux.ru
Subject: Re: [Comm] postfix-smtpd-sasl
Date: Fri, 28 Nov 2003 13:26:32 +0200
Message-ID: <3FC730E8.2000408@psv.com.ua> (raw)
In-Reply-To: <3FC72D54.1070706@mail.saratov.ru>

Yury Zhelnov пишет:

> Всем привет!
> Настраиваю возможность отправки почты во внешний мир только 
> авторизованными пользователями. Ниже приведен фрагмент, относящегося к 
> проблеме конфига:
>
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_local_domain = mydomain.ru
> smtpd_sender_restriction = permit_sasl_authenticated, check_relay_domains
> smtpd_recipient_restriction = permit_sasl_authenticated,      
> check_relay_domains
> relay_domains = localhost
> mynetworks = 127.0.0.1/32

 Может здесь ошибка? Эта строчка означает, что разрешено только узлу с 
адресом 127.0.0.1. Поставь 127.0.0.1/24.

>
> Вроде все сделано по samples/auth.cf, но со стороны сервер принимать 
> почту не хочет:
>
>  Out: 220 proxy.mydomain ESMTP Postfix
>  In:  EHLO mydomain.ru
>  Out: 250-proxy.mydomain
>  Out: 250-PIPELINING
>  Out: 250-SIZE 10240000
>  Out: 250-ETRN
>  Out: 250-AUTH PLAIN LOGIN GSSAPI DIGEST-MD5 CRAM-MD5
>  Out: 250-XVERP
>  Out: 250 8BITMIME
>  In:  AUTH PLAIN <skip>
>  Out: 235 Authentication successful
>  In:  MAIL FROM:<yura@mydomain>
>  Out: 250 Ok
>  In:  RCPT TO:<yura@gate.mydomain>
>  Out: 554 <yura@gate.mydomain>: Recipient address rejected: Relay 
> access denied
>
> Прошу подсказать, в чем может быть дело.
>




  reply	other threads:[~2003-11-28 11:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-28 11:11 Yury Zhelnov
2003-11-28 11:26 ` Slava Dubrovskiy [this message]
2003-11-28 12:24   ` Yury Zhelnov
2003-11-28 11:44 ` Alexei Takaseev

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=3FC730E8.2000408@psv.com.ua \
    --to=slava@psv.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