|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Safronov Alexander 2:5020/175.2 22 May 2002 17:08:14 To : Spartak Radchenko Subject : Re: sendmail недопонятки -------------------------------------------------------------------------------- Wed May 22 2002 15:48, Spartak Radchenko wrote to "Rashid N. Achilov": SR> From: Spartak Radchenko <spartak@aif.ru> SR> Rashid N. Achilov <shelton@sentry.granch.ru> wrote: >>> >>> Во входящей почте в заголовке To: undisclosed-recipients:; , ,будет ли >>> работать данная конструкция в access >>> >>> cat access >>> To: undisclosed-recipients:; REJECT RNA>> RNA>> Это зависит от того, когда сендмыл добавляет undisclosed-recipients - RNA>> до или после проверки по access table. Точно не скажу. SR> Разве To из заголовков (и From тоже) проверяются по access table? If the required item is looked up in a map, it will be tried first with the corresponding tag in front, then (as fallback to enable backward compatibility) without any tag. For example, From:spammer@some.dom REJECT To:friend.domain RELAY Connect:friend.domain OK Connect:from.domain RELAY From:good@another.dom OK From:another.dom REJECT This would deny mails from spammer@some.dom but you could still send mail to that address even if FEATURE(`blacklist_recipients') is enabled. Your system will allow relaying to friend.domain, but not from it (unless enabled by other means). Connections from that domain will be allowed even if it ends up in one of the DNS based rejection lists. Relaying is enabled from from.domain but not to it (since relaying is based on the connection information for outgoing relaying, the tag Connect: must be used; for incoming relaying, which is based on the recipient address, To: must be used). The last two entries allow mails from good@another.dom but reject mail from all other addresses with another.dom as domain part. С уважением, Alex SR> Вот envelope проверяется. SR> -- --- ifmail v.2.15dev5 * Origin: FidoNet Online - http://www.fido-online.com (2:5020/175.2) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/33003ae60fba.html, оценка из 5, голосов 10
|