On 12/19/10 17:34, Victor Sudakov wrote:
> ÷ÏÔ ÔÁË ÂÕÄÅÔ ÒÁÂÏÔÁÔØ?
> acl_check_mail:
> accept authenticated = *
> accept hosts = +relay_from_hosts : +trusted_mx
> deny message = You must authenticate first
> condition = ${if eq {$received_port} {587}}
> condition = ${if !def:authenticated_id}
> deny message = $sender_host_address is not allowed to send mail from
> $sender_address_domain
> spf = fail
> accept
îÕ Ñ ÂÙ ×Ó£-ÔÁËÉ "accept authenticated = *" ÐÏÎÉÖÅ ÐÏÓÔÁ×ÉÌ :-)
ðÒÉÞ£Í, ÐÅÒÅÄ ÎÉÍ ×ÓÔÒÅÍÉÌ ÂÙ ÅÝ£ É ÎÅÞÔÏ ÐÏÄÏÂÎÏÅ:
defer authenticated = *
ratelimit = 100 / 1d / strict / $authenticated_id
message = \
$authenticated_id may not send more then 100 messages per day
log_message = RATE_LIMIT $authenticated_id
ðÒÁ×ÄÁ, ÏÎÏ ÎÅ ×ÓÅÇÄÁ ÐÒÉÍÅÎÉÍÏ.