Re: [exim] Rate limit

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Sujit Acharyya-choudhury
日付:  
To: exim-users@exim.org
題目: Re: [exim] Rate limit
My brain has frozen. Just to get an idea of the mail delivery rate, this is the ACL, I have put in, but I am not getting anything logged. Any idea where I am going wrong?
######################################################################
#                       ACL CONFIGURATION                            #
#         Specifies access control lists for incoming SMTP mail      #
######################################################################

begin acl


acl_check_rcpt:

  # Accept if the source is local SMTP (i.e. not over TCP/IP). We do this by
  # testing for an empty sending host field.

  accept  hosts = :

  

  deny    message       = Restricted characters in address
          domains       = +local_domains
          local_parts   = ^[.] : ^.*[@%!/|]

  deny    message       = Restricted characters in address
          domains       = !+local_domains
          local_parts   = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
 

  # Accept mail to postmaster in any local domain, regardless of the source,
  # and without verifying the sender.

  accept  local_parts   = postmaster
          domains       = +local_domains

  
 

  accept  hosts         = +relay_from_hosts
          control       = submission


  accept  authenticated = *
          control       = submission


deny    message       = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
          dnslists      = sbl.dnsbl.ja.net:xbl.dnsbl.ja.net


 accept


acl_check_connect:
#Log all senders' rate
warn ratelimit = 0 / 5m / strict
        log_message = SENDER RATE: $sender_rate/$sender_rate_period