ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] postfix-smtpd-sasl
@ 2003-11-28 11:11 Yury Zhelnov
  2003-11-28 11:26 ` Slava Dubrovskiy
  2003-11-28 11:44 ` Alexei Takaseev
  0 siblings, 2 replies; 4+ messages in thread
From: Yury Zhelnov @ 2003-11-28 11:11 UTC (permalink / raw)
  To: community

Всем привет!
Настраиваю возможность отправки почты во внешний мир только 
авторизованными пользователями. Ниже приведен фрагмент, относящегося к 
проблеме конфига:

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

Вроде все сделано по 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

Прошу подсказать, в чем может быть дело.

-- 
Юрий.
ICQ: 29689525
JID: zyl@jabber.ru
E-mail: yura@mail.saratov.ru



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

* Re: [Comm] postfix-smtpd-sasl
  2003-11-28 11:11 [Comm] postfix-smtpd-sasl Yury Zhelnov
@ 2003-11-28 11:26 ` Slava Dubrovskiy
  2003-11-28 12:24   ` Yury Zhelnov
  2003-11-28 11:44 ` Alexei Takaseev
  1 sibling, 1 reply; 4+ messages in thread
From: Slava Dubrovskiy @ 2003-11-28 11:26 UTC (permalink / raw)
  To: community

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
>
> Прошу подсказать, в чем может быть дело.
>




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

* Re: [Comm] postfix-smtpd-sasl
  2003-11-28 11:11 [Comm] postfix-smtpd-sasl Yury Zhelnov
  2003-11-28 11:26 ` Slava Dubrovskiy
@ 2003-11-28 11:44 ` Alexei Takaseev
  1 sibling, 0 replies; 4+ messages in thread
From: Alexei Takaseev @ 2003-11-28 11:44 UTC (permalink / raw)
  To: ALT Linux Community

On Fri, 28 Nov 2003 14:11:16 +0300
Yury Zhelnov <yura@mail.saratov.ru> wrote:

> Всем привет!
> Настраиваю возможность отправки почты во внешний мир только 
> авторизованными пользователями. Ниже приведен фрагмент, относящегося к
> 
> проблеме конфига:
> 
> 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
> 
> Вроде все сделано по samples/auth.cf, но со стороны сервер принимать 
> почту не хочет:

Как это определено у меня:

# SMTP Auth
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks,
                                hash:/etc/postfix/access,
                                permit_sasl_authenticated,
                                reject_unauth_destination

Работает именно так, что для пересылки почты требуется аутентификация.


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

* Re: [Comm] postfix-smtpd-sasl
  2003-11-28 11:26 ` Slava Dubrovskiy
@ 2003-11-28 12:24   ` Yury Zhelnov
  0 siblings, 0 replies; 4+ messages in thread
From: Yury Zhelnov @ 2003-11-28 12:24 UTC (permalink / raw)
  To: community

Slava Dubrovskiy пишет:

>> relay_domains = localhost
>> mynetworks = 127.0.0.1/32
> Может здесь ошибка? Эта строчка означает, что разрешено только узлу с 
> адресом 127.0.0.1. Поставь 127.0.0.1/24.
Верно, а остальные с 192.168.1.0/24 пусть авторизуются...

-- 
Юрий.
ICQ: 29689525
JID: zyl@jabber.ru
E-mail: yura@mail.saratov.ru



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

end of thread, other threads:[~2003-11-28 12:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-28 11:11 [Comm] postfix-smtpd-sasl Yury Zhelnov
2003-11-28 11:26 ` Slava Dubrovskiy
2003-11-28 12:24   ` Yury Zhelnov
2003-11-28 11:44 ` Alexei Takaseev

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