Hi! On Wed, Dec 17, 2003 at 17:10 +0600, Victor Sudakov wrote:
Valentin Nechayev wrote:
и на бэкапных MX'ах к таким как ты стоят тысячные очереди отбоев. Понимаешь теперь чем опасны системы apache@some.kewl.hosting.dot.com не берущие почту назад ?
А нет ли в природе демона, который слушал бы на SMTP порту и отвечал всегда 5xx ? Оснастить бы хостинги таким. На *.com в verisign одно время стоял подобный.
Зачем демон? В inetd вызывать скрипт из одной команды: echo "521 This server doesn't accept mail"
А точно такое допустимо и будет правильно понято - давать 5xx сразу после коннекта? Без greeting message, helo и проч. формальностей.
Кажется недопустимо. В greeting всегда дожен быть домен. то есть правильно будет: "521 my.do.main This server doesn't accept mail" ;) http://www.ietf.org/rfc/rfc2821.txt: 3.1 Session Initiation ... The SMTP protocol allows a server to formally reject a transaction while still allowing the initial connection as follows: a 554 response MAY be given in the initial connection opening message instead of the 220. A server taking this approach MUST still wait for the client to send a QUIT (see section 4.1.1.10) before closing the connection and SHOULD respond to any intervening commands with "503 bad sequence of commands". Since an attempt to make an SMTP connection to such a system is probably in error, a server returning a 554 response on connection opening SHOULD provide enough information in the reply text to facilitate debugging of the sending system. 4.3.1 ... Note: all the greeting-type replies have the official name (the fully-qualified primary domain name) of the server host as the first word following the reply code. Sometimes the host will have no meaningful name. See 4.1.3 for a discussion of alternatives in these situations. =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message