* [Comm] Как правильно потребовать авторизоваться по SMTP
@ 2005-10-31 17:37 Eugene Prokopiev
0 siblings, 0 replies; only message in thread
From: Eugene Prokopiev @ 2005-10-31 17:37 UTC (permalink / raw)
To: ALT Linux Community
Здравствуйте!
В документации постфикса рекомендуют писать так:
smtpd_recipient_restrictions =
permit_mynetworks, permit_sasl_authenticated, ...
Это работает, но пользователь, не пожелавший авторизоваться, получает:
$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain1.com ESMTP Postfix
ehlo user1.domain1.com
250-athlon.ewsd.donpac.ru
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-AUTH PLAIN
250 8BITMIME
mail from: user1@domain1.com
250 Ok
rcpt to: user2@domain2.com
554 <user2@domain2.com>: Recipient address rejected: Access denied
А хотелось бы увидеть нечто вроде (так сделано на соседнем сендмайле):
550 5.7.1 user2@domain2.com... Relaying denied. Proper authentication
required.
Как?
--
С уважением, Прокопьев Евгений
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-31 17:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-31 17:37 [Comm] Как правильно потребовать авторизоваться по SMTP Eugene Prokopiev
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